[coreboot] [commit] r6049 - in trunk/src/superio: fintek/f71805f fintek/f71859 fintek/f71863fg fintek/f71889 intel/i3100 ite/it8661f ite/it8671f ite/it8673f ite/it8705f ite/it8712f ite/it8716f ite/it8718f nsc...

repository service svn at coreboot.org
Mon Nov 8 21:55:24 CET 2010


Author: uwe
Date: Mon Nov  8 21:55:24 2010
New Revision: 6049
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6049

Log:
Add #include guards to all Super I/O header files (trivial).

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

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

Modified: trunk/src/superio/fintek/f71805f/chip.h
==============================================================================
--- trunk/src/superio/fintek/f71805f/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71805f/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 @@
 struct superio_fintek_f71805f_config {
 	struct uart8250 com1, com2;
 };
+
+#endif

Modified: trunk/src/superio/fintek/f71805f/f71805f.h
==============================================================================
--- trunk/src/superio/fintek/f71805f/f71805f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71805f/f71805f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/fintek/f71859/chip.h
==============================================================================
--- trunk/src/superio/fintek/f71859/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71859/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 @@
 struct superio_fintek_f71859_config {
 	struct uart8250 com1, com2;
 };
+
+#endif

Modified: trunk/src/superio/fintek/f71859/f71859.h
==============================================================================
--- trunk/src/superio/fintek/f71859/f71859.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71859/f71859.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -18,7 +18,10 @@
  * 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

Modified: trunk/src/superio/fintek/f71863fg/chip.h
==============================================================================
--- trunk/src/superio/fintek/f71863fg/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71863fg/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/fintek/f71863fg/f71863fg.h
==============================================================================
--- trunk/src/superio/fintek/f71863fg/f71863fg.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71863fg/f71863fg.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/fintek/f71889/chip.h
==============================================================================
--- trunk/src/superio/fintek/f71889/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71889/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/fintek/f71889/f71889.h
==============================================================================
--- trunk/src/superio/fintek/f71889/f71889.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/fintek/f71889/f71889.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/intel/i3100/i3100.h
==============================================================================
--- trunk/src/superio/intel/i3100/i3100.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/intel/i3100/i3100.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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.

Modified: trunk/src/superio/ite/it8661f/it8661f.h
==============================================================================
--- trunk/src/superio/ite/it8661f/it8661f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/ite/it8661f/it8661f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/ite/it8671f/it8671f.h
==============================================================================
--- trunk/src/superio/ite/it8671f/it8671f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/ite/it8671f/it8671f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/ite/it8673f/it8673f.h
==============================================================================
--- trunk/src/superio/ite/it8673f/it8673f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/ite/it8673f/it8673f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/ite/it8705f/it8705f.h
==============================================================================
--- trunk/src/superio/ite/it8705f/it8705f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/ite/it8705f/it8705f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/ite/it8712f/it8712f.h
==============================================================================
--- trunk/src/superio/ite/it8712f/it8712f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/ite/it8712f/it8712f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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_24mhz_clkin(void);
 void it8712f_enable_3vsbsw(void);
 #endif
+
+#endif

Modified: trunk/src/superio/ite/it8716f/it8716f.h
==============================================================================
--- trunk/src/superio/ite/it8716f/it8716f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/ite/it8716f/it8716f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 */

Modified: trunk/src/superio/ite/it8718f/it8718f.h
==============================================================================
--- trunk/src/superio/ite/it8718f/it8718f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/ite/it8718f/it8718f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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_enable_serial(device_t dev, u16 iobase);
 #endif
 
+#endif

Modified: trunk/src/superio/nsc/pc8374/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc8374/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc8374/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/nsc/pc8374/pc8374.h
==============================================================================
--- trunk/src/superio/nsc/pc8374/pc8374.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc8374/pc8374.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/nsc/pc87309/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc87309/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87309/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/nsc/pc87309/pc87309.h
==============================================================================
--- trunk/src/superio/nsc/pc87309/pc87309.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87309/pc87309.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -18,8 +18,10 @@
  * 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

