Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
dd68fd71
Commit
dd68fd71
authored
Jul 31, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPARC: Move of move to generic input layer for kbd/mouse.
parent
40b4cd90
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
2229 deletions
+0
-2229
drivers/sbus/char/Makefile
drivers/sbus/char/Makefile
+0
-3
drivers/sbus/char/pcikbd.c
drivers/sbus/char/pcikbd.c
+0
-1430
drivers/sbus/char/pcikbd.h
drivers/sbus/char/pcikbd.h
+0
-123
drivers/sbus/char/sunkbdmap.c
drivers/sbus/char/sunkbdmap.c
+0
-33
drivers/sbus/char/sunkeymap.c
drivers/sbus/char/sunkeymap.c
+0
-265
drivers/sbus/char/sunkeymap.map
drivers/sbus/char/sunkeymap.map
+0
-375
No files found.
drivers/sbus/char/Makefile
View file @
dd68fd71
...
@@ -8,13 +8,10 @@
...
@@ -8,13 +8,10 @@
#
#
export-objs
:=
bbc_i2c.o
export-objs
:=
bbc_i2c.o
obj-y
:=
sunkbdmap.o
vfc-objs
:=
vfc_dev.o vfc_i2c.o
vfc-objs
:=
vfc_dev.o vfc_i2c.o
bbc-objs
:=
bbc_i2c.o bbc_envctrl.o
bbc-objs
:=
bbc_i2c.o bbc_envctrl.o
obj-$(CONFIG_PCI)
+=
pcikbd.o
obj-$(CONFIG_ENVCTRL)
+=
envctrl.o
obj-$(CONFIG_ENVCTRL)
+=
envctrl.o
obj-$(CONFIG_DISPLAY7SEG)
+=
display7seg.o
obj-$(CONFIG_DISPLAY7SEG)
+=
display7seg.o
obj-$(CONFIG_WATCHDOG_CP1XXX)
+=
cpwatchdog.o
obj-$(CONFIG_WATCHDOG_CP1XXX)
+=
cpwatchdog.o
...
...
drivers/sbus/char/pcikbd.c
deleted
100644 → 0
View file @
40b4cd90
This diff is collapsed.
Click to expand it.
drivers/sbus/char/pcikbd.h
deleted
100644 → 0
View file @
40b4cd90
/* $Id: pcikbd.h,v 1.2 1997/12/25 21:13:14 geert Exp $
* pcikbd.h: PCI/PC 8042 keyboard/mouse driver stuff. Mostly snarfed
* from the existing driver by Martin Mares.
*
* Copyright (C) 1997 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
*
* Ultra/AX specific hacks are:
*
* Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
*/
#ifndef __PCIKBD_H
#define __PCIKBD_H
/*
* Configuration Switches
*/
#define KBD_REPORT_ERR
/* Report keyboard errors */
#define KBD_REPORT_UNKN
/* Report unknown scan codes */
#define KBD_REPORT_TIMEOUTS
/* Report keyboard timeouts */
#define KBD_INIT_TIMEOUT HZ
/* Timeout for initializing the keyboard */
#define KBC_TIMEOUT (HZ/4)
/* Timeout for sending to keyboard controller */
#define KBD_TIMEOUT (HZ/4)
/* Timeout for keyboard command acknowledge */
/*
* Internal variables of the driver
*/
extern
unsigned
char
pckbd_read_mask
;
extern
unsigned
char
aux_device_present
;
extern
unsigned
long
pcikbd_iobase
;
extern
unsigned
int
pcikbd_irq
;
/*
* Keyboard Controller Registers
*
* NOTE: These are offsets from pcikbd_iobase, not absolute.
*/
#define KBD_STATUS_REG 0x04
#define KBD_CNTL_REG KBD_STATUS_REG
#define KBD_DATA_REG 0x00
/*
* Keyboard Controller Commands
*/
#define KBD_CCMD_READ_MODE 0x20
/* Read mode bits */
#define KBD_CCMD_WRITE_MODE 0x60
/* Write mode bits */
#define KBD_CCMD_GET_VERSION 0xA1
/* Get controller version */
#define KBD_CCMD_MOUSE_DISABLE 0xA7
/* Disable mouse interface */
#define KBD_CCMD_MOUSE_ENABLE 0xA8
/* Enable mouse interface */
#define KBD_CCMD_TEST_MOUSE 0xA9
/* Mouse interface test */
#define KBD_CCMD_SELF_TEST 0xAA
/* Controller self test */
#define KBD_CCMD_KBD_TEST 0xAB
/* Keyboard interface test */
#define KBD_CCMD_KBD_DISABLE 0xAD
/* Keyboard interface disable */
#define KBD_CCMD_KBD_ENABLE 0xAE
/* Keyboard interface enable */
#define KBD_CCMD_WRITE_MOUSE 0xD4
/* Write the following byte to the mouse */
/*
* Keyboard Commands
*/
#define KBD_CMD_SET_LEDS 0xED
/* Set keyboard leds */
#define KBD_CMD_SET_RATE 0xF3
/* Set typematic rate */
#define KBD_CMD_ENABLE 0xF4
/* Enable scanning */
#define KBD_CMD_DISABLE 0xF5
/* Disable scanning */
#define KBD_CMD_RESET 0xFF
/* Reset */
/*
* Keyboard Replies
*/
#define KBD_REPLY_POR 0xAA
/* Power on reset */
#define KBD_REPLY_ACK 0xFA
/* Command ACK */
#define KBD_REPLY_RESEND 0xFE
/* Command NACK, send the cmd again */
/*
* Status Register Bits
*/
#define KBD_STAT_OBF 0x01
/* Keyboard output buffer full */
#define KBD_STAT_IBF 0x02
/* Keyboard input buffer full */
#define KBD_STAT_SELFTEST 0x04
/* Self test successful */
#define KBD_STAT_CMD 0x08
/* Last write was a command write (0=data) */
#define KBD_STAT_UNLOCKED 0x10
/* Zero if keyboard locked */
#define KBD_STAT_MOUSE_OBF 0x20
/* Mouse output buffer full */
#define KBD_STAT_GTO 0x40
/* General receive/xmit timeout */
#define KBD_STAT_PERR 0x80
/* Parity error */
#define AUX_STAT_OBF (KBD_STAT_OBF | KBD_STAT_MOUSE_OBF)
/*
* Controller Mode Register Bits
*/
#define KBD_MODE_KBD_INT 0x01
/* Keyboard data generage IRQ1 */
#define KBD_MODE_MOUSE_INT 0x02
/* Mouse data generate IRQ12 */
#define KBD_MODE_SYS 0x04
/* The system flag (?) */
#define KBD_MODE_NO_KEYLOCK 0x08
/* The keylock doesn't affect the keyboard if set */
#define KBD_MODE_DISABLE_KBD 0x10
/* Disable keyboard interface */
#define KBD_MODE_DISABLE_MOUSE 0x20
/* Disable mouse interface */
#define KBD_MODE_KCC 0x40
/* Scan code conversion to PC format */
#define KBD_MODE_RFU 0x80
/*
* Mouse Commands
*/
#define AUX_SET_RES 0xE8
/* Set resolution */
#define AUX_SET_SCALE11 0xE6
/* Set 1:1 scaling */
#define AUX_SET_SCALE21 0xE7
/* Set 2:1 scaling */
#define AUX_GET_SCALE 0xE9
/* Get scaling factor */
#define AUX_SET_STREAM 0xEA
/* Set stream mode */
#define AUX_SET_SAMPLE 0xF3
/* Set sample rate */
#define AUX_ENABLE_DEV 0xF4
/* Enable aux device */
#define AUX_DISABLE_DEV 0xF5
/* Disable aux device */
#define AUX_RESET 0xFF
/* Reset aux device */
#endif
/* __PCIKBD_H */
drivers/sbus/char/sunkbdmap.c
deleted
100644 → 0
View file @
40b4cd90
/* $Id: sunkbdmap.c,v 1.1 1997/09/07 15:40:27 ecd Exp $
* sunkbdmap.c: Wrapper around sunkeymap.c to change table names.
*
* Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be)
*/
#include <linux/config.h>
#ifdef CONFIG_PCI
#define func_buf sun_func_buf
#define func_table sun_func_table
#define funcbufsize sun_funcbufsize
#define funcbufleft sun_funcbufleft
#define funcbufptr sun_funcbufptr
#define accent_table sun_accent_table
#define accent_table_size sun_accent_table_size
#define key_maps sun_key_maps
#define keymap_count sun_keymap_count
#define plain_map sun_plain_map
#define shift_map sun_shift_map
#define ctrl_map sun_ctrl_map
#define alt_map sun_alt_map
#define altgr_map sun_altgr_map
#define shift_ctrl_map sun_shift_ctrl_map
#define ctrl_alt_map sun_ctrl_alt_map
#endif
/* CONFIG_PCI */
#include "sunkeymap.c"
drivers/sbus/char/sunkeymap.c
deleted
100644 → 0
View file @
40b4cd90
This diff is collapsed.
Click to expand it.
drivers/sbus/char/sunkeymap.map
deleted
100644 → 0
View file @
40b4cd90
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment