#include <gpxe/pci.h>#include <nic.h>#include "prism2.c"Go to the source code of this file.
Defines | |
| #define | WLAN_HOSTIF WLAN_PCI |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| static int | prism2_pci_probe (struct nic *nic, struct pci_device *pci) |
| static void | prism2_pci_disable (struct nic *nic) |
| PCI_DRIVER (prism2_pci_driver, prism2_pci_nics, PCI_NO_CLASS) | |
| DRIVER ("Prism2/PCI", nic_driver, pci_driver, prism2_pci_driver, prism2_pci_probe, prism2_pci_disable) | |
Variables | |
| static struct pci_device_id | prism2_pci_nics [] |
| #define WLAN_HOSTIF WLAN_PCI |
Definition at line 22 of file prism2_pci.c.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| static int prism2_pci_probe | ( | struct nic * | nic, | |
| struct pci_device * | pci | |||
| ) | [static] |
Definition at line 25 of file prism2_pci.c.
References hw_global, nic::ioaddr, ioremap(), nic::irqno, hfa384x::membase, pci_device::membase, printf(), and prism2_probe().
00025 { 00026 hfa384x_t *hw = &hw_global; 00027 00028 printf ( "Prism2.5 has registers at %#lx\n", pci->membase ); 00029 hw->membase = ioremap ( pci->membase, 0x100 ); 00030 00031 nic->ioaddr = pci->membase; 00032 nic->irqno = 0; 00033 00034 return prism2_probe ( nic, hw ); 00035 }
| static void prism2_pci_disable | ( | struct nic * | nic | ) | [static] |
Definition at line 37 of file prism2_pci.c.
References prism2_disable().
00037 { 00038 prism2_disable ( nic ); 00039 }
| PCI_DRIVER | ( | prism2_pci_driver | , | |
| prism2_pci_nics | , | |||
| PCI_NO_CLASS | ||||
| ) |
| DRIVER | ( | "Prism2/PCI" | , | |
| nic_driver | , | |||
| pci_driver | , | |||
| prism2_pci_driver | , | |||
| prism2_pci_probe | , | |||
| prism2_pci_disable | ||||
| ) |
struct pci_device_id prism2_pci_nics[] [static] |
Initial value:
{
PCI_ROM(0x1260, 0x3873, "prism2_pci", "Harris Semiconductor Prism2.5 clone", 0),
PCI_ROM(0x1260, 0x3873, "hwp01170", "ActionTec HWP01170", 0),
PCI_ROM(0x1260, 0x3873, "dwl520", "DLink DWL-520", 0),
}
Definition at line 41 of file prism2_pci.c.
1.5.7.1