#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <asm/io.h>
#include <asm/irq.h>
Go to the source code of this file.
#define INPORT_BASE 0x23c |
#define INPORT_MODE_BASE 0x10 |
#define INPORT_MODE_HOLD 0x20 |
#define INPORT_MODE_IRQ 0x01 |
#define INPORT_NAME "Microsoft InPort Mouse" |
#define INPORT_REG_BTNS 0x00 |
#define INPORT_REG_MODE 0x07 |
#define INPORT_REG_X 0x01 |
#define INPORT_REG_Y 0x02 |
#define INPORT_RESET 0x80 |
#define INPORT_VENDOR 0x0001 |
MODULE_DESCRIPTION |
( |
"Inport (ATI XL and Microsoft) busmouse driver" |
| ) |
|
module_exit |
( |
inport_exit |
| ) |
|
module_init |
( |
inport_init |
| ) |
|
module_param_named |
( |
irq |
, |
|
|
inport_irq |
, |
|
|
uint |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
irq |
, |
|
|
"IRQ number (5=default)" |
|
|
) |
| |