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" );
107PCI_ROM(0x10b7, 0x7770,
"3c-airconnect",
"3Com AirConnect", 0),
108PCI_ROM(0x111a, 0x1023,
"ss1023",
"Siemens SpeedStream SS1023", 0),
109PCI_ROM(0x126c, 0x8030,
"emobility",
"Nortel emobility", 0),
110PCI_ROM(0x1385, 0x4100,
"ma301",
"Netgear MA301", 0),
111PCI_ROM(0x15e8, 0x0130,
"correga",
"Correga", 0),
112PCI_ROM(0x1638, 0x1100,
"smc2602w",
"SMC EZConnect SMC2602W", 0),
113PCI_ROM(0x16ab, 0x1100,
"gl24110p",
"Global Sun Tech GL24110P", 0),
114PCI_ROM(0x16ab, 0x1101,
"16ab-1101",
"Unknown", 0),
115PCI_ROM(0x16ab, 0x1102,
"wdt11",
"Linksys WDT11", 0),
116PCI_ROM(0x16ec, 0x3685,
"usr2415",
"USR 2415", 0),
117PCI_ROM(0xec80, 0xec00,
"f5d6000",
"Belkin F5D6000", 0),
#define NULL
NULL pointer (VOID *)
#define __unused
Declare a variable or data structure as unused.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
static __always_inline void * bus_to_virt(unsigned long bus_addr)
Convert bus address to a virtual address.
int pci_read_config_dword(struct pci_device *pci, unsigned int where, uint32_t *value)
Read 32-bit dword from PCI configuration space.
#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)
#define PCI_BASE_ADDRESS_IO_MASK
I/O BAR mask.
#define CISTPL_HEADER_LEN
#define PLX_LOCAL_CONFIG_REGISTER_BASE
static int prism2_probe(struct nic *nic, hfa384x_t *hw)
static hfa384x_t hw_global
static void prism2_disable(struct nic *nic __unused)
#define PRISM2_PLX_ATTR_MEM_BASE
#define PRISM2_PLX_IO_BASE
#define CISTPL_VERS_1_STR_OFF
static struct pci_device_id prism2_plx_nics[]
static int prism2_find_plx(hfa384x_t *hw, struct pci_device *p)
static int prism2_plx_probe(struct nic *nic, struct pci_device *pci)
static void prism2_plx_disable(struct nic *nic, void *hwdev __unused)
A PCI device ID list entry.
int printf(const char *fmt,...)
Write a formatted string to the console.