Add #include guards to all Super I/O header files (trivial).
authorUwe Hermann <uwe@hermann-uwe.de>
Mon, 8 Nov 2010 20:55:24 +0000 (20:55 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 8 Nov 2010 20:55:24 +0000 (20:55 +0000)
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

75 files changed:
src/superio/fintek/f71805f/chip.h
src/superio/fintek/f71805f/f71805f.h
src/superio/fintek/f71859/chip.h
src/superio/fintek/f71859/f71859.h
src/superio/fintek/f71863fg/chip.h
src/superio/fintek/f71863fg/f71863fg.h
src/superio/fintek/f71889/chip.h
src/superio/fintek/f71889/f71889.h
src/superio/intel/i3100/i3100.h
src/superio/ite/it8661f/it8661f.h
src/superio/ite/it8671f/it8671f.h
src/superio/ite/it8673f/it8673f.h
src/superio/ite/it8705f/it8705f.h
src/superio/ite/it8712f/it8712f.h
src/superio/ite/it8716f/it8716f.h
src/superio/ite/it8718f/it8718f.h
src/superio/nsc/pc8374/chip.h
src/superio/nsc/pc8374/pc8374.h
src/superio/nsc/pc87309/chip.h
src/superio/nsc/pc87309/pc87309.h
src/superio/nsc/pc87351/chip.h
src/superio/nsc/pc87351/pc87351.h
src/superio/nsc/pc87360/chip.h
src/superio/nsc/pc87360/pc87360.h
src/superio/nsc/pc87366/chip.h
src/superio/nsc/pc87366/pc87366.h
src/superio/nsc/pc87417/chip.h
src/superio/nsc/pc87417/pc87417.h
src/superio/nsc/pc87427/chip.h
src/superio/nsc/pc87427/pc87427.h
src/superio/nsc/pc97307/chip.h
src/superio/nsc/pc97307/pc97307.h
src/superio/nsc/pc97317/chip.h
src/superio/nsc/pc97317/pc97317.h
src/superio/renesas/m3885x/chip.h
src/superio/serverengines/pilot/pilot.h
src/superio/smsc/fdc37m60x/chip.h
src/superio/smsc/fdc37m60x/fdc37m60x.h
src/superio/smsc/fdc37n972/chip.h
src/superio/smsc/fdc37n972/fdc37n972.h
src/superio/smsc/lpc47b272/chip.h
src/superio/smsc/lpc47b272/lpc47b272.h
src/superio/smsc/lpc47b397/chip.h
src/superio/smsc/lpc47b397/lpc47b397.h
src/superio/smsc/lpc47m10x/chip.h
src/superio/smsc/lpc47m10x/lpc47m10x.h
src/superio/smsc/lpc47m15x/chip.h
src/superio/smsc/lpc47m15x/lpc47m15x.h
src/superio/smsc/lpc47n217/chip.h
src/superio/smsc/lpc47n217/lpc47n217.h
src/superio/smsc/lpc47n227/chip.h
src/superio/smsc/lpc47n227/lpc47n227.h
src/superio/smsc/sio10n268/chip.h
src/superio/smsc/sio10n268/sio10n268.h
src/superio/smsc/smscsuperio/Makefile.inc
src/superio/smsc/smscsuperio/chip.h
src/superio/via/vt1211/vt1211.h
src/superio/winbond/w83627dhg/chip.h
src/superio/winbond/w83627dhg/w83627dhg.h
src/superio/winbond/w83627ehg/chip.h
src/superio/winbond/w83627ehg/w83627ehg.h
src/superio/winbond/w83627hf/chip.h
src/superio/winbond/w83627hf/w83627hf.h
src/superio/winbond/w83627thf/chip.h
src/superio/winbond/w83627thf/w83627thf.h
src/superio/winbond/w83627thg/chip.h
src/superio/winbond/w83627thg/w83627thg.h
src/superio/winbond/w83627uhg/chip.h
src/superio/winbond/w83627uhg/w83627uhg.h
src/superio/winbond/w83697hf/chip.h
src/superio/winbond/w83697hf/w83697hf.h
src/superio/winbond/w83977f/chip.h
src/superio/winbond/w83977f/w83977f.h
src/superio/winbond/w83977tf/chip.h
src/superio/winbond/w83977tf/w83977tf.h

index 89d8af620bbbfe9ebaf5c9634d2037e16af08b71..3ab1a7c2e258faed90ea09c51cfba5d0fa6aeee3 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_FINTEK_F71805F_CHIP_H
+#define SUPERIO_FINTEK_F71805F_CHIP_H
+
 #include <device/device.h>
 #include <uart8250.h>
 
@@ -28,3 +31,5 @@ extern struct chip_operations superio_fintek_f71805f_ops;
 struct superio_fintek_f71805f_config {
        struct uart8250 com1, com2;
 };
+
+#endif
index 00e284ebb5ad67e3c94baf902e74d233cfa4f605..932e453c0783ed7bdca6c7e974c05b9dac5b0c73 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_FINTEK_F71805F_F71805F_H
+#define SUPERIO_FINTEK_F71805F_F71805F_H
+
 /*
  * Datasheet:
  *  - Name: F71805F/FG Super H/W Monitor + LPC IO
@@ -34,3 +37,5 @@
 #define        F71805F_HWM     0x04    /* Hardware monitor */
 #define        F71805F_GPIO    0x06    /* General Purpose I/O (GPIO) */
 #define        F71805F_PME     0x0a    /* Power Management Events (PME) */
+
+#endif
index d823c45053a17c0fe16c9eca1e64a3e35ea12ec2..a0de2d59825a880504c80bc0a653e0d209f424a2 100755 (executable)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_FINTEK_F71859_CHIP_H
+#define SUPERIO_FINTEK_F71859_CHIP_H
+
 #include <device/device.h>
 #include <uart8250.h>
 
@@ -26,3 +29,5 @@ extern struct chip_operations superio_fintek_f71859_ops;
 struct superio_fintek_f71859_config {
        struct uart8250 com1, com2;
 };
+
+#endif
index 74c108e878d0a3b84b325e4a02e506f647a41a68..b9aed6e0ff48ff6dc9d8db048e5cfd0ac7569fcf 100755 (executable)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-/* Logical Device Numbers (LDN). */
+#ifndef SUPERIO_FINTEK_F71859_F71859_H
+#define SUPERIO_FINTEK_F71859_F71859_H
 
+/* Logical Device Numbers (LDN). */
 #define F71859_SP1     0x03    /* UART1 */
 
+#endif
index 0fea0a30d157e330e3a600983d30502cb7ab78c3..5ccfa5bd764534f0e9167c6452edfd09f5a66baa 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_FINTEK_F71863FG_CHIP_H
+#define SUPERIO_FINTEK_F71863FG_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <device/device.h>
 #include <uart8250.h>
@@ -28,3 +31,5 @@ struct superio_fintek_f71863fg_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 487f76854d5b4b16d41e0142a7644d1ca2938227..a36f71ccdd8a88b3981bf4bc1d017630e05c002a 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_FINTEK_F71863FG_F71863FG_H
+#define SUPERIO_FINTEK_F71863FG_F71863FG_H
+
 /* Logical Device Numbers (LDN). */
 #define F71863FG_FDC   0x00    /* Floppy */
 #define F71863FG_SP1   0x01    /* UART1 */
@@ -29,3 +32,5 @@
 #define        F71863FG_VID    0x07    /* VID */
 #define        F71863FG_SPI    0x08    /* SPI */
 #define        F71863FG_PME    0x0a    /* Power Management Events (PME) and ACPI */
+
+#endif
index 50437450a4168fe847b848cfd106d75704dfbd19..b4357b201836caa4fded1124132f0a128a9d2157 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_FINTEK_F71889_CHIP_H
+#define SUPERIO_FINTEK_F71889_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <device/device.h>
 #include <uart8250.h>
@@ -28,3 +31,5 @@ struct superio_fintek_f71889_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index f1dde6f20320deb041ba3de02b1340ee4d45708d..a7ce3f60ef26380689100d4d1b0f8e962d0fae75 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_FINTEK_F71889_F71889_H
+#define SUPERIO_FINTEK_F71889_F71889_H
+
 /* Logical Device Numbers (LDN). */
 #define F71889_FDC     0x00    /* Floppy */
 #define F71889_SP1     0x01    /* UART1 */
@@ -30,3 +33,5 @@
 #define F71889_SPI     0x08    /* SPI */
 #define F71889_PME     0x0a    /* Power Management Events (PME) and ACPI */
 #define F71889_VREF    0x0b    /* Vref */
+
+#endif
index 5fe8e086e7ef7b4acd102abc29d2c29a80371d0c..f0d6426be0a7b7097fa14284e0889cddde893ccd 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_INTEL_I3100_I3100_H
+#define SUPERIO_INTEL_I3100_I3100_H
+
 /*
  * Datasheet:
  *  - Name: Intel 3100 Chipset
@@ -27,9 +30,6 @@
  *  - Order number: 313458-007US
  */
 
-#ifndef SUPERIO_INTEL_I3100_I3100_H
-#define SUPERIO_INTEL_I3100_I3100_H
-
 /*
  * The SIW ("Serial I/O and Watchdog Timer") integrated into the i3100 is
  * very similar to a Super I/O, both in functionality and config mechanism.
index 5934908eee6d16cf6fea515ea2b5fb569eb2d243..ecc9473a6e086270f722b4016fe5c7e6223147bf 100644 (file)
@@ -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
index 8c9daab6af4542f89a6f56fbe4c1dcb06f964dfb..dcf6ac6ad08ac495c294719c23b0c6bb0294e170 100644 (file)
@@ -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
index f3b407ce5be7fe379c8d8939b9a7680aa41351af..98736f84b2742f88774dbd5b6e3dc368fd7cb211 100644 (file)
@@ -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
index c2a8e76a325c2e9e5a19b88700b8b1107df7d940..fd513bc9c423ecb3a02433c46ebc00b9b0e20a31 100644 (file)
@@ -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
index 609f361a66b7cd5888ebc485d9c7aebe946d1cfe..a8b48e9767fa9dda0a24e907971a36a72d8d2c61 100644 (file)
@@ -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
index 88e44c219da63882d557dabf62cb22ec4fdd510f..dde25153c7880ff2540ffecf35de4f4eb9f823a9 100644 (file)
  * 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 */
index def5c529510e41de1895a8f3a77bf8b601e221d9..7bb183b7e0aa27db2a54296c8f3e7128607410fe 100644 (file)
@@ -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
index 2ef9f70ddca77640706686e2a2ef909ca0fa85da..9e5e8dda856469188cd1a31a2fba40059383fa57 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC8374_CHIP_H
+#define SUPERIO_NSC_PC8374_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_nsc_pc8374_ops;
 
@@ -29,3 +32,5 @@ struct superio_nsc_pc8374_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 71162d6156528c127a566c4aee44c41d17bc9f86..1b1594d04248cb9f6ccf96cedcbbc7f3d629e695 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC8374_PC8374_H
+#define SUPERIO_NSC_PC8374_PC8374_H
+
 #define PC8374_FDC  0x00 /* Floppy */
 #define PC8374_PP   0x01 /* Parallel port */
 #define PC8374_SP2  0x02 /* Com2 */
@@ -27,4 +30,6 @@
 #define PC8374_KBCM 0x05 /* Mouse */
 #define PC8374_KBCK 0x06 /* Keyboard */
 #define PC8374_GPIO 0x07
-#define PC8374_HM  0x08
+#define PC8374_HM   0x08
+
+#endif
index 83b4bfc3a3108bfa93e8decbd9adbf61c6b6bfee..fd4c0cc9c6f690ed80149b977a74a8edd0cfe12d 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87309_CHIP_H
+#define SUPERIO_NSC_PC87309_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -27,3 +30,5 @@ struct superio_nsc_pc87309_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 957e2745187b8cb66ca7195e7c8308299907e655..6968d676caa462a120c5adc0aa7329385acb8f88 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87309_PC87309_H
+#define SUPERIO_NSC_PC87309_PC87309_H
+
 /* Datasheet: PC87309 SuperI/O Plug and Play Compatible Chip. */
-/* Status: Pre-RAM serial output is tested and works. The rest is untested. */
 
 #define PC87309_FDC  0x00      /* Floppy */
 #define PC87309_PP   0x01      /* Parallel port */
@@ -28,3 +30,5 @@
 #define PC87309_PM   0x04      /* Power management */
 #define PC87309_KBCM 0x05      /* Mouse */
 #define PC87309_KBCK 0x06      /* Keyboard */
+
+#endif
index d62b1b385590b091b60086737457f8a9ea8d3f2a..44af196c64e588c14c48aeea7a8cddfe0570ccfd 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87351_CHIP_H
+#define SUPERIO_NSC_PC87351_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_nsc_pc87351_ops;
 
@@ -29,3 +32,5 @@ struct superio_nsc_pc87351_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index f3e0fde11287930760cdec39dd6e10fd3838988f..fcf6090e5c5cc33bfdb7f98539229363e3bf8474 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87351_PC87351_H
+#define SUPERIO_NSC_PC87351_PC87351_H
+
 #define PC87351_FDC  0x00 /* Floppy */
 #define PC87351_PP   0x01 /* Parallel port */
 #define PC87351_SP2  0x02 /* Com2 */
@@ -28,3 +31,5 @@
 #define PC87351_KBCK 0x06 /* Keyboard */
 #define PC87351_GPIO 0x07 /* General purpose IO */
 #define PC87351_FSD  0x08 /* Fan speed device */
+
+#endif
index f3a29ceda38854354d8cddf480274d392fbbba1e..57bc26ac660caefbd603324b03f61ebe351f52bb 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87360_CHIP_H
+#define SUPERIO_NSC_PC87360_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_nsc_pc87360_ops;
 
@@ -29,3 +32,5 @@ struct superio_nsc_pc87360_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index e2ee823b75798218d29062938a06fa6e45d7a932..f8174cf13b2c84262c8945a335fcc96bfec3c7fd 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87360_PC87360_H
+#define SUPERIO_NSC_PC87360_PC87360_H
+
 #define PC87360_FDC  0x00 /* Floppy */
 #define PC87360_PP   0x01 /* Parallel port */
 #define PC87360_SP2  0x02 /* Com2 */
@@ -30,3 +33,5 @@
 #define PC87360_ACB  0x08
 #define PC87360_FSCM 0x09
 #define PC87360_WDT  0x0A
+
+#endif
index 31e30ff351c1e9526bcaa600e0e95b219aed5253..ec37a3d93e65aaa362b96d74b065cab4fd89b0c7 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87366_CHIP_H
+#define SUPERIO_NSC_PC87366_CHIP_H
+
 extern struct chip_operations superio_nsc_pc87366_ops;
 
 #include <pc80/keyboard.h>
@@ -28,3 +31,5 @@ struct superio_nsc_pc87366_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 3ded643ff964ad67827f46f834cf0eb9c3bae12a..8095aec0ee8decef62c7735b6f97e2cbb1bade72 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87366_PC87366_H
+#define SUPERIO_NSC_PC87366_PC87366_H
+
 #define PC87366_FDC  0x00 /* Floppy */
 #define PC87366_PP   0x01 /* Parallel port */
 #define PC87366_SP2  0x02 /* Com2 */
@@ -31,6 +34,8 @@
 #define PC87366_FSCM 0x09
 #define PC87366_WDT  0x0A
 #define PC87366_GMP  0x0b
-#define PC87366_MIDI  0x0C
+#define PC87366_MIDI 0x0C
 #define PC87366_VLM  0x0D
 #define PC87366_TMS  0x0E
+
+#endif
index f2bc6f8da56ce57faf9cbdeabf20a18fa3d4d48c..1b661ef8af6ee04c413918b42cfa8e0ffa9058be 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87417_CHIP_H
+#define SUPERIO_NSC_PC87417_CHIP_H
+
 extern struct chip_operations superio_nsc_pc87417_ops;
 
 #include <pc80/keyboard.h>
@@ -29,3 +32,5 @@ struct superio_nsc_pc87417_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index bc65eef5542805c961de7c7d090f98e46b65b36d..c2051f6a751ef4d1fd8a2a25f5f7107f320477a7 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87417_PC87417_H
+#define SUPERIO_NSC_PC87417_PC87417_H
+
 #define PC87417_FDC  0x00 /* Floppy */
 #define PC87417_PP   0x01 /* Parallel Port */
 #define PC87417_SP2  0x02 /* Com2 */
@@ -116,3 +119,4 @@ void pc87417_enable_serial(device_t dev, unsigned iobase);
 void pc87417_enable_dev(device_t dev);
 #endif
 
+#endif
index bc6afcdffcd2aef39e37abf384317b9a41d12c3c..531e2df58e1bed80432367ae771c7b593c820227 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC87427_CHIP_H
+#define SUPERIO_NSC_PC87427_CHIP_H
+
 extern struct chip_operations superio_nsc_pc87427_ops;
 
 #include <pc80/keyboard.h>
@@ -28,3 +31,5 @@ struct superio_nsc_pc87427_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 304c9f7f9c9888d3f4d26e950e064106a51099aa..55330354b527ebfb68d6b22b6484ec4ae9c406fc 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef SUPERIO_NSC_PC87427_PC87427_H
+#define SUPERIO_NSC_PC87427_PC87427_H
+
 #define PC87427_FDC  0x00 /* Floppy */
 #define PC87427_SP2  0x02 /* Com2 */
 #define PC87427_SP1  0x03 /* Com1 */
@@ -91,4 +94,4 @@
 #define PC87427_XSCNF          0x15
 #define PC87427_XWBCNF         0x16
 
-
+#endif
index efc5bb8994146edf3187006189314d3873c6f4aa..43e8044ea5edc77178072064ee91c39ecbb190d5 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef _SUPERIO_NSC_PC97307
-#define _SUPERIO_NSC_PC97307
+#ifndef SUPERIO_NSC_PC97307_CHIP_H
+#define SUPERIO_NSC_PC97307_CHIP_H
 
 #ifndef PNP_INDEX_REG
 #define PNP_INDEX_REG   0x15C
@@ -37,4 +37,4 @@ struct superio_nsc_pc97307_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
-#endif /* _SUPERIO_NSC_PC97307 */
+#endif
index e917d9ce4f91d759bee163e27eff854ba7e95dec..1e15281a00afa33104d95855c7cadbb3aadfba7f 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC97307_PC97307_H
+#define SUPERIO_NSC_PC97307_PC97307_H
+
 #define PC97307_KBCK 0x00 /* Keyboard */
 #define PC97307_KBCM 0x01 /* Mouse */
 #define PC97307_RTC  0x02 /* Real-Time Clock */
@@ -28,3 +31,4 @@
 #define PC97307_GPIO 0x07
 #define PC97307_PM   0x08 /* Power Management */
 
+#endif
index 84962824820fca250d554ee18a99f5dea93b0a15..798561ba36c7103bca59bac83472c0431c5f2ea3 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef _SUPERIO_NSC_PC97317
-#define _SUPERIO_NSC_PC97317
+#ifndef SUPERIO_NSC_PC97317_CHIP_H
+#define SUPERIO_NSC_PC97317_CHIP_H
 
 #ifndef PNP_INDEX_REG
 #define PNP_INDEX_REG   0x15C
@@ -38,4 +38,4 @@ struct superio_nsc_pc97317_config {
        struct pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_NSC_PC97317 */
+#endif
index 29339f119c366d092d43a922c2cd3f23ab900630..d395367ab95af79bd80189da51b2bd7b27c9a0e8 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_NSC_PC97317_PC97317_H
+#define SUPERIO_NSC_PC97317_PC97317_H
+
 #define PC97317_KBCK 0x00 /* Keyboard */
 #define PC97317_KBCM 0x01 /* Mouse */
 #define PC97317_RTC  0x02 /* Real-Time Clock */
@@ -27,3 +30,5 @@
 #define PC97317_SP1  0x06 /* Com1 */
 #define PC97317_GPIO 0x07
 #define PC97317_PM   0x08 /* Power Management */
+
+#endif
index b333d1744b0e57a18027fe109467086fbef433dc..da2336d5dfb065e3f75d247f6c8ef50cb0a0c8b2 100644 (file)
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_RENESAS_M3885X_CHIP_H
+#define SUPERIO_RENESAS_M3885X_CHIP_H
+
 #include <device/device.h>
 #include <pc80/keyboard.h>
 
@@ -26,3 +29,4 @@ struct superio_renesas_m3885x_config {
        struct pc_keyboard keyboard;
 };
 
+#endif
index de9ec9f832530d3eb8bee9eea0b8ce2a1c4b10c7..9f48a85960b7e378cbb7c05934dbbe42c46ad3cc 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SERVERENGINES_PILOT_PILOT_H
+#define SUPERIO_SERVERENGINES_PILOT_PILOT_H
+
 /* PILOT Super I/O is only based on LPC observation done on factory system. */
 
 #define PILOT_LD1 0x01 /* Logical device 1 */
@@ -26,3 +29,5 @@
 #define PILOT_LD4 0x04 /* Logical device 4 */
 #define PILOT_LD5 0x05 /* Logical device 5 */
 #define PILOT_LD7 0x07 /* Logical device 7 */
+
+#endif
index d4da77bf13244e0ae94fcdfd176a87440a66bfaf..eca64223424eff79fde1a4e250e333a6f3ad0516 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef _SUPERIO_SMSC_FDC37M60X
-#define _SUPERIO_SMSC_FDC37M60X
+#ifndef SUPERIO_SMSC_FDC37M60X_CHIP_H
+#define SUPERIO_SMSC_FDC37M60X_CHIP_H
 
 #include <device/device.h>
 #include <pc80/keyboard.h>
@@ -32,4 +32,4 @@ struct superio_smsc_fdc37m60x_config {
        struct pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_SMSC_FDC37M60X */
+#endif
index 3424faf903eee79fccf61b76255a711c6806a50e..22c24c73e5747bd92b9ebec674bae55af5276b9c 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_FDC37M60X_FDC37M60X_H
+#define SUPERIO_SMSC_FDC37M60X_FDC37M60X_H
+
 /*
  * Datasheet:
  *   - Name: FDC37M60x Enhanced Super I/O Controller with Infrared Support.
@@ -36,3 +39,5 @@
 #define FDC37M60X_SP2  0x05 /* Com2 */
 #define FDC37M60X_KBCK 0x07 /* Keyboard */
 #define FDC37M60X_AUX  0x08 /* Auxiliary I/O */
+
+#endif
index c486a7305a18e2bccde2fe17813e2eac8fcc2c35..0d8c18a8cba8db16a6a2f020fd86df5eded84914 100644 (file)
@@ -17,8 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef _SUPERIO_SMSC_FDC37N972
-#define _SUPERIO_SMSC_FDC37N972
+#ifndef SUPERIO_SMSC_FDC37N972_CHIP_H
+#define SUPERIO_SMSC_FDC37N972_CHIP_H
 
 #include <device/device.h>
 #include <pc80/keyboard.h>
@@ -31,5 +31,5 @@ struct superio_smsc_fdc37n972_config {
        struct pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_SMSC_FDC37N972 */
+#endif
 
index 0825fc9be248b3d43bfe5f70903ae0c47490f1a4..91b34104082e2033a1b472478394a6eb61880525 100644 (file)
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_FDC37N972_FDC37N972_H
+#define SUPERIO_SMSC_FDC37N972_FDC37N972_H
+
 #define FDC37N972_FDC  0x00 /* Floppy */
 #define FDC37N972_PP   0x03 /* Parallel port */
 #define FDC37N972_SP1  0x04 /* Serial port 1 */
@@ -26,3 +29,4 @@
 #define FDC37N972_EC   0x08 /* Environmental Controller */
 #define FDC37N972_MBX  0x09 /* Mailbox register */
 
+#endif
index 85b4040dfc89c91e97e2d0950c1fdf6363e17a4c..b96063c7f74cd3687f0f186565515171f39dc96a 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47B272_CHIP_H
+#define SUPERIO_SMSC_LPC47B272_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47b272_ops;
 
@@ -28,3 +31,5 @@ struct superio_smsc_lpc47b272_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 98639de88b475f0ac56845cacdfd0365eced51db..cdd0fa4865580420a605927416fbad10a5b51d57 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47B272_LPC47B272_H
+#define SUPERIO_SMSC_LPC47B272_LPC47B272_H
+
 #define LPC47B272_FDC              0   /* Floppy */
 #define LPC47B272_PP               3   /* Parallel Port */
 #define LPC47B272_SP1              4   /* Com1 */
@@ -26,3 +29,5 @@
 #define LPC47B272_RT              10   /* Runtime reg*/
 
 #define LPC47B272_MAX_CONFIG_REGISTER  0x5F
+
+#endif
index 321fd898f12ba5417903f2196c14352005f71605..b18b6a556fe259c824724f7523d5722734b9b112 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47B397_CHIP_H
+#define SUPERIO_SMSC_LPC47B397_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47b397_ops;
 
@@ -30,3 +33,5 @@ struct superio_smsc_lpc47b397_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 91bad4730c104277272007fe199fb8c90ccea108..e9532d9ff42e2f1eda78485918305ff4a1c2b49e 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47B397_LPC47B397_H
+#define SUPERIO_SMSC_LPC47B397_LPC47B397_H
+
 #define LPC47B397_FDC          0       /* Floppy */
 #define LPC47B397_PP           3       /* Parallel Port */
 #define LPC47B397_SP1          4       /* Com1 */
@@ -27,3 +30,5 @@
 #define LPC47B397_KBC          7       /* Keyboard & Mouse */
 #define LPC47B397_HWM          8       /* HW Monitor */
 #define LPC47B397_RT           10      /* Runtime reg*/
+
+#endif
index abd21be92660fd4f3c9fdcd3120eb165e427978d..ace92f1c2f95e15ea55a77cb4960c884e926ba12 100644 (file)
@@ -22,6 +22,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47M10X_CHIP_H
+#define SUPERIO_SMSC_LPC47M10X_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47m10x_ops;
 
@@ -32,3 +35,5 @@ struct superio_smsc_lpc47m10x_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 2fd4ba76b4f725828d5e98c51bd6d5089d0b9a6a..604016c0e0a94cad78b85cc51c50781fae06120c 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47M10X_LPC47M10X_H
+#define SUPERIO_SMSC_LPC47M10X_LPC47M10X_H
+
 #define LPC47M10X2_FDC              0   /* Floppy */
 #define LPC47M10X2_PP               3   /* Parallel Port */
 #define LPC47M10X2_SP1              4   /* Com1 */
@@ -30,3 +33,5 @@
 #define LPC47M10X2_MPU           10   /* MPE -- who knows --   reg*/
 
 #define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
+
+#endif
index 199ffd694a4c4bd4b612181cb1a3aeeace21fb79..a4532bb4548158af6af1d2447e06f18eb7feb841 100644 (file)
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47M15X_CHIP_H
+#define SUPERIO_SMSC_LPC47M15X_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47m15x_ops;
 
@@ -27,3 +30,5 @@ struct superio_smsc_lpc47m15x_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index e469e615e5314754aa7fbca97a42ba993db0bb78..5f6246651128e414aa56814df16637585ac57705 100644 (file)
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47M15X_LPC47M15X_H
+#define SUPERIO_SMSC_LPC47M15X_LPC47M15X_H
+
 #define LPC47M15X_FDC              0   /* Floppy */
 #define LPC47M15X_PP               3   /* Parallel Port */
 #define LPC47M15X_SP1              4   /* Com1 */
@@ -27,3 +30,5 @@
 #define LPC47M15X_MPU             11   /* MPE -- who knows --   reg*/
 
 #define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
+
+#endif
index 4369c263bd51515754a1a05c5108f3da92364edb..0eda25f6b125a13a5f2bcdb68eaade7508b9e99f 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47N217_CHIP_H
+#define SUPERIO_SMSC_LPC47N217_CHIP_H
+
 struct chip_operations;
 extern struct chip_operations superio_smsc_lpc47n217_ops;
 
@@ -26,3 +29,5 @@ extern struct chip_operations superio_smsc_lpc47n217_ops;
 struct superio_smsc_lpc47n217_config {
        struct uart8250 com1, com2;
 };
+
+#endif
index 3795821129b790158ca408c963319c8ef0b0291d..e0ee010c35950784004299acf9ac9f4e321efa23 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-/* These are arbitrary, but must match declarations in the mainboard config file.
- * Values chosen to match SMSC 47B37x.
- */
+#ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H
+#define SUPERIO_SMSC_LPC47N217_LPC47N217_H
 
+/*
+ * These are arbitrary, but must match declarations in the mainboard
+ * devicetree.cb file. Values chosen to match SMSC LPC47B37x.
+ */
 #define LPC47N217_PP               3   /* Parallel Port */
 #define LPC47N217_SP1              4   /* Com1 */
 #define LPC47N217_SP2              5   /* Com2 */
 
 #define LPC47N217_MAX_CONFIG_REGISTER  0x39
+
+#endif
index ef1030751e950635e8a5f0db08b01eb7a8916512..b2d0a9218f30b194a6a691c40bdba14696d821eb 100644 (file)
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47N227_CHIP_H
+#define SUPERIO_SMSC_LPC47N227_CHIP_H
+
 #include <device/device.h>
 #include <pc80/keyboard.h>
 #include <uart8250.h>
@@ -27,3 +30,5 @@ struct superio_smsc_lpc47n227_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 769b5beadbbc16e7b46925f0210b3ef0b5502cfc..99097a497f782c0748e1c21acb081bc8828ebb2f 100644 (file)
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_LPC47N227_LPC47N227_H
+#define SUPERIO_SMSC_LPC47N227_LPC47N227_H
+
 /*
  * Since the LPC47N227 does not have logical devices but a flat configuration
  * space, these are arbitrary, but must match declarations in the mainboard
@@ -28,3 +31,5 @@
 #define LPC47N227_KBDC             5   /* Keyboard */
 
 #define LPC47N227_MAX_CONFIG_REGISTER  0x39
+
+#endif
index 7d5c4136f5074f2d69982597108fcc1b1e606cdc..43ad1682238d678a65cdaf1e40cc6593ff3665dd 100644 (file)
@@ -17,8 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef _SUPERIO_SMSC_SIO10N268
-#define _SUPERIO_SMSC_SIO10N268
+#ifndef SUPERIO_SMSC_SIO10N268_CHIP_H
+#define SUPERIO_SMSC_SIO10N268_CHIP_H
 
 #include <device/device.h>
 #include <pc80/keyboard.h>
@@ -31,5 +31,4 @@ struct superio_smsc_sio10n268_config {
        struct pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_SMSC_SIO10N268 */
-
+#endif
index b3a635e0bf6d74652d0ad0abd492fd7170ad1602..3d868b0ec142348af8daba6476b73137d4671d0a 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-// XXX the SIO10N268 has no logical devices.
+#ifndef SUPERIO_SMSC_SIO10N268_SIO10N268_H
+#define SUPERIO_SMSC_SIO10N268_SIO10N268_H
+
+/* Note: The SIO10N268 has no logical devices. */
 
 #define SIO10N268_FDC  0x00 /* Floppy */
 #define SIO10N268_PP   0x03 /* Parallel port */
 #define SIO10N268_KBDC 0x05 /* Keyboard */
 
+#endif
index 209a307fb275e53a46a7f4c0f5b12d03fa65e56a..0dfc8d80d03f23666f852d45e5f6b3d37b95ce2b 100644 (file)
@@ -18,5 +18,4 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-#config chip.h
 ramstage-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += superio.c
index 3f017e4464fa858b9b8a8fbad04d082488440180..1655eea10250e7e8655150f8de3ebb2749eb299a 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_SMSC_SMSCSUPERIO_CHIP_H
+#define SUPERIO_SMSC_SMSCSUPERIO_CHIP_H
+
 #include <device/device.h>
 #include <pc80/keyboard.h>
 #include <uart8250.h>
@@ -28,3 +31,5 @@ struct superio_smsc_smscsuperio_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index eaffa2e9937fba7d43d28d61514c0cd85922ac35..6ce03618403931c62eff45469ccf2354fd85a0e1 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef SUPERIO_VIA_VT1211_VT1211_H
+#define SUPERIO_VIA_VT1211_VT1211_H
+
 /* Logical device numbers (LDNs). */
 #define VT1211_FDC             0x00    /* Floppy */
 #define VT1211_PP              0x01    /* Parallel port */
@@ -31,3 +34,5 @@
 #define VT1211_HWM             0x0b    /* Hardware monitor (HM) */
 #define VT1211_FIR             0x0c    /* Very fast IR (VFIR/FIR) */
 #define VT1211_ROM             0x0d    /* Flash ROM */
+
+#endif
index b948ba3f1cb158ac0fc6557f016fe4b23bd2b7cb..4aec1bf74149e1284b689638743c6b32056094fb 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627DHG_CHIP_H
+#define SUPERIO_WINBOND_W83627DHG_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -27,3 +30,5 @@ struct superio_winbond_w83627dhg_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index cd74fe33972463c36209bf5abf9a41ecb98e92e8..8a1668c4dc7b21bfd7a09714a060361517195c81 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627DHG_W83627DHG_H
+#define SUPERIO_WINBOND_W83627DHG_W83627DHG_H
+
 #define W83627DHG_FDC              0   /* Floppy */
 #define W83627DHG_PP               1   /* Parallel port */
 #define W83627DHG_SP1              2   /* Com1 */
@@ -30,3 +33,5 @@
 #define W83627DHG_ACPI            10   /* ACPI */
 #define W83627DHG_HWM             11   /* Hardware monitor */
 #define W83627DHG_PECI_SST        12   /* PECI, SST */
+
+#endif
index e95365357a453a0374def233dd35de18a16c4d96..21a53de4ab6729bfe8985770341f4d8dc8b9a4d6 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627EHG_CHIP_H
+#define SUPERIO_WINBOND_W83627EHG_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -28,3 +31,5 @@ struct superio_winbond_w83627ehg_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 2ae8431a282a97e26a25b22cc76a994f8228546a..f03cf0672d12f1c57abb5eeb1525898188550ca7 100644 (file)
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef __SUPERIO_WINBOND_W83627EHG_W83627EHG_H
-#define __SUPERIO_WINBOND_W83627EHG_W83627EHG_H
+#ifndef SUPERIO_WINBOND_W83627EHG_W83627EHG_H
+#define SUPERIO_WINBOND_W83627EHG_W83627EHG_H
 
 #define W83627EHG_FDC              0   /* Floppy */
 #define W83627EHG_PP               1   /* Parallel Port */
index e8dfe2ea9954ee7f50205a408025e7d3b86e5e46..20f3d1782f5542a6346132ac0a0981ebdd666d37 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627HF_CHIP_H
+#define SUPERIO_WINBOND_W83627HF_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -29,3 +32,5 @@ struct superio_winbond_w83627hf_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 093084333c928b0541cf60edac483050e59e0002..cb186a90f66ec3f5f68b13f0a56fccb5971d0989 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef __SUPERIO_WINBOND_W83627HF_W83627HF_H
-#define __SUPERIO_WINBOND_W83627HF_W83627HF_H
+#ifndef SUPERIO_WINBOND_W83627HF_W83627HF_H
+#define SUPERIO_WINBOND_W83627HF_W83627HF_H
 
 #define W83627HF_FDC              0   /* Floppy */
 #define W83627HF_PP               1   /* Parallel Port */
index 6f45535fa5802af9e7d0266b47561072a2ae5ca3..427c34f598228ed7065527931572a2802d9de192 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627THF_CHIP_H
+#define SUPERIO_WINBOND_W83627THF_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -29,3 +32,5 @@ struct superio_winbond_w83627thf_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index b92234b86b4b2a0c9a7f87894d72201309d49576..cc59b9dbb4f9e48e2cd8d0db878f20224ee0e587 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627THF_W83627THF_H
+#define SUPERIO_WINBOND_W83627THF_W83627THF_H
+
 #define W83627THF_FDC              0   /* Floppy */
 #define W83627THF_PP               1   /* Parallel Port */
 #define W83627THF_SP1              2   /* Com1 */
@@ -31,3 +34,5 @@
 #define W83627THF_GPIO3            9
 #define W83627THF_ACPI            10
 #define W83627THF_HWM             11   /* Hardware Monitor */
+
+#endif
index 3decc8471333c58f7d43c85b619fbf6546ae7b46..30e0378d9921e99b7abbb1291ddc4a3ada1fce13 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627THG_CHIP_H
+#define SUPERIO_WINBOND_W83627THG_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -29,3 +32,5 @@ struct superio_winbond_w83627thg_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 3456f80f4242c503cb5ff757e7fed8a243ee2c17..a00814b6aec9da79434bdbe03d229e972a4c676e 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
+#define SUPERIO_WINBOND_W83627THG_W83627THG_H
+
 #define W83627THG_FDC              0   /* Floppy */
 #define W83627THG_PP               1   /* Parallel Port */
 #define W83627THG_SP1              2   /* Com1 */
@@ -30,3 +33,5 @@
 #define W83627THG_GPIO3            9
 #define W83627THG_ACPI            10
 #define W83627THG_HWM             11   /* Hardware Monitor */
+
+#endif
index fa1a653516706d3ebd2f83495a26885cf9448b5a..74a41f8feba328dde5079374ae2245ebfc0d369c 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 $
  */
 
+#ifndef SUPERIO_WINBOND_W83627UHG_CHIP_H
+#define SUPERIO_WINBOND_W83627UHG_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -27,3 +30,5 @@ struct superio_winbond_w83627uhg_config {
        struct uart8250 com1, com2, com3, com4, com5, com6;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 4dd168e9e6be3882083364bf32425a681d9e40a7..ca7248f9d59798fee651d705d1a16daf5ac0d9c1 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 $
  */
 
+#ifndef SUPERIO_WINBOND_W83627UHG_W83627UHG_H
+#define SUPERIO_WINBOND_W83627UHG_W83627UHG_H
+
 #define W83627UHG_FDC                  0   /* Floppy */
 #define W83627UHG_PP                   1   /* Parallel port */
 #define W83627UHG_SP1                  2   /* Com1 */
@@ -33,3 +36,5 @@
 #define W83627UHG_SP4                  13  /* Com4 */
 #define W83627UHG_SP5                  14  /* Com5 */
 #define W83627UHG_SP6                  15  /* Com6 */
+
+#endif
index 3bc316cb6abbba1f3b8677f72bf9d06ee9388b7f..cb7aebd9afa76de977445029453bf8df1b1ed34f 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83697HF_CHIP_H
+#define SUPERIO_WINBOND_W83697HF_CHIP_H
+
 #include <uart8250.h>
 
 extern struct chip_operations superio_winbond_w83697hf_ops;
@@ -25,3 +28,5 @@ extern struct chip_operations superio_winbond_w83697hf_ops;
 struct superio_winbond_w83697hf_config {
        struct uart8250 com1, com2;
 };
+
+#endif
index 1bc1bcdf19d8f5fcf94be09a7525edd1f796b0eb..3e979c911db34d3fb244dd088866d821840681a8 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83697HF_W83697HF_H
+#define SUPERIO_WINBOND_W83697HF_W83697HF_H
+
 #define W83697HF_FDC            0    /* Floppy */
 #define W83697HF_PP             1    /* Parallel Port */
 #define W83697HF_SP1            2    /* Com1 */
@@ -28,3 +31,5 @@
 #define W83697HF_GPIO234        9    /* GPIO 2, 3, 4 */
 #define W83697HF_ACPI           10   /* ACPI */
 #define W83697HF_HWM            11   /* Hardware Monitor */
+
+#endif
index 5842299ed138c8213da1a97aa0358f4d1d406401..94a8cb694a70a2fa98628222ae1368b936b0bd13 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83977F_CHIP_H
+#define SUPERIO_WINBOND_W83977F_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -27,3 +30,5 @@ struct superio_winbond_w83977f_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index 0c1c626e5a132ec4aa7f25c52057dddbab61564c..25eb1cbc7fd78e3a5670222f96af331a6e4e9dab 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83977F_W83977F_H
+#define SUPERIO_WINBOND_W83977F_W83977F_H
+
 #define W83977F_FDC    0       /* Floppy */
 #define W83977F_PP     1       /* Parallel Port */
 #define W83977F_SP1    2       /* Com1 */
@@ -27,3 +30,5 @@
 #define W83977F_IR     6       /* Infrared Port */
 #define W83977F_GPIO1  7       /* General Purpose I/O 1 */
 #define W83977F_GPIO2  8       /* General Purpose I/O 2 */
+
+#endif
index 62ed2833f24e5c886a3393e99ebfcc6cc31698d0..1af2f94d061476972d51f059e8d7ee88dd7b4902 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83977TF_CHIP_H
+#define SUPERIO_WINBOND_W83977TF_CHIP_H
+
 #include <pc80/keyboard.h>
 #include <uart8250.h>
 
@@ -29,3 +32,5 @@ struct superio_winbond_w83977tf_config {
        struct uart8250 com1, com2;
        struct pc_keyboard keyboard;
 };
+
+#endif
index c75fc8c8a0ff04eca0e9e0a05598a5f1afc2f9e2..2e0e9232f00b0892f5561f50be18663c680e0ba9 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef SUPERIO_WINBOND_W83977TF_W83977TF_H
+#define SUPERIO_WINBOND_W83977TF_W83977TF_H
+
 #define W83977TF_FDC              0   /* Floppy */
 #define W83977TF_PP               1   /* Parallel Port */
 #define W83977TF_SP1              2   /* Com1 */
@@ -30,3 +33,5 @@
 #define W83977TF_GPIO2            8
 #define W83977TF_GPIO3            9
 #define W83977TF_ACPI            10
+
+#endif