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] - Rev 1774

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 * 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();
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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