#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/workqueue.h>
#include "hostap_wext.h"
#include <linux/ioport.h>
#include <linux/pci.h>
#include "hostap_wlan.h"
#include "hostap_hw.c"
Include dependency graph for hostap_pci.c:
Go to the source code of this file.
Defines | |
#define | PRISM2_PCI |
#define | HFA384X_OUTB(v, a) writeb((v), dev->mem_start + (a)) |
#define | HFA384X_INB(a) (u8) readb(dev->mem_start + (a)) |
#define | HFA384X_OUTW(v, a) writew((v), dev->mem_start + (a)) |
#define | HFA384X_INW(a) (u16) readw(dev->mem_start + (a)) |
#define | HFA384X_OUTW_DATA(v, a) writew(cpu_to_le16(v), dev->mem_start + (a)) |
#define | HFA384X_INW_DATA(a) (u16) le16_to_cpu(readw(dev->mem_start + (a))) |
Functions | |
MODULE_AUTHOR ("SSH Communications Security Corp, Jouni Malinen") | |
MODULE_DESCRIPTION ("Support for Intersil Prism2.5-based 802.11 wireless LAN ""PCI cards.") | |
MODULE_SUPPORTED_DEVICE ("Intersil Prism2.5-based WLAN PCI cards") | |
MODULE_LICENSE ("GPL") | |
static int | hfa384x_from_bap (struct net_device *dev, u16 bap, void *buf, int len) |
static int | hfa384x_to_bap (struct net_device *dev, u16 bap, void *buf, int len) |
static void | prism2_pci_cor_sreset (local_info_t *local) |
static void | prism2_pci_genesis_reset (local_info_t *local, int hcr) |
static int | prism2_pci_probe (struct pci_dev *pdev, const struct pci_device_id *id) |
static void | prism2_pci_remove (struct pci_dev *pdev) |
MODULE_DEVICE_TABLE (pci, prism2_pci_id_table) | |
static int __init | init_prism2_pci (void) |
static void __exit | exit_prism2_pci (void) |
module_init (init_prism2_pci) | |
module_exit (exit_prism2_pci) | |
Variables | |
static char * | version = PRISM2_VERSION " (Jouni Malinen <jkmaline@cc.hut.fi>)" |
static char * | dev_info = "hostap_pci" |
static struct pci_device_id prism2_pci_id_table[] | __devinitdata |
static struct prism2_helper_functions | prism2_pci_funcs |
static struct pci_driver | prism2_pci_drv_id |
|
Definition at line 123 of file hostap_pci.c. |
|
Definition at line 125 of file hostap_pci.c. |
|
Definition at line 127 of file hostap_pci.c. Referenced by hfa384x_from_aux(), and hfa384x_from_bap(). |
|
Definition at line 122 of file hostap_pci.c. |
|
Definition at line 124 of file hostap_pci.c. |
|
Definition at line 126 of file hostap_pci.c. Referenced by hfa384x_to_aux(), and hfa384x_to_bap(). |
|
Definition at line 1 of file hostap_pci.c. |
|
Definition at line 425 of file hostap_pci.c. References dev_info, and prism2_pci_drv_id. |
|
Definition at line 132 of file hostap_pci.c. References HFA384X_INB, and HFA384X_INW_DATA. |
|
Definition at line 151 of file hostap_pci.c. References HFA384X_OUTB, and HFA384X_OUTW_DATA. |
|
Definition at line 410 of file hostap_pci.c. References dev_info, prism2_pci_drv_id, and version. |
|
|
|
|
|
|
|
|
Definition at line 172 of file hostap_pci.c. References HFA384X_CMD_BUSY, HFA384X_INW, and HFA384X_OUTW. Referenced by prism2_pci_probe(), and prism2_pci_remove(). |
|
Definition at line 213 of file hostap_pci.c. References HFA384X_OUTW. |
|
Definition at line 236 of file hostap_pci.c. References dev_info, prism2_free_local_data(), prism2_init_dev(), prism2_init_local_data(), prism2_pci_cor_sreset(), and prism2_pci_funcs. |
Here is the call graph for this function:
|
Definition at line 323 of file hostap_pci.c. References hfa384x_disable_interrupts(), prism2_free_local_data(), and prism2_pci_cor_sreset(). |
Here is the call graph for this function:
|
Initial value: { { 0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID }, { 0x1260, 0x3873, PCI_ANY_ID, PCI_ANY_ID }, { 0x167d, 0xa000, PCI_ANY_ID, PCI_ANY_ID }, { 0 } } Definition at line 48 of file hostap_pci.c. |
|
Definition at line 28 of file hostap_pci.c. Referenced by exit_prism2_pci(), init_prism2_pci(), and prism2_pci_probe(). |
|
Initial value: {
.name = "prism2_pci",
.id_table = prism2_pci_id_table,
.probe = prism2_pci_probe,
.remove = prism2_pci_remove,
}
Definition at line 396 of file hostap_pci.c. Referenced by exit_prism2_pci(), and init_prism2_pci(). |
|
Initial value: { .card_present = NULL, .cor_sreset = prism2_pci_cor_sreset, .dev_open = NULL, .dev_close = NULL, .genesis_reset = prism2_pci_genesis_reset, } Definition at line 226 of file hostap_pci.c. Referenced by prism2_pci_probe(). |
|
Definition at line 27 of file hostap_pci.c. Referenced by init_prism2_pci(). |