89 for (i = 0; i < 31; i++)
142 register unsigned int len;
204 register short rx_fifo;
235 if ( ! retrieve )
return 1;
275 unsigned short type = 0;
350 if ( ( prod_id & prod_id_mask ) != prod_id_check ) {
351 printf (
"EEPROM Product ID is incorrect (%hx & %hx != %hx)\n",
352 prod_id, prod_id_mask, prod_id_check );
367 printf(
"10baseT not present\n");
375 printf(
"10base5 not present\n");
384 printf(
"10base2 not present\n");
389 printf(
"unknown connector\n");
397 for (i = 0; i <
ETH_ALEN / 2; i++) {
#define SET_TX_START_THRESH
#define EP_W0_RESOURCE_CFG
#define EP_W0_EEPROM_DATA
#define EP_W0_ADDRESS_CFG
#define EP_W0_EEPROM_COMMAND
#define TXS_STATUS_OVERFLOW
#define EP_W1_TX_PIO_WR_1
#define S_COMMAND_IN_PROGRESS
#define TXS_MAX_COLLISION
#define EP_W0_CONFIG_CTRL
#define is_eeprom_busy(b)
#define EP_W1_RX_PIO_RD_1
#define RX_DISCARD_TOP_PACK
#define SET_RX_EARLY_THRESH
#define START_TRANSCEIVER
static void t509_reset(struct nic *nic)
static enum @204357277152330206202240171322066215216352015347 connector
static void t509_enable(struct nic *nic)
void t5x9_disable(struct nic *nic)
static void t509_irq(struct nic *nic __unused, irq_action_t action __unused)
static int get_e(uint16_t ioaddr, int offset)
static int t509_poll(struct nic *nic, int retrieve)
int t5x9_probe(struct nic *nic, uint16_t prod_id_check, uint16_t prod_id_mask)
static void t509_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p)
static struct nic_operations t509_operations
uint16_t offset
Offset to command line.
static unsigned long ioaddr
uint32_t type
Operating system type.
const char * eth_ntoa(const void *ll_addr)
Transcribe Ethernet address.
#define __unused
Declare a variable or data structure as unused.
#define DBG(...)
Print a debugging message.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define outb(data, io_addr)
#define outw(data, io_addr)
#define insw(io_addr, data, count)
#define outsw(io_addr, data, count)
int dummy_connect(struct nic *nic __unused)
unsigned char * node_addr
struct nic_operations * nic_op
void mdelay(unsigned long msecs)
Delay for a fixed number of milliseconds.
void udelay(unsigned long usecs)
Delay for a fixed number of microseconds.
int printf(const char *fmt,...)
Write a formatted string to the console.