32 #define WLAN_HOSTIF WLAN_PLX 52 unsigned char *cis_tpl =
NULL;
53 unsigned char *cis_string;
64 printf (
"PLX9052 has local config registers at %#x\n", plx_lcr );
65 printf (
"Prism2 has attribute memory at %#x and I/O base at %#x\n", attr_mem, iobase );
68 printf (
"Searching for PCMCIA card...\n" );
76 while ( ! ( ( *cis_string == 0 ) && ( *(cis_string+
CIS_STEP) == 0 ) ) ) {
77 printf (
"%c", *cis_string == 0 ?
' ' : *cis_string );
86 printf (
"...nothing found\n" );
107 PCI_ROM(0x10b7, 0x7770,
"3c-airconnect",
"3Com AirConnect", 0),
108 PCI_ROM(0x111a, 0x1023,
"ss1023",
"Siemens SpeedStream SS1023", 0),
109 PCI_ROM(0x126c, 0x8030,
"emobility",
"Nortel emobility", 0),
110 PCI_ROM(0x1385, 0x4100,
"ma301",
"Netgear MA301", 0),
111 PCI_ROM(0x15e8, 0x0130,
"correga",
"Correga", 0),
112 PCI_ROM(0x1638, 0x1100,
"smc2602w",
"SMC EZConnect SMC2602W", 0),
113 PCI_ROM(0x16ab, 0x1100,
"gl24110p",
"Global Sun Tech GL24110P", 0),
114 PCI_ROM(0x16ab, 0x1101,
"16ab-1101",
"Unknown", 0),
115 PCI_ROM(0x16ab, 0x1102,
"wdt11",
"Linksys WDT11", 0),
116 PCI_ROM(0x16ec, 0x3685,
"usr2415",
"USR 2415", 0),
117 PCI_ROM(0xec80, 0xec00,
"f5d6000",
"Belkin F5D6000", 0),
PCI_DRIVER(prism2_plx_driver, prism2_plx_nics, PCI_NO_CLASS)
int printf(const char *fmt,...)
Write a formatted string to the console.
#define CISTPL_HEADER_LEN
#define PRISM2_PLX_ATTR_MEM_BASE
static __always_inline void * bus_to_virt(unsigned long bus_addr)
Convert bus address to a virtual address.
#define PCI_BASE_ADDRESS_IO_MASK
I/O BAR mask.
FILE_LICENCE(GPL2_OR_LATER)
#define CISTPL_VERS_1_STR_OFF
int pci_read_config_dword(struct pci_device *pci, unsigned int where, uint32_t *value)
Read 32-bit dword from PCI configuration space.
static hfa384x_t hw_global
static void prism2_disable(struct nic *nic __unused)
static int prism2_find_plx(hfa384x_t *hw, struct pci_device *p)
static void prism2_plx_disable(struct nic *nic)
DRIVER("Prism2/PLX", nic_driver, pci_driver, prism2_plx_driver, prism2_plx_probe, prism2_plx_disable)
A PCI device ID list entry.
static int prism2_probe(struct nic *nic, hfa384x_t *hw)
static int prism2_plx_probe(struct nic *nic, struct pci_device *pci)
#define PRISM2_PLX_IO_BASE
static struct pci_device_id prism2_plx_nics[]
#define NULL
NULL pointer (VOID *)
#define PCI_ROM(_vendor, _device, _name, _description, _data)
#define PLX_LOCAL_CONFIG_REGISTER_BASE