diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-11-08 20:55:24 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-11-08 20:55:24 +0000 |
commit | 7fa0819ecf076c283c942d4af5e9bcfaf8c4bd49 (patch) | |
tree | 523f6bd8880d1ccd39e97067feafc2bfb625d22e /src/superio/ite | |
parent | f648d619c994f856d6ca7d86fe18c532a974d31b (diff) |
Add #include guards to all Super I/O header files (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6049 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite')
-rw-r--r-- | src/superio/ite/it8661f/it8661f.h | 5 | ||||
-rw-r--r-- | src/superio/ite/it8671f/it8671f.h | 5 | ||||
-rw-r--r-- | src/superio/ite/it8673f/it8673f.h | 5 | ||||
-rw-r--r-- | src/superio/ite/it8705f/it8705f.h | 5 | ||||
-rw-r--r-- | src/superio/ite/it8712f/it8712f.h | 5 | ||||
-rw-r--r-- | src/superio/ite/it8716f/it8716f.h | 5 | ||||
-rw-r--r-- | src/superio/ite/it8718f/it8718f.h | 4 |
7 files changed, 32 insertions, 2 deletions
diff --git a/src/superio/ite/it8661f/it8661f.h b/src/superio/ite/it8661f/it8661f.h index 5934908eee..ecc9473a6e 100644 --- a/src/superio/ite/it8661f/it8661f.h +++ b/src/superio/ite/it8661f/it8661f.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_ITE_IT8661F_IT8661F_H +#define SUPERIO_ITE_IT8661F_IT8661F_H + /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8661_2.asp */ #define IT8661F_FDC 0x00 /* Floppy */ @@ -26,3 +29,5 @@ #define IT8661F_PP 0x03 /* Parallel port */ #define IT8661F_IR 0x04 /* IR */ #define IT8661F_GPIO 0x05 /* GPIO & Alternate Function Configuration */ + +#endif diff --git a/src/superio/ite/it8671f/it8671f.h b/src/superio/ite/it8671f/it8671f.h index 8c9daab6af..dcf6ac6ad0 100644 --- a/src/superio/ite/it8671f/it8671f.h +++ b/src/superio/ite/it8671f/it8671f.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_ITE_IT8671F_IT8671F_H +#define SUPERIO_ITE_IT8671F_IT8671F_H + /* Datasheet: Not available online, got it from ITE per request. */ #define IT8671F_FDC 0x00 /* Floppy */ @@ -26,3 +29,5 @@ #define IT8671F_PP 0x03 /* Parallel port */ #define IT8671F_KBCK 0x05 /* PS/2 keyboard */ #define IT8671F_KBCM 0x06 /* PS/2 mouse */ + +#endif diff --git a/src/superio/ite/it8673f/it8673f.h b/src/superio/ite/it8673f/it8673f.h index f3b407ce5b..98736f84b2 100644 --- a/src/superio/ite/it8673f/it8673f.h +++ b/src/superio/ite/it8673f/it8673f.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_ITE_IT8673F_IT8673F_H +#define SUPERIO_ITE_IT8673F_IT8673F_H + /* Datasheet: http://www.datasheet4u.com/html/I/T/8/IT8673F_ITE.pdf.html */ #define IT8673F_FDC 0x00 /* Floppy */ @@ -27,3 +30,5 @@ #define IT8673F_FAN 0x04 /* Fan controller */ #define IT8673F_KBCK 0x05 /* PS/2 keyboard */ #define IT8673F_KBCM 0x06 /* PS/2 mouse */ + +#endif diff --git a/src/superio/ite/it8705f/it8705f.h b/src/superio/ite/it8705f/it8705f.h index c2a8e76a32..fd513bc9c4 100644 --- a/src/superio/ite/it8705f/it8705f.h +++ b/src/superio/ite/it8705f/it8705f.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_ITE_IT8705F_IT8705F_H +#define SUPERIO_ITE_IT8705F_IT8705F_H + /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8705_2.asp */ /* Note: This should also work on an IT8705AF, they're almost the same. */ @@ -31,3 +34,5 @@ #define IT8705F_GAME 0x06 /* GAME port */ #define IT8705F_IR 0x07 /* Consumer IR */ #define IT8705F_MIDI 0x08 /* MIDI port */ + +#endif diff --git a/src/superio/ite/it8712f/it8712f.h b/src/superio/ite/it8712f/it8712f.h index 609f361a66..a8b48e9767 100644 --- a/src/superio/ite/it8712f/it8712f.h +++ b/src/superio/ite/it8712f/it8712f.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_ITE_IT8712F_IT8712F_H +#define SUPERIO_ITE_IT8712F_IT8712F_H + /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8712_2.asp */ #define IT8712F_FDC 0x00 /* Floppy */ @@ -38,3 +41,5 @@ void it8712f_enable_serial(device_t dev, u16 iobase); void it8712f_24mhz_clkin(void); void it8712f_enable_3vsbsw(void); #endif + +#endif diff --git a/src/superio/ite/it8716f/it8716f.h b/src/superio/ite/it8716f/it8716f.h index 88e44c219d..dde25153c7 100644 --- a/src/superio/ite/it8716f/it8716f.h +++ b/src/superio/ite/it8716f/it8716f.h @@ -18,11 +18,12 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8716_2.asp */ - #ifndef SUPERIO_ITE_IT8716F_IT8716F_H #define SUPERIO_ITE_IT8716F_IT8716F_H +/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8716_2.asp */ + +/* Logical device numbers (LDNs). */ #define IT8716F_FDC 0x00 /* Floppy */ #define IT8716F_SP1 0x01 /* Com1 */ #define IT8716F_SP2 0x02 /* Com2 */ diff --git a/src/superio/ite/it8718f/it8718f.h b/src/superio/ite/it8718f/it8718f.h index def5c52951..7bb183b7e0 100644 --- a/src/superio/ite/it8718f/it8718f.h +++ b/src/superio/ite/it8718f/it8718f.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef SUPERIO_ITE_IT8718F_IT8718F_H +#define SUPERIO_ITE_IT8718F_IT8718F_H + /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8718_2.asp */ #define IT8718F_FDC 0x00 /* Floppy */ @@ -36,3 +39,4 @@ void it8718f_disable_reboot(void); void it8718f_enable_serial(device_t dev, u16 iobase); #endif +#endif |