#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/parport.h>
#include <linux/input.h>
#include <linux/mutex.h>
#include <linux/slab.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Vojtech Pavlik <[email protected]>") |
|
| MODULE_DESCRIPTION ("Atari, Amstrad, Commodore, Amiga, Sega, etc. joystick driver") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param_array_named (dev, db9_cfg[0].args, int,&db9_cfg[0].nargs, 0) |
|
| MODULE_PARM_DESC (dev,"Describes first attached device (<parport#>,<type>)") |
|
| module_param_array_named (dev2, db9_cfg[1].args, int,&db9_cfg[1].nargs, 0) |
|
| MODULE_PARM_DESC (dev2,"Describes second attached device (<parport#>,<type>)") |
|
| module_param_array_named (dev3, db9_cfg[2].args, int,&db9_cfg[2].nargs, 0) |
|
| MODULE_PARM_DESC (dev3,"Describes third attached device (<parport#>,<type>)") |
|
| module_init (db9_init) |
|
| module_exit (db9_exit) |
|
Definition at line 61 of file db9.c.
#define DB9_ARG_PARPORT 0 |
Definition at line 60 of file db9.c.
#define DB9_CD32_PAD 0x0A |
Definition at line 71 of file db9.c.
Definition at line 77 of file db9.c.
Definition at line 80 of file db9.c.
Definition at line 81 of file db9.c.
Definition at line 82 of file db9.c.
Definition at line 83 of file db9.c.
#define DB9_GENESIS5_PAD 0x05 |
Definition at line 66 of file db9.c.
#define DB9_GENESIS6_DELAY 14 |
Definition at line 88 of file db9.c.
#define DB9_GENESIS6_PAD 0x06 |
Definition at line 67 of file db9.c.
#define DB9_GENESIS_PAD 0x03 |
Definition at line 65 of file db9.c.
Definition at line 78 of file db9.c.
#define DB9_MAX_DEVICES 2 |
Definition at line 91 of file db9.c.
Definition at line 74 of file db9.c.
Definition at line 50 of file db9.c.
#define DB9_MULTI2_STICK 0x02 |
Definition at line 64 of file db9.c.
#define DB9_MULTI_0802 0x08 |
Definition at line 69 of file db9.c.
#define DB9_MULTI_0802_2 0x09 |
Definition at line 70 of file db9.c.
#define DB9_MULTI_STICK 0x01 |
Definition at line 63 of file db9.c.
Definition at line 85 of file db9.c.
#define DB9_NOSELECT 0x08 |
Definition at line 86 of file db9.c.
#define DB9_REFRESH_TIME HZ/100 |
Definition at line 89 of file db9.c.
Definition at line 79 of file db9.c.
#define DB9_SATURN_DELAY 300 |
#define DB9_SATURN_DPP 0x0B |
Definition at line 72 of file db9.c.
#define DB9_SATURN_DPP_2 0x0C |
Definition at line 73 of file db9.c.
#define DB9_SATURN_PAD 0x07 |
Definition at line 68 of file db9.c.
Definition at line 76 of file db9.c.
MODULE_DESCRIPTION |
( |
" |
Atari, |
|
|
Amstrad |
, |
|
|
Commodore |
, |
|
|
Amiga |
, |
|
|
Sega |
, |
|
|
etc.joystick driver" |
|
|
) |
| |
module_param_array_named |
( |
dev |
, |
|
|
db9_cfg. |
args[0], |
|
|
int |
, |
|
|
&db9_cfg. |
nargs[0], |
|
|
0 |
|
|
) |
| |
module_param_array_named |
( |
dev2 |
, |
|
|
db9_cfg. |
args[1], |
|
|
int |
, |
|
|
&db9_cfg. |
nargs[1], |
|
|
0 |
|
|
) |
| |
module_param_array_named |
( |
dev3 |
, |
|
|
db9_cfg. |
args[2], |
|
|
int |
, |
|
|
&db9_cfg. |
nargs[2], |
|
|
0 |
|
|
) |
| |