#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/input.h>
#include <linux/serio.h>
#include <linux/workqueue.h>
Go to the source code of this file.
| #define DRIVER_DESC "Sun keyboard driver" |
| #define SUNKBD_CMD_BELLOFF 0x3 |
| #define SUNKBD_CMD_BELLON 0x2 |
| #define SUNKBD_CMD_CLICK 0xa |
| #define SUNKBD_CMD_LAYOUT 0xf |
| #define SUNKBD_CMD_NOCLICK 0xb |
| #define SUNKBD_CMD_RESET 0x1 |
| #define SUNKBD_CMD_SETLED 0xe |
| #define SUNKBD_LAYOUT_5_MASK 0x20 |
| #define SUNKBD_RELEASE 0x80 |
| #define SUNKBD_RET_ALLUP 0x7f |
| #define SUNKBD_RET_LAYOUT 0xfe |
| #define SUNKBD_RET_RESET 0xff |
| MODULE_DEVICE_TABLE |
( |
serio |
, |
|
|
sunkbd_serio_ids |
|
|
) |
| |
| module_serio_driver |
( |
sunkbd_drv |
| ) |
|