Modified: trunk/src/superio/nsc/pc87351/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc87351/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87351/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/nsc/pc87351/pc87351.h
==============================================================================
--- trunk/src/superio/nsc/pc87351/pc87351.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87351/pc87351.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/nsc/pc87360/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc87360/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87360/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/nsc/pc87360/pc87360.h
==============================================================================
--- trunk/src/superio/nsc/pc87360/pc87360.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87360/pc87360.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/nsc/pc87366/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc87366/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87366/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/nsc/pc87366/pc87366.h
==============================================================================
--- trunk/src/superio/nsc/pc87366/pc87366.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87366/pc87366.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/nsc/pc87417/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc87417/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87417/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/nsc/pc87417/pc87417.h
==============================================================================
--- trunk/src/superio/nsc/pc87417/pc87417.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87417/pc87417.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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_dev(device_t dev);
 #endif
 
+#endif

Modified: trunk/src/superio/nsc/pc87427/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc87427/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87427/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/nsc/pc87427/pc87427.h
==============================================================================
--- trunk/src/superio/nsc/pc87427/pc87427.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc87427/pc87427.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/nsc/pc97307/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc97307/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc97307/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
-#endif /* _SUPERIO_NSC_PC97307 */
+#endif

Modified: trunk/src/superio/nsc/pc97307/pc97307.h
==============================================================================
--- trunk/src/superio/nsc/pc97307/pc97307.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc97307/pc97307.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/nsc/pc97317/chip.h
==============================================================================
--- trunk/src/superio/nsc/pc97317/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc97317/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_NSC_PC97317 */
+#endif

Modified: trunk/src/superio/nsc/pc97317/pc97317.h
==============================================================================
--- trunk/src/superio/nsc/pc97317/pc97317.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/nsc/pc97317/pc97317.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/renesas/m3885x/chip.h
==============================================================================
--- trunk/src/superio/renesas/m3885x/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/renesas/m3885x/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 pc_keyboard keyboard;
 };
 
+#endif

Modified: trunk/src/superio/serverengines/pilot/pilot.h
==============================================================================
--- trunk/src/superio/serverengines/pilot/pilot.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/serverengines/pilot/pilot.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/fdc37m60x/chip.h
==============================================================================
--- trunk/src/superio/smsc/fdc37m60x/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/fdc37m60x/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_SMSC_FDC37M60X */
+#endif

Modified: trunk/src/superio/smsc/fdc37m60x/fdc37m60x.h
==============================================================================
--- trunk/src/superio/smsc/fdc37m60x/fdc37m60x.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/fdc37m60x/fdc37m60x.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/fdc37n972/chip.h
==============================================================================
--- trunk/src/superio/smsc/fdc37n972/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/fdc37n972/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_SMSC_FDC37N972 */
+#endif
 

Modified: trunk/src/superio/smsc/fdc37n972/fdc37n972.h
==============================================================================
--- trunk/src/superio/smsc/fdc37n972/fdc37n972.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/fdc37n972/fdc37n972.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/lpc47b272/chip.h
==============================================================================
--- trunk/src/superio/smsc/lpc47b272/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47b272/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/smsc/lpc47b272/lpc47b272.h
==============================================================================
--- trunk/src/superio/smsc/lpc47b272/lpc47b272.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47b272/lpc47b272.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/lpc47b397/chip.h
==============================================================================
--- trunk/src/superio/smsc/lpc47b397/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47b397/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/smsc/lpc47b397/lpc47b397.h
==============================================================================
--- trunk/src/superio/smsc/lpc47b397/lpc47b397.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47b397/lpc47b397.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/lpc47m10x/chip.h
==============================================================================
--- trunk/src/superio/smsc/lpc47m10x/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47m10x/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/smsc/lpc47m10x/lpc47m10x.h
==============================================================================
--- trunk/src/superio/smsc/lpc47m10x/lpc47m10x.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47m10x/lpc47m10x.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/lpc47m15x/chip.h
==============================================================================
--- trunk/src/superio/smsc/lpc47m15x/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47m15x/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/smsc/lpc47m15x/lpc47m15x.h
==============================================================================
--- trunk/src/superio/smsc/lpc47m15x/lpc47m15x.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47m15x/lpc47m15x.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/lpc47n217/chip.h
==============================================================================
--- trunk/src/superio/smsc/lpc47n217/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47n217/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 @@
 struct superio_smsc_lpc47n217_config {
 	struct uart8250 com1, com2;
 };
