Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
if_usb.c File Reference
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/firmware.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/olpc-ec.h>
#include "host.h"
#include "decl.h"
#include "defs.h"
#include "dev.h"
#include "cmd.h"
#include "if_usb.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DRV_NAME   "usb8xxx"
 
#define INSANEDEBUG   0
 
#define lbs_deb_usb2(...)   do { if (INSANEDEBUG) lbs_deb_usbd(__VA_ARGS__); } while (0)
 
#define MESSAGE_HEADER_LEN   4
 
#define MRVDRV_MIN_PKT_LEN   30
 
#define if_usb_suspend   NULL
 
#define if_usb_resume   NULL
 

Enumerations

enum  { MODEL_UNKNOWN = 0x0, MODEL_8388 = 0x1, MODEL_8682 = 0x2 }
 

Functions

 MODULE_FIRMWARE ("libertas/usb8388_v9.bin")
 
 MODULE_FIRMWARE ("libertas/usb8388_v5.bin")
 
 MODULE_FIRMWARE ("libertas/usb8388.bin")
 
 MODULE_FIRMWARE ("libertas/usb8682.bin")
 
 MODULE_FIRMWARE ("usb8388.bin")
 
 MODULE_DEVICE_TABLE (usb, if_usb_table)
 
 module_usb_driver (if_usb_driver)
 
 MODULE_DESCRIPTION ("8388 USB WLAN Driver")
 
 MODULE_AUTHOR ("Marvell International Ltd. and Red Hat, Inc.")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRV_NAME   "usb8xxx"

Definition at line 19 of file if_usb.c.

#define if_usb_resume   NULL

Definition at line 1003 of file if_usb.c.

#define if_usb_suspend   NULL

Definition at line 1002 of file if_usb.c.

#define INSANEDEBUG   0

Definition at line 28 of file if_usb.c.

#define lbs_deb_usb2 (   ...)    do { if (INSANEDEBUG) lbs_deb_usbd(__VA_ARGS__); } while (0)

Definition at line 29 of file if_usb.c.

#define MESSAGE_HEADER_LEN   4

Definition at line 31 of file if_usb.c.

#define MRVDRV_MIN_PKT_LEN   30

Definition at line 603 of file if_usb.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 5 of file if_usb.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
MODEL_UNKNOWN 
MODEL_8388 
MODEL_8682 

Definition at line 39 of file if_usb.c.

Function Documentation

MODULE_AUTHOR ( "Marvell International Ltd. and Red  Hat,
Inc."   
)
MODULE_DESCRIPTION ( "8388 USB WLAN Driver"  )
MODULE_DEVICE_TABLE ( usb  ,
if_usb_table   
)
MODULE_FIRMWARE ( "libertas/usb8388_v9.bin"  )
MODULE_FIRMWARE ( "libertas/usb8388_v5.bin"  )
MODULE_FIRMWARE ( "libertas/usb8388.bin"  )
MODULE_FIRMWARE ( "libertas/usb8682.bin"  )
MODULE_FIRMWARE ( "usb8388.bin"  )
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( if_usb_driver  )