OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-clps711x/] [keyboard.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 * linux/include/asm-arm/arch-clps711x/keyboard.h
3
 *
4
 * Copyright (C) 1998-2001 Russell King
5
 */
6
#include <asm/mach-types.h>
7
 
8
#define NR_SCANCODES 128
9
 
10
#define kbd_disable_irq()       do { } while (0)
11
#define kbd_enable_irq()        do { } while (0)
12
 
13
/*
14
 * EDB7211 keyboard driver
15
 */
16
extern void edb7211_kbd_init_hw(void);
17
extern void clps711x_kbd_init_hw(void);
18
 
19
static inline void kbd_init_hw(void)
20
{
21
        if (machine_is_edb7211())
22
                edb7211_kbd_init_hw();
23
 
24
        if (machine_is_autcpu12())
25
                clps711x_kbd_init_hw();
26
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.