Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
s2250-loader.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <dvb-usb.h>

Go to the source code of this file.

Data Structures

struct  device_extension_s
 

Macros

#define S2250_LOADER_FIRMWARE   "s2250_loader.fw"
 
#define S2250_FIRMWARE   "s2250.fw"
 
#define USB_s2250loader_MAJOR   240
 
#define USB_s2250loader_MINOR_BASE   0
 
#define MAX_DEVICES   256
 
#define to_s2250loader_dev_common(d)   container_of(d, device_extension_t, kref)
 

Typedefs

typedef struct device_extension_s device_extension_t
 
typedef struct device_extension_spdevice_extension_t
 

Functions

 MODULE_DEVICE_TABLE (usb, s2250loader_ids)
 
 module_usb_driver (s2250loader_driver)
 
 MODULE_AUTHOR ("")
 
 MODULE_DESCRIPTION ("firmware loader for Sensoray 2250/2251")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_FIRMWARE (S2250_LOADER_FIRMWARE)
 
 MODULE_FIRMWARE (S2250_FIRMWARE)
 

Macro Definition Documentation

#define MAX_DEVICES   256

Definition at line 35 of file s2250-loader.c.

#define S2250_FIRMWARE   "s2250.fw"

Definition at line 25 of file s2250-loader.c.

#define S2250_LOADER_FIRMWARE   "s2250_loader.fw"

Definition at line 24 of file s2250-loader.c.

#define to_s2250loader_dev_common (   d)    container_of(d, device_extension_t, kref)

Definition at line 40 of file s2250-loader.c.

#define USB_s2250loader_MAJOR   240

Definition at line 33 of file s2250-loader.c.

#define USB_s2250loader_MINOR_BASE   0

Definition at line 34 of file s2250-loader.c.

Typedef Documentation

Function Documentation

MODULE_AUTHOR ( ""  )
MODULE_DESCRIPTION ( "firmware loader for Sensoray 2250/2251"  )
MODULE_DEVICE_TABLE ( usb  ,
s2250loader_ids   
)
MODULE_FIRMWARE ( S2250_LOADER_FIRMWARE  )
MODULE_FIRMWARE ( S2250_FIRMWARE  )
MODULE_LICENSE ( "GPL v2 )
module_usb_driver ( s2250loader_driver  )