#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <asm/io.h>
#include "hostap_wlan.h"
#include "hostap_hw.c"
Go to the source code of this file.
|
| #define | PRISM2_PLX |
| |
| #define | PLX_MIN_ATTR_LEN 512 /* at least 2 x 256 is needed for CIS */ |
| |
| #define | COR_SRESET 0x80 |
| |
| #define | COR_LEVLREQ 0x40 |
| |
| #define | COR_ENABLE_FUNC 0x01 |
| |
| #define | PLX_PCIIPR 0x3d /* PCI Interrupt Pin */ |
| |
| #define | PLX_INTCSR 0x4c /* Interrupt Control/Status Register */ |
| |
| #define | PLX_INTCSR_PCI_INTEN BIT(6) /* PCI Interrupt Enable */ |
| |
| #define | PLX_CNTRL 0x50 |
| |
| #define | PLX_CNTRL_SERIAL_EEPROM_PRESENT BIT(28) |
| |
| #define | PLXDEV(vendor, dev, str) { vendor, dev, PCI_ANY_ID, PCI_ANY_ID } |
| |
| #define | HFA384X_OUTB(v, a) outb((v), dev->base_addr + (a)) |
| |
| #define | HFA384X_INB(a) inb(dev->base_addr + (a)) |
| |
| #define | HFA384X_OUTW(v, a) outw((v), dev->base_addr + (a)) |
| |
| #define | HFA384X_INW(a) inw(dev->base_addr + (a)) |
| |
| #define | HFA384X_INSW(a, buf, wc) insw(dev->base_addr + (a), buf, wc) |
| |
| #define | HFA384X_OUTSW(a, buf, wc) outsw(dev->base_addr + (a), buf, wc) |
| |
| #define | CISTPL_CONFIG 0x1A |
| |
| #define | CISTPL_MANFID 0x20 |
| |
| #define | CISTPL_END 0xFF |
| |
| #define | CIS_MAX_LEN 256 |
| |
| #define CISTPL_CONFIG 0x1A |
| #define CISTPL_MANFID 0x20 |
| #define COR_ENABLE_FUNC 0x01 |
| #define HFA384X_INB |
( |
|
a | ) |
inb(dev->base_addr + (a)) |
| #define HFA384X_INW |
( |
|
a | ) |
inw(dev->base_addr + (a)) |
| #define HFA384X_OUTB |
( |
|
v, |
|
|
|
a |
|
) |
| outb((v), dev->base_addr + (a)) |
| #define HFA384X_OUTW |
( |
|
v, |
|
|
|
a |
|
) |
| outw((v), dev->base_addr + (a)) |
| #define PLX_CNTRL_SERIAL_EEPROM_PRESENT BIT(28) |
| #define PLX_INTCSR 0x4c /* Interrupt Control/Status Register */ |
| #define PLX_INTCSR_PCI_INTEN BIT(6) /* PCI Interrupt Enable */ |
| #define PLX_MIN_ATTR_LEN 512 /* at least 2 x 256 is needed for CIS */ |
| #define PLX_PCIIPR 0x3d /* PCI Interrupt Pin */ |
| MODULE_AUTHOR |
( |
"Jouni Malinen" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"Support for Intersil Prism2-based 802.11 wireless LAN ""cards (PLX)." |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
prism2_plx_id_table |
|
|
) |
| |
| module_param |
( |
ignore_cis |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
ignore_cis |
, |
|
|
"Do not verify manfid information in CIS" |
|
|
) |
| |
| module_pci_driver |
( |
prism2_plx_driver |
| ) |
|
| MODULE_SUPPORTED_DEVICE |
( |
"Intersil Prism2-based WLAN cards (PLX)" |
| ) |
|