mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 02:40:27 +03:00
Symbol fixups
This commit is contained in:
@@ -393,24 +393,18 @@ struct ns83820_private {
|
||||
} nsx;
|
||||
static struct ns83820_private *ns;
|
||||
|
||||
/* Define the TX Descriptor */
|
||||
static struct ring_desc tx_ring[NR_TX_DESC]
|
||||
__attribute__ ((aligned(8)));
|
||||
|
||||
/* Create a static buffer of size REAL_RX_BUF_SIZE for each
|
||||
TX Descriptor. All descriptors point to a
|
||||
part of this buffer */
|
||||
static unsigned char txb[NR_TX_DESC * REAL_RX_BUF_SIZE];
|
||||
|
||||
/* Define the TX Descriptor */
|
||||
static struct ring_desc rx_ring[NR_RX_DESC]
|
||||
__attribute__ ((aligned(8)));
|
||||
|
||||
/* Create a static buffer of size REAL_RX_BUF_SIZE for each
|
||||
RX Descriptor All descriptors point to a
|
||||
part of this buffer */
|
||||
static unsigned char rxb[NR_RX_DESC * REAL_RX_BUF_SIZE]
|
||||
__attribute__ ((aligned(8)));
|
||||
/* Define the TX and RX Descriptor and Buffers */
|
||||
struct {
|
||||
struct ring_desc tx_ring[NR_TX_DESC] __attribute__ ((aligned(8)));
|
||||
unsigned char txb[NR_TX_DESC * REAL_RX_BUF_SIZE];
|
||||
struct ring_desc rx_ring[NR_RX_DESC] __attribute__ ((aligned(8)));
|
||||
unsigned char rxb[NR_RX_DESC * REAL_RX_BUF_SIZE]
|
||||
__attribute__ ((aligned(8)));
|
||||
} ns83820_bufs __shared;
|
||||
#define tx_ring ns83820_bufs.tx_ring
|
||||
#define rx_ring ns83820_bufs.rx_ring
|
||||
#define txb ns83820_bufs.txb
|
||||
#define rxb ns83820_bufs.rxb
|
||||
|
||||
static void phy_intr(struct nic *nic __unused)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user