Main Page | Data Structures | Directories | File List | Data Fields | Globals

if_ath_pci.c File Reference

#include "opt_ah.h"
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/if.h>
#include <linux/netdevice.h>
#include <linux/cache.h>
#include <linux/pci.h>
#include <asm/uaccess.h>
#include "if_athvar.h"
#include "if_ath_pci.h"
#include "release.h"
#include "version.h"
#include <linux/ethtool.h>

Include dependency graph for if_ath_pci.c:

Go to the source code of this file.

Functions

 module_param (ifname, charp, 0)
 MODULE_PARM_DESC (ifname,"Interface name prefix (default: ath)")
static int ath_pci_probe (struct pci_dev *pdev, const struct pci_device_id *id)
static void ath_pci_remove (struct pci_dev *pdev)
 MODULE_DEVICE_TABLE (pci, ath_pci_id_table)
int ath_ioctl_ethtool (struct ath_softc *sc, int cmd, void *addr)
 MODULE_AUTHOR ("Errno Consulting, Sam Leffler")
 MODULE_DESCRIPTION ("Support for Atheros 802.11 wireless LAN cards.")
 MODULE_SUPPORTED_DEVICE ("Atheros WLAN cards")
static int __init init_ath_pci (void)
 module_init (init_ath_pci)
static void __exit exit_ath_pci (void)
 module_exit (exit_ath_pci)
void bus_read_cachesize (struct ath_softc *sc, u_int8_t *csz)

Variables

static char * ifname = "ath"
static struct pci_device_id
ath_pci_id_table[] 
__devinitdata
static struct pci_driver ath_pci_drv_id
char * version = ATH_PCI_VERSION " " RELEASE_TYPE
char * dev_info = "ath_pci"


Function Documentation

int ath_ioctl_ethtool struct ath_softcsc,
int cmd,
void * addr
 

Definition at line 318 of file if_ath_pci.c.

References dev_info, and version.

Referenced by ath_ioctl().

static int ath_pci_probe struct pci_dev * pdev,
const struct pci_device_id * id
[static]
 

Definition at line 110 of file if_ath_pci.c.

References ath_pci_softc::aps_sc, ath_attach(), ath_hal_probe(), ath_intr(), ath_softc::dev, ath_softc::sc_bdev, ath_softc::sc_invalid, SET_MODULE_OWNER, and SET_NETDEV_DEV.

Here is the call graph for this function:

static void ath_pci_remove struct pci_dev * pdev  ) [static]
 

Definition at line 235 of file if_ath_pci.c.

References ath_detach().

Here is the call graph for this function:

void bus_read_cachesize struct ath_softcsc,
u_int8_tcsz
 

Definition at line 375 of file if_ath_pci.c.

Referenced by ath_attach().

static void __exit exit_ath_pci void  ) [static]
 

Definition at line 361 of file if_ath_pci.c.

References ath_pci_drv_id, and dev_info.

static int __init init_ath_pci void  ) [static]
 

Definition at line 344 of file if_ath_pci.c.

References ath_pci_drv_id, dev_info, and version.

MODULE_AUTHOR "Errno  Consulting,
Sam Leffler" 
 

MODULE_DESCRIPTION "Support for Atheros 802.11 wireless LAN cards."  ) 
 

MODULE_DEVICE_TABLE pci ,
ath_pci_id_table 
 

module_exit exit_ath_pci  ) 
 

module_init init_ath_pci  ) 
 

module_param ifname ,
charp ,
 

MODULE_PARM_DESC ifname ,
"Interface name prefix (default: ath)" 
 

MODULE_SUPPORTED_DEVICE "Atheros WLAN cards"  ) 
 


Variable Documentation

struct pci_device_id ath_pci_id_table [] __devinitdata [static]
 

Initial value:

 {
        { 0x168c, 0x0007, PCI_ANY_ID, PCI_ANY_ID },
        { 0x168c, 0x0012, PCI_ANY_ID, PCI_ANY_ID },
        { 0x168c, 0x0013, PCI_ANY_ID, PCI_ANY_ID },
        { 0xa727, 0x0013, PCI_ANY_ID, PCI_ANY_ID },     
        { 0x10b7, 0x0013, PCI_ANY_ID, PCI_ANY_ID },     
        { 0x168c, 0x1014, PCI_ANY_ID, PCI_ANY_ID },     
        { 0x168c, 0x0015, PCI_ANY_ID, PCI_ANY_ID },
        { 0x168c, 0x0016, PCI_ANY_ID, PCI_ANY_ID },
        { 0x168c, 0x0017, PCI_ANY_ID, PCI_ANY_ID },
        { 0x168c, 0x0018, PCI_ANY_ID, PCI_ANY_ID },
        { 0x168c, 0x0019, PCI_ANY_ID, PCI_ANY_ID },
        { 0x168c, 0x001a, PCI_ANY_ID, PCI_ANY_ID },
        { 0 }
}

Definition at line 93 of file if_ath_pci.c.

struct pci_driver ath_pci_drv_id [static]
 

Initial value:

 {
        .name           = "ath_pci",
        .id_table       = ath_pci_id_table,
        .probe          = ath_pci_probe,
        .remove         = ath_pci_remove,



 
        
}

Definition at line 294 of file if_ath_pci.c.

Referenced by exit_ath_pci(), and init_ath_pci().

char* dev_info = "ath_pci"
 

Definition at line 313 of file if_ath_pci.c.

Referenced by ath_ioctl_ethtool(), exit_ath_hal(), exit_ath_pci(), init_ath_hal(), init_ath_pci(), prism2_hw_init(), prism2_hw_init2(), prism2_hw_reset(), prism2_hw_shutdown(), and prism2_init_dev().

char* ifname = "ath" [static]
 

Definition at line 64 of file if_ath_pci.c.

char* version = ATH_PCI_VERSION " " RELEASE_TYPE
 

Definition at line 312 of file if_ath_pci.c.

Referenced by ath_ioctl_ethtool(), and init_ath_pci().


Generated on Mon Nov 21 16:02:25 2005 for openwifi by  doxygen 1.4.1