Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wl3501_cs.c File Reference
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/fcntl.h>
#include <linux/if_arp.h>
#include <linux/ioport.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/wireless.h>
#include <linux/ieee80211.h>
#include <net/iw_handler.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/cisreg.h>
#include <pcmcia/ds.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include "wl3501.h"

Go to the source code of this file.

Macros

#define slow_down_io()
 
#define WL3501_NOPLOOP(n)   { int x = 0; while (x++ < n) slow_down_io(); }
 
#define wl3501_outb(a, b)   { outb(a, b); slow_down_io(); }
 
#define wl3501_outb_p(a, b)   { outb_p(a, b); slow_down_io(); }
 
#define wl3501_outsb(a, b, c)   { outsb(a, b, c); slow_down_io(); }
 
#define WL3501_RELEASE_TIMEOUT   (25 * HZ)
 
#define WL3501_MAX_ADHOC_TRIES   16
 
#define WL3501_RESUME   0
 
#define WL3501_SUSPEND   1
 

Functions

 MODULE_DEVICE_TABLE (pcmcia, wl3501_ids)
 
 module_init (wl3501_init_module)
 
 module_exit (wl3501_exit_module)
 
 MODULE_AUTHOR ("Fox Chen <[email protected]>, ""Arnaldo Carvalho de Melo <[email protected]>,""Gustavo Niemeyer <[email protected]>")
 
 MODULE_DESCRIPTION ("Planet wl3501 wireless driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define slow_down_io ( )

Definition at line 60 of file wl3501_cs.c.

#define WL3501_MAX_ADHOC_TRIES   16

Definition at line 73 of file wl3501_cs.c.

#define WL3501_NOPLOOP (   n)    { int x = 0; while (x++ < n) slow_down_io(); }

Definition at line 64 of file wl3501_cs.c.

#define wl3501_outb (   a,
  b 
)    { outb(a, b); slow_down_io(); }

Definition at line 68 of file wl3501_cs.c.

#define wl3501_outb_p (   a,
  b 
)    { outb_p(a, b); slow_down_io(); }

Definition at line 69 of file wl3501_cs.c.

#define wl3501_outsb (   a,
  b,
  c 
)    { outsb(a, b, c); slow_down_io(); }

Definition at line 70 of file wl3501_cs.c.

#define WL3501_RELEASE_TIMEOUT   (25 * HZ)

Definition at line 72 of file wl3501_cs.c.

#define WL3501_RESUME   0

Definition at line 75 of file wl3501_cs.c.

#define WL3501_SUSPEND   1

Definition at line 76 of file wl3501_cs.c.

Function Documentation

MODULE_AUTHOR ( "Fox Chen <[email protected] ,
""Arnaldo Carvalho de Melo< acme @conectiva.com.br >  ,
""Gustavo Niemeyer< niemeyer @conectiva.com >"   
)
MODULE_DESCRIPTION ( "Planet wl3501 wireless driver )
MODULE_DEVICE_TABLE ( pcmcia  ,
wl3501_ids   
)
module_exit ( wl3501_exit_module  )
module_init ( wl3501_init_module  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int deflt

Definition at line 83 of file wl3501_cs.c.

int max

Definition at line 83 of file wl3501_cs.c.

int min

Definition at line 83 of file wl3501_cs.c.

Definition at line 82 of file wl3501_cs.c.