#include <ipxe/pci.h>
#include <nic.h>
#include "prism2.c"
Go to the source code of this file.
◆ WLAN_HOSTIF
◆ FILE_LICENCE()
FILE_LICENCE |
( |
GPL2_OR_LATER |
| ) |
|
◆ prism2_find_plx()
Definition at line 46 of file prism2_plx.c.
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" );
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.
#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.
#define PRISM2_PLX_IO_BASE
#define NULL
NULL pointer (VOID *)
#define PLX_LOCAL_CONFIG_REGISTER_BASE
References bus_to_virt(), CIS_STEP, CISTPL_END, CISTPL_HEADER_LEN, CISTPL_LEN_OFF, CISTPL_VERS_1, CISTPL_VERS_1_STR_OFF, COR_OFFSET, COR_VALUE, NULL, PCI_BASE_ADDRESS_IO_MASK, pci_read_config_dword(), PLX_LOCAL_CONFIG_REGISTER_BASE, printf(), PRISM2_PLX_ATTR_MEM_BASE, and PRISM2_PLX_IO_BASE.
Referenced by prism2_plx_probe().
◆ prism2_plx_probe()
static int prism2_plx_probe |
( |
struct nic * |
nic, |
|
|
struct pci_device * |
pci |
|
) |
| |
|
static |
◆ prism2_plx_disable()
static void prism2_plx_disable |
( |
struct nic * |
nic | ) |
|
|
static |
◆ PCI_DRIVER()
◆ DRIVER()
◆ prism2_plx_nics
Initial value:= {
PCI_ROM(0x10b7, 0x7770,
"3c-airconnect",
"3Com AirConnect", 0),
PCI_ROM(0x111a, 0x1023,
"ss1023",
"Siemens SpeedStream SS1023", 0),
PCI_ROM(0x126c, 0x8030,
"emobility",
"Nortel emobility", 0),
PCI_ROM(0x1385, 0x4100,
"ma301",
"Netgear MA301", 0),
PCI_ROM(0x15e8, 0x0130,
"correga",
"Correga", 0),
PCI_ROM(0x1638, 0x1100,
"smc2602w",
"SMC EZConnect SMC2602W", 0),
PCI_ROM(0x16ab, 0x1100,
"gl24110p",
"Global Sun Tech GL24110P", 0),
PCI_ROM(0x16ab, 0x1101,
"16ab-1101",
"Unknown", 0),
PCI_ROM(0x16ab, 0x1102,
"wdt11",
"Linksys WDT11", 0),
PCI_ROM(0x16ec, 0x3685,
"usr2415",
"USR 2415", 0),
PCI_ROM(0xec80, 0xec00,
"f5d6000",
"Belkin F5D6000", 0),
}
#define PCI_ROM(_vendor, _device, _name, _description, _data)
Definition at line 106 of file prism2_plx.c.