+
+#endif

Modified: trunk/src/superio/smsc/lpc47n217/lpc47n217.h
==============================================================================
--- trunk/src/superio/smsc/lpc47n217/lpc47n217.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47n217/lpc47n217.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -18,12 +18,17 @@
  * 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

Modified: trunk/src/superio/smsc/lpc47n227/chip.h
==============================================================================
--- trunk/src/superio/smsc/lpc47n227/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47n227/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/smsc/lpc47n227/lpc47n227.h
==============================================================================
--- trunk/src/superio/smsc/lpc47n227/lpc47n227.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/lpc47n227/lpc47n227.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/sio10n268/chip.h
==============================================================================
--- trunk/src/superio/smsc/sio10n268/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/sio10n268/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 pc_keyboard keyboard;
 };
 
-#endif /* _SUPERIO_SMSC_SIO10N268 */
-
+#endif

Modified: trunk/src/superio/smsc/sio10n268/sio10n268.h
==============================================================================
--- trunk/src/superio/smsc/sio10n268/sio10n268.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/sio10n268/sio10n268.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -17,9 +17,13 @@
  * 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

Modified: trunk/src/superio/smsc/smscsuperio/Makefile.inc
==============================================================================
--- trunk/src/superio/smsc/smscsuperio/Makefile.inc	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/smscsuperio/Makefile.inc	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/smsc/smscsuperio/chip.h
==============================================================================
--- trunk/src/superio/smsc/smscsuperio/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/smsc/smscsuperio/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/via/vt1211/vt1211.h
==============================================================================
--- trunk/src/superio/via/vt1211/vt1211.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/via/vt1211/vt1211.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/winbond/w83627dhg/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83627dhg/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627dhg/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83627dhg/w83627dhg.h
==============================================================================
--- trunk/src/superio/winbond/w83627dhg/w83627dhg.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627dhg/w83627dhg.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/winbond/w83627ehg/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83627ehg/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627ehg/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83627ehg/w83627ehg.h
==============================================================================
--- trunk/src/superio/winbond/w83627ehg/w83627ehg.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627ehg/w83627ehg.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 */

Modified: trunk/src/superio/winbond/w83627hf/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83627hf/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627hf/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83627hf/w83627hf.h
==============================================================================
--- trunk/src/superio/winbond/w83627hf/w83627hf.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627hf/w83627hf.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 */

Modified: trunk/src/superio/winbond/w83627thf/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83627thf/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627thf/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83627thf/w83627thf.h
==============================================================================
--- trunk/src/superio/winbond/w83627thf/w83627thf.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627thf/w83627thf.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/winbond/w83627thg/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83627thg/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627thg/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83627thg/w83627thg.h
==============================================================================
--- trunk/src/superio/winbond/w83627thg/w83627thg.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627thg/w83627thg.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/winbond/w83627uhg/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83627uhg/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627uhg/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2, com3, com4, com5, com6;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83627uhg/w83627uhg.h
==============================================================================
--- trunk/src/superio/winbond/w83627uhg/w83627uhg.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83627uhg/w83627uhg.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/winbond/w83697hf/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83697hf/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83697hf/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 @@
 struct superio_winbond_w83697hf_config {
 	struct uart8250 com1, com2;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83697hf/w83697hf.h
==============================================================================
--- trunk/src/superio/winbond/w83697hf/w83697hf.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83697hf/w83697hf.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/winbond/w83977f/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83977f/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83977f/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83977f/w83977f.h
==============================================================================
--- trunk/src/superio/winbond/w83977f/w83977f.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83977f/w83977f.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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

Modified: trunk/src/superio/winbond/w83977tf/chip.h
==============================================================================
--- trunk/src/superio/winbond/w83977tf/chip.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83977tf/chip.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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 uart8250 com1, com2;
 	struct pc_keyboard keyboard;
 };
+
+#endif

Modified: trunk/src/superio/winbond/w83977tf/w83977tf.h
==============================================================================
--- trunk/src/superio/winbond/w83977tf/w83977tf.h	Mon Nov  8 18:41:43 2010	(r6048)
+++ trunk/src/superio/winbond/w83977tf/w83977tf.h	Mon Nov  8 21:55:24 2010	(r6049)
@@ -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




More information about the coreboot mailing list