added headers for SuperH which automatically generate by update_all.py

base on kernel 2.6.27 arch/sh/include/asm/
This commit is contained in:
Tony SIM
2010-01-28 17:04:55 +09:00
committed by Tony Sim
parent 95604529ec
commit 1d7a8944d8
174 changed files with 7188 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call into the kernel available to libc. It contains only constants,
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
****************************************************************************
****************************************************************************/
#ifndef _ASM_SH_HD64465_GPIO_
#define _ASM_SH_HD64465_GPIO_ 1
#include <asm/hd64465.h>
#define HD64465_GPIO_PORTPIN(port,pin) (((port)-'A')<<3|(pin))
#define HD64465_GPIO_FUNCTION2 0
#define HD64465_GPIO_OUT 1
#define HD64465_GPIO_IN_PULLUP 2
#define HD64465_GPIO_IN 3
#define HD64465_GPIO_FALLING 0
#define HD64465_GPIO_RISING 1
#endif