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
f044e721
Commit
f044e721
authored
May 29, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Remove obsolete asm-arm/arch-*/keyboard.h
parent
3161abde
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
212 deletions
+0
-212
include/asm-arm/arch-cl7500/keyboard.h
include/asm-arm/arch-cl7500/keyboard.h
+0
-16
include/asm-arm/arch-clps711x/keyboard.h
include/asm-arm/arch-clps711x/keyboard.h
+0
-26
include/asm-arm/arch-l7200/keyboard.h
include/asm-arm/arch-l7200/keyboard.h
+0
-51
include/asm-arm/arch-pxa/keyboard.h
include/asm-arm/arch-pxa/keyboard.h
+0
-28
include/asm-arm/arch-sa1100/keyboard.h
include/asm-arm/arch-sa1100/keyboard.h
+0
-23
include/asm-arm/arch-shark/keyboard.h
include/asm-arm/arch-shark/keyboard.h
+0
-68
No files found.
include/asm-arm/arch-cl7500/keyboard.h
deleted
100644 → 0
View file @
3161abde
/*
* linux/include/asm-arm/arch-cl7500/keyboard.h
* from linux/include/asm-arm/arch-rpc/keyboard.h
*
* Keyboard driver definitions for CL7500 architecture
*
* Copyright (C) 1998-2001 Russell King
*/
#include <asm/irq.h>
#define NR_SCANCODES 128
extern
int
ps2kbd_init_hw
(
void
);
#define kbd_disable_irq() disable_irq(IRQ_KEYBOARDRX)
#define kbd_enable_irq() enable_irq(IRQ_KEYBOARDRX)
#define kbd_init_hw() ps2kbd_init_hw()
include/asm-arm/arch-clps711x/keyboard.h
deleted
100644 → 0
View file @
3161abde
/*
* linux/include/asm-arm/arch-clps711x/keyboard.h
*
* Copyright (C) 1998-2001 Russell King
*/
#include <asm/mach-types.h>
#define NR_SCANCODES 128
#define kbd_disable_irq() do { } while (0)
#define kbd_enable_irq() do { } while (0)
/*
* EDB7211 keyboard driver
*/
extern
void
edb7211_kbd_init_hw
(
void
);
extern
void
clps711x_kbd_init_hw
(
void
);
static
inline
void
kbd_init_hw
(
void
)
{
if
(
machine_is_edb7211
())
edb7211_kbd_init_hw
();
if
(
machine_is_autcpu12
())
clps711x_kbd_init_hw
();
}
include/asm-arm/arch-l7200/keyboard.h
deleted
100644 → 0
View file @
3161abde
/*
* linux/include/asm-arm/arch-l7200/keyboard.h
*
* Keyboard driver definitions for LinkUp Systems L7200 architecture
*
* Copyright (C) 2000 Scott A McConnell (samcconn@cotw.com)
* Steve Hill (sjhill@cotw.com)
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file COPYING in the main directory of this archive for
* more details.
*
* Changelog:
* 07-18-2000 SAM Created file
* 07-28-2000 SJH Complete rewrite
*/
#include <asm/irq.h>
#error This needs fixing --rmk
/*
* Layout of L7200 keyboard registers
*/
struct
KBD_Port
{
unsigned
int
KBDR
;
unsigned
int
KBDMR
;
unsigned
int
KBSBSR
;
unsigned
int
Reserved
;
unsigned
int
KBKSR
;
};
#define KBD_BASE IO_BASE_2 + 0x4000
#define l7200kbd_hwregs ((volatile struct KBD_Port *) (KBD_BASE))
extern
void
l7200kbd_init_hw
(
void
);
extern
int
l7200kbd_translate
(
unsigned
char
scancode
,
unsigned
char
*
keycode
,
char
raw_mode
);
#define kbd_setkeycode(sc,kc) (-EINVAL)
#define kbd_getkeycode(sc) (-EINVAL)
#define kbd_translate(sc, kcp, rm) ({ *(kcp) = (sc); 1; })
#define kbd_unexpected_up(kc) (0200)
#define kbd_leds(leds) do {} while (0)
#define kbd_init_hw() l7200kbd_init_hw()
#define kbd_sysrq_xlate ((unsigned char *)NULL)
#define kbd_disable_irq() disable_irq(IRQ_GCTC2)
#define kbd_enable_irq() enable_irq(IRQ_GCTC2)
#define SYSRQ_KEY 13
include/asm-arm/arch-pxa/keyboard.h
deleted
100644 → 0
View file @
3161abde
/*
* linux/include/asm-arm/arch-pxa/keyboard.h
*
* This file contains the architecture specific keyboard definitions
*/
#ifndef _PXA_KEYBOARD_H
#define _PXA_KEYBOARD_H
#include <asm/mach-types.h>
#include <asm/hardware.h>
extern
struct
kbd_ops_struct
*
kbd_ops
;
#define kbd_disable_irq() do { } while(0);
#define kbd_enable_irq() do { } while(0);
extern
int
sa1111_kbd_init_hw
(
void
);
static
inline
void
kbd_init_hw
(
void
)
{
if
(
machine_is_lubbock
())
sa1111_kbd_init_hw
();
}
#endif
/* _PXA_KEYBOARD_H */
include/asm-arm/arch-sa1100/keyboard.h
deleted
100644 → 0
View file @
3161abde
/*
* linux/include/asm-arm/arch-sa1100/keyboard.h
* Created 16 Dec 1999 by Nicolas Pitre <nico@cam.org>
* This file contains the SA1100 architecture specific keyboard definitions
*/
#ifndef _SA1100_KEYBOARD_H
#define _SA1100_KEYBOARD_H
#include <linux/config.h>
#include <asm/mach-types.h>
extern
void
gc_kbd_init_hw
(
void
);
extern
void
smartio_kbd_init_hw
(
void
);
static
inline
void
kbd_init_hw
(
void
)
{
if
(
machine_is_graphicsclient
())
gc_kbd_init_hw
();
if
(
machine_is_adsbitsy
())
smartio_kbd_init_hw
();
}
#endif
/* _SA1100_KEYBOARD_H */
include/asm-arm/arch-shark/keyboard.h
deleted
100644 → 0
View file @
3161abde
/*
* linux/include/asm-arm/arch-shark/keyboard.h
* by Alexander Schulz
*
* Derived from linux/include/asm-arm/arch-ebsa285/keyboard.h
* (C) 1998 Russell King
* (C) 1998 Phil Blundell
*/
#include <linux/config.h>
#include <linux/ioport.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/system.h>
#define KEYBOARD_IRQ IRQ_ISA_KEYBOARD
#define NR_SCANCODES 128
#define kbd_disable_irq() do { } while (0)
#define kbd_enable_irq() do { } while (0)
extern
int
pckbd_setkeycode
(
unsigned
int
scancode
,
unsigned
int
keycode
);
extern
int
pckbd_getkeycode
(
unsigned
int
scancode
);
extern
int
pckbd_translate
(
unsigned
char
scancode
,
unsigned
char
*
keycode
,
char
raw_mode
);
extern
char
pckbd_unexpected_up
(
unsigned
char
keycode
);
extern
void
pckbd_leds
(
unsigned
char
leds
);
extern
void
pckbd_init_hw
(
void
);
extern
unsigned
char
pckbd_sysrq_xlate
[
128
];
static
inline
void
kbd_init_hw
(
void
)
{
k_setkeycode
=
pckbd_setkeycode
;
k_getkeycode
=
pckbd_getkeycode
;
k_translate
=
pckbd_translate
;
k_unexpected_up
=
pckbd_unexpected_up
;
k_leds
=
pckbd_leds
;
#ifdef CONFIG_MAGIC_SYSRQ
k_sysrq_key
=
0x54
;
k_sysrq_xlate
=
pckbd_sysrq_xlate
;
#endif
pckbd_init_hw
();
}
/*
* PC Keyboard specifics
*/
/* resource allocation */
#define kbd_request_region() request_region(0x60, 16, "keyboard")
#define kbd_request_irq(handler) request_irq(KEYBOARD_IRQ, handler, 0, \
"keyboard", NULL)
/* How to access the keyboard macros on this platform. */
#define kbd_read_input() inb(KBD_DATA_REG)
#define kbd_read_status() inb(KBD_STATUS_REG)
#define kbd_write_output(val) outb(val, KBD_DATA_REG)
#define kbd_write_command(val) outb(val, KBD_CNTL_REG)
/* Some stoneage hardware needs delays after some operations. */
#define kbd_pause() do { } while(0)
/*
* Machine specific bits for the PS/2 driver
*/
#define aux_request_irq(hand, dev_id) \
request_irq(AUX_IRQ, hand, SA_SHIRQ, "PS/2 Mouse", dev_id)
#define aux_free_irq(dev_id) free_irq(AUX_IRQ, dev_id)
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