#include <linux/module.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <asm/io.h>
#include <asm/irq.h>
Go to the source code of this file.
| #define LOGIBM_BASE 0x23c |
| #define LOGIBM_CONFIG_BYTE 0x91 |
| #define LOGIBM_DEFAULT_MODE 0x90 |
| #define LOGIBM_DISABLE_IRQ 0x10 |
| #define LOGIBM_ENABLE_IRQ 0x00 |
| #define LOGIBM_READ_X_HIGH 0xa0 |
| #define LOGIBM_READ_X_LOW 0x80 |
| #define LOGIBM_READ_Y_HIGH 0xe0 |
| #define LOGIBM_READ_Y_LOW 0xc0 |
| #define LOGIBM_SIGNATURE_BYTE 0xa5 |
| MODULE_DESCRIPTION |
( |
"Logitech busmouse driver" |
| ) |
|
| module_exit |
( |
logibm_exit |
| ) |
|
| module_init |
( |
logibm_init |
| ) |
|
| module_param_named |
( |
irq |
, |
|
|
logibm_irq |
, |
|
|
uint |
, |
|
|
0 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
irq |
, |
|
|
"IRQ number (5=default)" |
|
|
) |
| |