12#define CU_CMD_TIMEOUT 1000
13#define LINK_CHECK_PERIOD 1000
15#define RFD_PACKET_LEN 1518
16#define RFD_IOB_LEN 1536
17#define RFD_HEADER_LEN 16
22#define RX_RING_BYTES ( RFD_COUNT * sizeof ( struct ifec_rfd ) )
23#define TX_RING_BYTES ( TCB_COUNT * sizeof ( struct ifec_tcb ) )
26#define EEPROM_ADDR_MAC_0 0
27#define EEPROM_ADDR_MDIO_REGISTER 6
89#define EE_SHIFT_CLK 0x01
91#define EE_DATA_WRITE 0x04
92#define EE_DATA_READ 0x08
93#define EE_ENB ( 0x4800 | EE_CS )
u32 link
Link to next descriptor.
static void ifec_reprime_ru(struct net_device *)
static int ifec_get_rx_desc(struct net_device *, int, int, int)
static void ifec_net_close(struct net_device *)
static int ifec_net_open(struct net_device *)
static void ifec_rx_process(struct net_device *)
static int ifec_rx_setup(struct net_device *)
static void ifec_free(struct net_device *)
static void ifec_tx_wake(struct net_device *)
static void ifec_init_eeprom(struct net_device *)
static void ifec_net_poll(struct net_device *)
static void ifec_refill_rx_ring(struct net_device *)
static void ifec_net_irq(struct net_device *, int enable)
static void ifec_rfd_init(struct ifec_rfd *rfd, s16 command, u32 link)
static int ifec_tx_setup(struct net_device *)
static void ifec_tx_process(struct net_device *)
static int ifec_mdio_read(struct net_device *, int phy, int location)
static int ifec_pci_probe(struct pci_device *pci)
static int ifec_mdio_write(struct net_device *, int phy, int loc, int val)
static int ifec_scb_cmd_wait(struct net_device *)
static void ifec_check_ru_status(struct net_device *, unsigned short)
static int ifec_net_transmit(struct net_device *, struct io_buffer *iobuf)
static void ifec_reset(struct net_device *)
static int ifec_scb_cmd(struct net_device *, u32 ptr, u8 cmd)
static void ifec_mdio_setup(struct net_device *, int options)
static void ifec_pci_remove(struct pci_device *pci)
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
struct ifec_tcb * tcb_head
unsigned short mdio_register
struct spi_bit_basher spi
struct io_buffer * tx_iobs[TCB_COUNT]
struct io_buffer * rx_iobs[RFD_COUNT]
struct ifec_tcb * tcb_tail
struct ifec_rfd * rfds[RFD_COUNT]
char packet[RFD_PACKET_LEN]