#include <linux/module.h>
#include <linux/etherdevice.h>
#include "usbatm.h"
Go to the source code of this file.
|
| XUSBATM_PARM (vendor, unsigned short, ushort,"USB device vendor") |
|
| XUSBATM_PARM (product, unsigned short, ushort,"USB device product") |
|
| XUSBATM_PARM (rx_endpoint, unsigned char, byte,"rx endpoint number") |
|
| XUSBATM_PARM (tx_endpoint, unsigned char, byte,"tx endpoint number") |
|
| XUSBATM_PARM (rx_padding, unsigned char, byte,"rx padding (default 0)") |
|
| XUSBATM_PARM (tx_padding, unsigned char, byte,"tx padding (default 0)") |
|
| XUSBATM_PARM (rx_altsetting, unsigned char, byte,"rx altsetting (default 0)") |
|
| XUSBATM_PARM (tx_altsetting, unsigned char, byte,"rx altsetting (default 0)") |
|
| module_init (xusbatm_init) |
|
| module_exit (xusbatm_exit) |
|
| MODULE_AUTHOR ("Roman Kagan, Duncan Sands") |
|
| MODULE_DESCRIPTION ("Driver for USB ADSL modems initialized in userspace") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION ("0.1") |
|
#define XUSBATM_DRIVERS_MAX 8 |
Value:
static
unsigned int num_##
name; \
module_param_array(name, parmtype, &num_##name, 0444); \
MODULE_PARM_DESC(name,
desc)
Definition at line 30 of file xusbatm.c.
MODULE_AUTHOR |
( |
"Roman |
Kagan, |
|
|
Duncan Sands" |
|
|
) |
| |
module_exit |
( |
xusbatm_exit |
| ) |
|
module_init |
( |
xusbatm_init |
| ) |
|
XUSBATM_PARM |
( |
rx_padding |
, |
|
|
unsigned |
char, |
|
|
byte |
, |
|
|
"rx padding (default 0)" |
|
|
) |
| |
XUSBATM_PARM |
( |
tx_padding |
, |
|
|
unsigned |
char, |
|
|
byte |
, |
|
|
"tx padding (default 0)" |
|
|
) |
| |
XUSBATM_PARM |
( |
rx_altsetting |
, |
|
|
unsigned |
char, |
|
|
byte |
, |
|
|
"rx altsetting (default 0)" |
|
|
) |
| |
XUSBATM_PARM |
( |
tx_altsetting |
, |
|
|
unsigned |
char, |
|
|
byte |
, |
|
|
"rx altsetting (default 0)" |
|
|
) |
| |