45#define CONNECTOR_UTP 0
47#define CONNECTOR_AUI 1
51#define CONNECTOR_BNC 3
57#define CONNECTOR_MII 6
121 for (i = 0; i < 31; i++)
236 register short rx_fifo;
267 if ( ! retrieve )
return 1;
308 unsigned short type = 0;
334 printf(
"3c595: eeprom is busy.\n");
382 printf(
": disable 'auto select' with DOS util!");
393 static signed char prev_conn = -1;
395 if (prev_conn == -1) {
404 warning =
"strange connector type in EEPROM.";
410 printf(
"warning: %s\n", warning);
501 for (i = 0; i < 3; i++) {
525PCI_ROM(0x10b7, 0x4500,
"3c450-1",
"3Com450 HomePNA Tornado", 0),
526PCI_ROM(0x10b7, 0x5900,
"3c590",
"3Com590", 0),
527PCI_ROM(0x10b7, 0x5950,
"3c595",
"3Com595", 0),
528PCI_ROM(0x10b7, 0x5951,
"3c595-1",
"3Com595", 0),
529PCI_ROM(0x10b7, 0x5952,
"3c595-2",
"3Com595", 0),
530PCI_ROM(0x10b7, 0x7646,
"3csoho100-tx-1",
"3CSOHO100-TX", 0),
531PCI_ROM(0x10b7, 0x9000,
"3c900-tpo",
"3Com900-TPO", 0),
532PCI_ROM(0x10b7, 0x9001,
"3c900-t4",
"3Com900-Combo", 0),
533PCI_ROM(0x10b7, 0x9004,
"3c900b-tpo",
"3Com900B-TPO", 0),
534PCI_ROM(0x10b7, 0x9005,
"3c900b-combo",
"3Com900B-Combo", 0),
535PCI_ROM(0x10b7, 0x9006,
"3c900b-tpb2",
"3Com900B-2/T", 0),
536PCI_ROM(0x10b7, 0x900a,
"3c900b-fl",
"3Com900B-FL", 0),
537PCI_ROM(0x10b7, 0x9800,
"3c980-cyclone-1",
"3Com980-Cyclone", 0),
538PCI_ROM(0x10b7, 0x9805,
"3c9805-1",
"3Com9805", 0),
#define TXS_STATUS_OVERFLOW
#define S_COMMAND_IN_PROGRESS
#define TXS_MAX_COLLISION
#define is_eeprom_busy(b)
#define RX_DISCARD_TOP_PACK
#define START_TRANSCEIVER
static struct pci_device_id t595_nics[]
static void t595_reset(struct nic *nic)
static struct nic_operations t595_operations
static void t595_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p)
static unsigned short eth_nic_base
static void vxgetlink(void)
static int get_e(int offset)
static int t595_probe(struct nic *nic, struct pci_device *pci)
static struct connector_entry conn_tab[VX_CONNECTORS]
static void t595_irq(struct nic *nic __unused, irq_action_t action __unused)
static int t595_poll(struct nic *nic, int retrieve)
static void vxsetlink(void)
static void t595_disable(struct nic *nic, void *hwdev __unused)
static unsigned short vx_connector
static unsigned short vx_connectors
#define INTERNAL_CONNECTOR_BITS
#define VX_W0_EEPROM_DATA
#define EEPROM_OEM_ADDR_0
#define VX_W1_TX_PIO_WR_1
#define VX_W0_EEPROM_COMMAND
#define VX_W3_INTERNAL_CFG
#define VX_W1_RX_PIO_RD_1
#define INTERNAL_CONNECTOR_MASK
#define NULL
NULL pointer (VOID *)
uint16_t offset
Offset to command line.
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.
uint16_t reason
Rejection reason.
static unsigned int unsigned int bit
#define outb(data, io_addr)
#define outw(data, io_addr)
#define insw(io_addr, data, count)
#define outl(data, io_addr)
#define outsw(io_addr, data, count)
int dummy_connect(struct nic *nic __unused)
static const uint32_t k[64]
MD5 constants.
#define DRIVER(_name_text, _unused2, _unused3, _name, _probe, _disable, _fake_bss)
#define PCI_DRIVER(_name, _ids, _class)
struct @002057171240057303273132130141036221271355330106 no_fake_bss
#define PCI_ROM(_vendor, _device, _name, _description, _data)
unsigned char * node_addr
struct nic_operations * nic_op
A PCI device ID list entry.
unsigned long ioaddr
I/O address.
void udelay(unsigned long usecs)
Delay for a fixed number of microseconds.
int printf(const char *fmt,...)
Write a formatted string to the console.