Add #include guards to all Super I/O header files (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6049 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
		| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <device/device.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -28,3 +31,5 @@ extern struct chip_operations superio_fintek_f71805f_ops; | |||||||
| struct superio_fintek_f71805f_config { | struct superio_fintek_f71805f_config { | ||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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: |  * Datasheet: | ||||||
|  *  - Name: F71805F/FG Super H/W Monitor + LPC IO |  *  - Name: F71805F/FG Super H/W Monitor + LPC IO | ||||||
| @@ -34,3 +37,5 @@ | |||||||
| #define	F71805F_HWM	0x04	/* Hardware monitor */ | #define	F71805F_HWM	0x04	/* Hardware monitor */ | ||||||
| #define	F71805F_GPIO	0x06	/* General Purpose I/O (GPIO) */ | #define	F71805F_GPIO	0x06	/* General Purpose I/O (GPIO) */ | ||||||
| #define	F71805F_PME	0x0a	/* Power Management Events (PME) */ | #define	F71805F_PME	0x0a	/* Power Management Events (PME) */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <device/device.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -26,3 +29,5 @@ extern struct chip_operations superio_fintek_f71859_ops; | |||||||
| struct superio_fintek_f71859_config { | struct superio_fintek_f71859_config { | ||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,7 +18,10 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 */ | #define F71859_SP1	0x03	/* UART1 */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <device/device.h> | #include <device/device.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
| @@ -28,3 +31,5 @@ struct superio_fintek_f71863fg_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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). */ | /* Logical Device Numbers (LDN). */ | ||||||
| #define F71863FG_FDC	0x00	/* Floppy */ | #define F71863FG_FDC	0x00	/* Floppy */ | ||||||
| #define F71863FG_SP1	0x01	/* UART1 */ | #define F71863FG_SP1	0x01	/* UART1 */ | ||||||
| @@ -29,3 +32,5 @@ | |||||||
| #define	F71863FG_VID	0x07	/* VID */ | #define	F71863FG_VID	0x07	/* VID */ | ||||||
| #define	F71863FG_SPI	0x08	/* SPI */ | #define	F71863FG_SPI	0x08	/* SPI */ | ||||||
| #define	F71863FG_PME	0x0a	/* Power Management Events (PME) and ACPI */ | #define	F71863FG_PME	0x0a	/* Power Management Events (PME) and ACPI */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <device/device.h> | #include <device/device.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
| @@ -28,3 +31,5 @@ struct superio_fintek_f71889_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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). */ | /* Logical Device Numbers (LDN). */ | ||||||
| #define F71889_FDC	0x00	/* Floppy */ | #define F71889_FDC	0x00	/* Floppy */ | ||||||
| #define F71889_SP1	0x01	/* UART1 */ | #define F71889_SP1	0x01	/* UART1 */ | ||||||
| @@ -30,3 +33,5 @@ | |||||||
| #define F71889_SPI	0x08	/* SPI */ | #define F71889_SPI	0x08	/* SPI */ | ||||||
| #define F71889_PME	0x0a	/* Power Management Events (PME) and ACPI */ | #define F71889_PME	0x0a	/* Power Management Events (PME) and ACPI */ | ||||||
| #define F71889_VREF	0x0b	/* Vref */ | #define F71889_VREF	0x0b	/* Vref */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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: |  * Datasheet: | ||||||
|  *  - Name: Intel 3100 Chipset |  *  - Name: Intel 3100 Chipset | ||||||
| @@ -27,9 +30,6 @@ | |||||||
|  *  - Order number: 313458-007US |  *  - 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 |  * 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. |  * very similar to a Super I/O, both in functionality and config mechanism. | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 */ | /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8661_2.asp */ | ||||||
|  |  | ||||||
| #define IT8661F_FDC  0x00 /* Floppy */ | #define IT8661F_FDC  0x00 /* Floppy */ | ||||||
| @@ -26,3 +29,5 @@ | |||||||
| #define IT8661F_PP   0x03 /* Parallel port */ | #define IT8661F_PP   0x03 /* Parallel port */ | ||||||
| #define IT8661F_IR   0x04 /* IR */ | #define IT8661F_IR   0x04 /* IR */ | ||||||
| #define IT8661F_GPIO 0x05 /* GPIO & Alternate Function Configuration */ | #define IT8661F_GPIO 0x05 /* GPIO & Alternate Function Configuration */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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. */ | /* Datasheet: Not available online, got it from ITE per request. */ | ||||||
|  |  | ||||||
| #define IT8671F_FDC  0x00 /* Floppy */ | #define IT8671F_FDC  0x00 /* Floppy */ | ||||||
| @@ -26,3 +29,5 @@ | |||||||
| #define IT8671F_PP   0x03 /* Parallel port */ | #define IT8671F_PP   0x03 /* Parallel port */ | ||||||
| #define IT8671F_KBCK 0x05 /* PS/2 keyboard */ | #define IT8671F_KBCK 0x05 /* PS/2 keyboard */ | ||||||
| #define IT8671F_KBCM 0x06 /* PS/2 mouse */ | #define IT8671F_KBCM 0x06 /* PS/2 mouse */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 */ | /* Datasheet: http://www.datasheet4u.com/html/I/T/8/IT8673F_ITE.pdf.html */ | ||||||
|  |  | ||||||
| #define IT8673F_FDC  0x00 /* Floppy */ | #define IT8673F_FDC  0x00 /* Floppy */ | ||||||
| @@ -27,3 +30,5 @@ | |||||||
| #define IT8673F_FAN  0x04 /* Fan controller */ | #define IT8673F_FAN  0x04 /* Fan controller */ | ||||||
| #define IT8673F_KBCK 0x05 /* PS/2 keyboard */ | #define IT8673F_KBCK 0x05 /* PS/2 keyboard */ | ||||||
| #define IT8673F_KBCM 0x06 /* PS/2 mouse */ | #define IT8673F_KBCM 0x06 /* PS/2 mouse */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 */ | /* 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. */ | /* 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_GAME 0x06 /* GAME port */ | ||||||
| #define IT8705F_IR   0x07 /* Consumer IR */ | #define IT8705F_IR   0x07 /* Consumer IR */ | ||||||
| #define IT8705F_MIDI 0x08 /* MIDI port */ | #define IT8705F_MIDI 0x08 /* MIDI port */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 */ | /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8712_2.asp */ | ||||||
|  |  | ||||||
| #define IT8712F_FDC  0x00 /* Floppy */ | #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_24mhz_clkin(void); | ||||||
| void it8712f_enable_3vsbsw(void); | void it8712f_enable_3vsbsw(void); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,11 +18,12 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 | #ifndef SUPERIO_ITE_IT8716F_IT8716F_H | ||||||
| #define 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_FDC  0x00 /* Floppy */ | ||||||
| #define IT8716F_SP1  0x01 /* Com1 */ | #define IT8716F_SP1  0x01 /* Com1 */ | ||||||
| #define IT8716F_SP2  0x02 /* Com2 */ | #define IT8716F_SP2  0x02 /* Com2 */ | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 */ | /* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8718_2.asp */ | ||||||
|  |  | ||||||
| #define IT8718F_FDC  0x00 /* Floppy */ | #define IT8718F_FDC  0x00 /* Floppy */ | ||||||
| @@ -36,3 +39,4 @@ void it8718f_disable_reboot(void); | |||||||
| void it8718f_enable_serial(device_t dev, u16 iobase); | void it8718f_enable_serial(device_t dev, u16 iobase); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_nsc_pc8374_ops; | extern struct chip_operations superio_nsc_pc8374_ops; | ||||||
|  |  | ||||||
| @@ -29,3 +32,5 @@ struct superio_nsc_pc8374_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC  0x00 /* Floppy */ | ||||||
| #define PC8374_PP   0x01 /* Parallel port */ | #define PC8374_PP   0x01 /* Parallel port */ | ||||||
| #define PC8374_SP2  0x02 /* Com2 */ | #define PC8374_SP2  0x02 /* Com2 */ | ||||||
| @@ -27,4 +30,6 @@ | |||||||
| #define PC8374_KBCM 0x05 /* Mouse */ | #define PC8374_KBCM 0x05 /* Mouse */ | ||||||
| #define PC8374_KBCK 0x06 /* Keyboard */ | #define PC8374_KBCK 0x06 /* Keyboard */ | ||||||
| #define PC8374_GPIO 0x07 | #define PC8374_GPIO 0x07 | ||||||
| #define PC8374_HM  0x08 | #define PC8374_HM   0x08 | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -27,3 +30,5 @@ struct superio_nsc_pc87309_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,8 +18,10 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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. */ | /* 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_FDC  0x00	/* Floppy */ | ||||||
| #define PC87309_PP   0x01	/* Parallel port */ | #define PC87309_PP   0x01	/* Parallel port */ | ||||||
| @@ -28,3 +30,5 @@ | |||||||
| #define PC87309_PM   0x04	/* Power management */ | #define PC87309_PM   0x04	/* Power management */ | ||||||
| #define PC87309_KBCM 0x05	/* Mouse */ | #define PC87309_KBCM 0x05	/* Mouse */ | ||||||
| #define PC87309_KBCK 0x06	/* Keyboard */ | #define PC87309_KBCK 0x06	/* Keyboard */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_nsc_pc87351_ops; | extern struct chip_operations superio_nsc_pc87351_ops; | ||||||
|  |  | ||||||
| @@ -29,3 +32,5 @@ struct superio_nsc_pc87351_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC  0x00 /* Floppy */ | ||||||
| #define PC87351_PP   0x01 /* Parallel port */ | #define PC87351_PP   0x01 /* Parallel port */ | ||||||
| #define PC87351_SP2  0x02 /* Com2 */ | #define PC87351_SP2  0x02 /* Com2 */ | ||||||
| @@ -28,3 +31,5 @@ | |||||||
| #define PC87351_KBCK 0x06 /* Keyboard */ | #define PC87351_KBCK 0x06 /* Keyboard */ | ||||||
| #define PC87351_GPIO 0x07 /* General purpose IO */ | #define PC87351_GPIO 0x07 /* General purpose IO */ | ||||||
| #define PC87351_FSD  0x08 /* Fan speed device */ | #define PC87351_FSD  0x08 /* Fan speed device */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_nsc_pc87360_ops; | extern struct chip_operations superio_nsc_pc87360_ops; | ||||||
|  |  | ||||||
| @@ -29,3 +32,5 @@ struct superio_nsc_pc87360_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC  0x00 /* Floppy */ | ||||||
| #define PC87360_PP   0x01 /* Parallel port */ | #define PC87360_PP   0x01 /* Parallel port */ | ||||||
| #define PC87360_SP2  0x02 /* Com2 */ | #define PC87360_SP2  0x02 /* Com2 */ | ||||||
| @@ -30,3 +33,5 @@ | |||||||
| #define PC87360_ACB  0x08 | #define PC87360_ACB  0x08 | ||||||
| #define PC87360_FSCM 0x09 | #define PC87360_FSCM 0x09 | ||||||
| #define PC87360_WDT  0x0A | #define PC87360_WDT  0x0A | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | extern struct chip_operations superio_nsc_pc87366_ops; | ||||||
|  |  | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| @@ -28,3 +31,5 @@ struct superio_nsc_pc87366_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC  0x00 /* Floppy */ | ||||||
| #define PC87366_PP   0x01 /* Parallel port */ | #define PC87366_PP   0x01 /* Parallel port */ | ||||||
| #define PC87366_SP2  0x02 /* Com2 */ | #define PC87366_SP2  0x02 /* Com2 */ | ||||||
| @@ -31,6 +34,8 @@ | |||||||
| #define PC87366_FSCM 0x09 | #define PC87366_FSCM 0x09 | ||||||
| #define PC87366_WDT  0x0A | #define PC87366_WDT  0x0A | ||||||
| #define PC87366_GMP  0x0b | #define PC87366_GMP  0x0b | ||||||
| #define PC87366_MIDI  0x0C | #define PC87366_MIDI 0x0C | ||||||
| #define PC87366_VLM  0x0D | #define PC87366_VLM  0x0D | ||||||
| #define PC87366_TMS  0x0E | #define PC87366_TMS  0x0E | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | extern struct chip_operations superio_nsc_pc87417_ops; | ||||||
|  |  | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| @@ -29,3 +32,5 @@ struct superio_nsc_pc87417_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC  0x00 /* Floppy */ | ||||||
| #define PC87417_PP   0x01 /* Parallel Port */ | #define PC87417_PP   0x01 /* Parallel Port */ | ||||||
| #define PC87417_SP2  0x02 /* Com2 */ | #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); | void pc87417_enable_dev(device_t dev); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | extern struct chip_operations superio_nsc_pc87427_ops; | ||||||
|  |  | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| @@ -28,3 +31,5 @@ struct superio_nsc_pc87427_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -1,3 +1,6 @@ | |||||||
|  | #ifndef SUPERIO_NSC_PC87427_PC87427_H | ||||||
|  | #define SUPERIO_NSC_PC87427_PC87427_H | ||||||
|  |  | ||||||
| #define PC87427_FDC  0x00 /* Floppy */ | #define PC87427_FDC  0x00 /* Floppy */ | ||||||
| #define PC87427_SP2  0x02 /* Com2 */ | #define PC87427_SP2  0x02 /* Com2 */ | ||||||
| #define PC87427_SP1  0x03 /* Com1 */ | #define PC87427_SP1  0x03 /* Com1 */ | ||||||
| @@ -91,4 +94,4 @@ | |||||||
| #define PC87427_XSCNF		0x15 | #define PC87427_XSCNF		0x15 | ||||||
| #define PC87427_XWBCNF		0x16 | #define PC87427_XWBCNF		0x16 | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,8 +18,8 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef _SUPERIO_NSC_PC97307 | #ifndef SUPERIO_NSC_PC97307_CHIP_H | ||||||
| #define _SUPERIO_NSC_PC97307 | #define SUPERIO_NSC_PC97307_CHIP_H | ||||||
|  |  | ||||||
| #ifndef PNP_INDEX_REG | #ifndef PNP_INDEX_REG | ||||||
| #define PNP_INDEX_REG   0x15C | #define PNP_INDEX_REG   0x15C | ||||||
| @@ -37,4 +37,4 @@ struct superio_nsc_pc97307_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
| #endif /* _SUPERIO_NSC_PC97307 */ | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_KBCK 0x00 /* Keyboard */ | ||||||
| #define PC97307_KBCM 0x01 /* Mouse */ | #define PC97307_KBCM 0x01 /* Mouse */ | ||||||
| #define PC97307_RTC  0x02 /* Real-Time Clock */ | #define PC97307_RTC  0x02 /* Real-Time Clock */ | ||||||
| @@ -28,3 +31,4 @@ | |||||||
| #define PC97307_GPIO 0x07 | #define PC97307_GPIO 0x07 | ||||||
| #define PC97307_PM   0x08 /* Power Management */ | #define PC97307_PM   0x08 /* Power Management */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,8 +18,8 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef _SUPERIO_NSC_PC97317 | #ifndef SUPERIO_NSC_PC97317_CHIP_H | ||||||
| #define _SUPERIO_NSC_PC97317 | #define SUPERIO_NSC_PC97317_CHIP_H | ||||||
|  |  | ||||||
| #ifndef PNP_INDEX_REG | #ifndef PNP_INDEX_REG | ||||||
| #define PNP_INDEX_REG   0x15C | #define PNP_INDEX_REG   0x15C | ||||||
| @@ -38,4 +38,4 @@ struct superio_nsc_pc97317_config { | |||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #endif /* _SUPERIO_NSC_PC97317 */ | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_KBCK 0x00 /* Keyboard */ | ||||||
| #define PC97317_KBCM 0x01 /* Mouse */ | #define PC97317_KBCM 0x01 /* Mouse */ | ||||||
| #define PC97317_RTC  0x02 /* Real-Time Clock */ | #define PC97317_RTC  0x02 /* Real-Time Clock */ | ||||||
| @@ -27,3 +30,5 @@ | |||||||
| #define PC97317_SP1  0x06 /* Com1 */ | #define PC97317_SP1  0x06 /* Com1 */ | ||||||
| #define PC97317_GPIO 0x07 | #define PC97317_GPIO 0x07 | ||||||
| #define PC97317_PM   0x08 /* Power Management */ | #define PC97317_PM   0x08 /* Power Management */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -17,6 +17,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <device/device.h> | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
|  |  | ||||||
| @@ -26,3 +29,4 @@ struct superio_renesas_m3885x_config { | |||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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. */ | /* PILOT Super I/O is only based on LPC observation done on factory system. */ | ||||||
|  |  | ||||||
| #define PILOT_LD1 0x01 /* Logical device 1 */ | #define PILOT_LD1 0x01 /* Logical device 1 */ | ||||||
| @@ -26,3 +29,5 @@ | |||||||
| #define PILOT_LD4 0x04 /* Logical device 4 */ | #define PILOT_LD4 0x04 /* Logical device 4 */ | ||||||
| #define PILOT_LD5 0x05 /* Logical device 5 */ | #define PILOT_LD5 0x05 /* Logical device 5 */ | ||||||
| #define PILOT_LD7 0x07 /* Logical device 7 */ | #define PILOT_LD7 0x07 /* Logical device 7 */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,8 +18,8 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef _SUPERIO_SMSC_FDC37M60X | #ifndef SUPERIO_SMSC_FDC37M60X_CHIP_H | ||||||
| #define _SUPERIO_SMSC_FDC37M60X | #define SUPERIO_SMSC_FDC37M60X_CHIP_H | ||||||
|  |  | ||||||
| #include <device/device.h> | #include <device/device.h> | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| @@ -32,4 +32,4 @@ struct superio_smsc_fdc37m60x_config { | |||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #endif /* _SUPERIO_SMSC_FDC37M60X */ | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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: |  * Datasheet: | ||||||
|  *   - Name: FDC37M60x Enhanced Super I/O Controller with Infrared Support. |  *   - Name: FDC37M60x Enhanced Super I/O Controller with Infrared Support. | ||||||
| @@ -36,3 +39,5 @@ | |||||||
| #define FDC37M60X_SP2  0x05 /* Com2 */ | #define FDC37M60X_SP2  0x05 /* Com2 */ | ||||||
| #define FDC37M60X_KBCK 0x07 /* Keyboard */ | #define FDC37M60X_KBCK 0x07 /* Keyboard */ | ||||||
| #define FDC37M60X_AUX  0x08 /* Auxiliary I/O */ | #define FDC37M60X_AUX  0x08 /* Auxiliary I/O */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -17,8 +17,8 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef _SUPERIO_SMSC_FDC37N972 | #ifndef SUPERIO_SMSC_FDC37N972_CHIP_H | ||||||
| #define _SUPERIO_SMSC_FDC37N972 | #define SUPERIO_SMSC_FDC37N972_CHIP_H | ||||||
|  |  | ||||||
| #include <device/device.h> | #include <device/device.h> | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| @@ -31,5 +31,5 @@ struct superio_smsc_fdc37n972_config { | |||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #endif /* _SUPERIO_SMSC_FDC37N972 */ | #endif | ||||||
|  |  | ||||||
|   | |||||||
| @@ -17,6 +17,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC  0x00 /* Floppy */ | ||||||
| #define FDC37N972_PP   0x03 /* Parallel port */ | #define FDC37N972_PP   0x03 /* Parallel port */ | ||||||
| #define FDC37N972_SP1  0x04 /* Serial port 1 */ | #define FDC37N972_SP1  0x04 /* Serial port 1 */ | ||||||
| @@ -26,3 +29,4 @@ | |||||||
| #define FDC37N972_EC   0x08 /* Environmental Controller */ | #define FDC37N972_EC   0x08 /* Environmental Controller */ | ||||||
| #define FDC37N972_MBX  0x09 /* Mailbox register */ | #define FDC37N972_MBX  0x09 /* Mailbox register */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_smsc_lpc47b272_ops; | extern struct chip_operations superio_smsc_lpc47b272_ops; | ||||||
|  |  | ||||||
| @@ -28,3 +31,5 @@ struct superio_smsc_lpc47b272_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC              0   /* Floppy */ | ||||||
| #define LPC47B272_PP               3   /* Parallel Port */ | #define LPC47B272_PP               3   /* Parallel Port */ | ||||||
| #define LPC47B272_SP1              4   /* Com1 */ | #define LPC47B272_SP1              4   /* Com1 */ | ||||||
| @@ -26,3 +29,5 @@ | |||||||
| #define LPC47B272_RT              10   /* Runtime reg*/ | #define LPC47B272_RT              10   /* Runtime reg*/ | ||||||
|  |  | ||||||
| #define LPC47B272_MAX_CONFIG_REGISTER	0x5F | #define LPC47B272_MAX_CONFIG_REGISTER	0x5F | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_smsc_lpc47b397_ops; | extern struct chip_operations superio_smsc_lpc47b397_ops; | ||||||
|  |  | ||||||
| @@ -30,3 +33,5 @@ struct superio_smsc_lpc47b397_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC		0	/* Floppy */ | ||||||
| #define LPC47B397_PP		3	/* Parallel Port */ | #define LPC47B397_PP		3	/* Parallel Port */ | ||||||
| #define LPC47B397_SP1		4	/* Com1 */ | #define LPC47B397_SP1		4	/* Com1 */ | ||||||
| @@ -27,3 +30,5 @@ | |||||||
| #define LPC47B397_KBC		7	/* Keyboard & Mouse */ | #define LPC47B397_KBC		7	/* Keyboard & Mouse */ | ||||||
| #define LPC47B397_HWM		8	/* HW Monitor */ | #define LPC47B397_HWM		8	/* HW Monitor */ | ||||||
| #define LPC47B397_RT		10	/* Runtime reg*/ | #define LPC47B397_RT		10	/* Runtime reg*/ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -22,6 +22,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_smsc_lpc47m10x_ops; | extern struct chip_operations superio_smsc_lpc47m10x_ops; | ||||||
|  |  | ||||||
| @@ -32,3 +35,5 @@ struct superio_smsc_lpc47m10x_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA |  * 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_FDC              0   /* Floppy */ | ||||||
| #define LPC47M10X2_PP               3   /* Parallel Port */ | #define LPC47M10X2_PP               3   /* Parallel Port */ | ||||||
| #define LPC47M10X2_SP1              4   /* Com1 */ | #define LPC47M10X2_SP1              4   /* Com1 */ | ||||||
| @@ -30,3 +33,5 @@ | |||||||
| #define LPC47M10X2_MPU           10   /* MPE -- who knows --   reg*/ | #define LPC47M10X2_MPU           10   /* MPE -- who knows --   reg*/ | ||||||
|  |  | ||||||
| #define LPC47M10X2_MAX_CONFIG_REGISTER	0x5F | #define LPC47M10X2_MAX_CONFIG_REGISTER	0x5F | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -17,6 +17,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_smsc_lpc47m15x_ops; | extern struct chip_operations superio_smsc_lpc47m15x_ops; | ||||||
|  |  | ||||||
| @@ -27,3 +30,5 @@ struct superio_smsc_lpc47m15x_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -17,6 +17,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC              0   /* Floppy */ | ||||||
| #define LPC47M15X_PP               3   /* Parallel Port */ | #define LPC47M15X_PP               3   /* Parallel Port */ | ||||||
| #define LPC47M15X_SP1              4   /* Com1 */ | #define LPC47M15X_SP1              4   /* Com1 */ | ||||||
| @@ -27,3 +30,5 @@ | |||||||
| #define LPC47M15X_MPU             11   /* MPE -- who knows --   reg*/ | #define LPC47M15X_MPU             11   /* MPE -- who knows --   reg*/ | ||||||
|  |  | ||||||
| #define LPC47M15X2_MAX_CONFIG_REGISTER	0x5F | #define LPC47M15X2_MAX_CONFIG_REGISTER	0x5F | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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; | struct chip_operations; | ||||||
| extern struct chip_operations superio_smsc_lpc47n217_ops; | 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 superio_smsc_lpc47n217_config { | ||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,12 +18,17 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| /* These are arbitrary, but must match declarations in the mainboard config file. | #ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H | ||||||
|  * Values chosen to match SMSC 47B37x. | #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_PP               3   /* Parallel Port */ | ||||||
| #define LPC47N217_SP1              4   /* Com1 */ | #define LPC47N217_SP1              4   /* Com1 */ | ||||||
| #define LPC47N217_SP2              5   /* Com2 */ | #define LPC47N217_SP2              5   /* Com2 */ | ||||||
|  |  | ||||||
| #define LPC47N217_MAX_CONFIG_REGISTER	0x39 | #define LPC47N217_MAX_CONFIG_REGISTER	0x39 | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -17,6 +17,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <device/device.h> | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
| @@ -27,3 +30,5 @@ struct superio_smsc_lpc47n227_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -17,6 +17,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 |  * Since the LPC47N227 does not have logical devices but a flat configuration | ||||||
|  * space, these are arbitrary, but must match declarations in the mainboard |  * space, these are arbitrary, but must match declarations in the mainboard | ||||||
| @@ -28,3 +31,5 @@ | |||||||
| #define LPC47N227_KBDC             5	/* Keyboard */ | #define LPC47N227_KBDC             5	/* Keyboard */ | ||||||
|  |  | ||||||
| #define LPC47N227_MAX_CONFIG_REGISTER	0x39 | #define LPC47N227_MAX_CONFIG_REGISTER	0x39 | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -17,8 +17,8 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef _SUPERIO_SMSC_SIO10N268 | #ifndef SUPERIO_SMSC_SIO10N268_CHIP_H | ||||||
| #define _SUPERIO_SMSC_SIO10N268 | #define SUPERIO_SMSC_SIO10N268_CHIP_H | ||||||
|  |  | ||||||
| #include <device/device.h> | #include <device/device.h> | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| @@ -31,5 +31,4 @@ struct superio_smsc_sio10n268_config { | |||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #endif /* _SUPERIO_SMSC_SIO10N268 */ | #endif | ||||||
|  |  | ||||||
|   | |||||||
| @@ -17,9 +17,13 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC  0x00 /* Floppy */ | ||||||
| #define SIO10N268_PP   0x03 /* Parallel port */ | #define SIO10N268_PP   0x03 /* Parallel port */ | ||||||
| #define SIO10N268_KBDC 0x05 /* Keyboard */ | #define SIO10N268_KBDC 0x05 /* Keyboard */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,5 +18,4 @@ | |||||||
| ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
| ## | ## | ||||||
|  |  | ||||||
| #config chip.h |  | ||||||
| ramstage-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += superio.c | ramstage-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += superio.c | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <device/device.h> | ||||||
| #include <pc80/keyboard.h> | #include <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
| @@ -28,3 +31,5 @@ struct superio_smsc_smscsuperio_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |  * 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). */ | /* Logical device numbers (LDNs). */ | ||||||
| #define VT1211_FDC		0x00	/* Floppy */ | #define VT1211_FDC		0x00	/* Floppy */ | ||||||
| #define VT1211_PP		0x01	/* Parallel port */ | #define VT1211_PP		0x01	/* Parallel port */ | ||||||
| @@ -31,3 +34,5 @@ | |||||||
| #define VT1211_HWM		0x0b	/* Hardware monitor (HM) */ | #define VT1211_HWM		0x0b	/* Hardware monitor (HM) */ | ||||||
| #define VT1211_FIR		0x0c	/* Very fast IR (VFIR/FIR) */ | #define VT1211_FIR		0x0c	/* Very fast IR (VFIR/FIR) */ | ||||||
| #define VT1211_ROM		0x0d	/* Flash ROM */ | #define VT1211_ROM		0x0d	/* Flash ROM */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -27,3 +30,5 @@ struct superio_winbond_w83627dhg_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC              0   /* Floppy */ | ||||||
| #define W83627DHG_PP               1   /* Parallel port */ | #define W83627DHG_PP               1   /* Parallel port */ | ||||||
| #define W83627DHG_SP1              2   /* Com1 */ | #define W83627DHG_SP1              2   /* Com1 */ | ||||||
| @@ -30,3 +33,5 @@ | |||||||
| #define W83627DHG_ACPI            10   /* ACPI */ | #define W83627DHG_ACPI            10   /* ACPI */ | ||||||
| #define W83627DHG_HWM             11   /* Hardware monitor */ | #define W83627DHG_HWM             11   /* Hardware monitor */ | ||||||
| #define W83627DHG_PECI_SST        12   /* PECI, SST */ | #define W83627DHG_PECI_SST        12   /* PECI, SST */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,6 +19,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -28,3 +31,5 @@ struct superio_winbond_w83627ehg_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -19,8 +19,8 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef __SUPERIO_WINBOND_W83627EHG_W83627EHG_H | #ifndef SUPERIO_WINBOND_W83627EHG_W83627EHG_H | ||||||
| #define __SUPERIO_WINBOND_W83627EHG_W83627EHG_H | #define SUPERIO_WINBOND_W83627EHG_W83627EHG_H | ||||||
|  |  | ||||||
| #define W83627EHG_FDC              0   /* Floppy */ | #define W83627EHG_FDC              0   /* Floppy */ | ||||||
| #define W83627EHG_PP               1   /* Parallel Port */ | #define W83627EHG_PP               1   /* Parallel Port */ | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -29,3 +32,5 @@ struct superio_winbond_w83627hf_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,8 +20,8 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| #ifndef __SUPERIO_WINBOND_W83627HF_W83627HF_H | #ifndef SUPERIO_WINBOND_W83627HF_W83627HF_H | ||||||
| #define __SUPERIO_WINBOND_W83627HF_W83627HF_H | #define SUPERIO_WINBOND_W83627HF_W83627HF_H | ||||||
|  |  | ||||||
| #define W83627HF_FDC              0   /* Floppy */ | #define W83627HF_FDC              0   /* Floppy */ | ||||||
| #define W83627HF_PP               1   /* Parallel Port */ | #define W83627HF_PP               1   /* Parallel Port */ | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -29,3 +32,5 @@ struct superio_winbond_w83627thf_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC              0   /* Floppy */ | ||||||
| #define W83627THF_PP               1   /* Parallel Port */ | #define W83627THF_PP               1   /* Parallel Port */ | ||||||
| #define W83627THF_SP1              2   /* Com1 */ | #define W83627THF_SP1              2   /* Com1 */ | ||||||
| @@ -31,3 +34,5 @@ | |||||||
| #define W83627THF_GPIO3            9 | #define W83627THF_GPIO3            9 | ||||||
| #define W83627THF_ACPI            10 | #define W83627THF_ACPI            10 | ||||||
| #define W83627THF_HWM             11   /* Hardware Monitor */ | #define W83627THF_HWM             11   /* Hardware Monitor */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -29,3 +32,5 @@ struct superio_winbond_w83627thg_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC              0   /* Floppy */ | ||||||
| #define W83627THG_PP               1   /* Parallel Port */ | #define W83627THG_PP               1   /* Parallel Port */ | ||||||
| #define W83627THG_SP1              2   /* Com1 */ | #define W83627THG_SP1              2   /* Com1 */ | ||||||
| @@ -30,3 +33,5 @@ | |||||||
| #define W83627THG_GPIO3            9 | #define W83627THG_GPIO3            9 | ||||||
| #define W83627THG_ACPI            10 | #define W83627THG_ACPI            10 | ||||||
| #define W83627THG_HWM             11   /* Hardware Monitor */ | #define W83627THG_HWM             11   /* Hardware Monitor */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 $ |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -27,3 +30,5 @@ struct superio_winbond_w83627uhg_config { | |||||||
| 	struct uart8250 com1, com2, com3, com4, com5, com6; | 	struct uart8250 com1, com2, com3, com4, com5, com6; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 $ |  * 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_FDC			0   /* Floppy */ | ||||||
| #define W83627UHG_PP			1   /* Parallel port */ | #define W83627UHG_PP			1   /* Parallel port */ | ||||||
| #define W83627UHG_SP1			2   /* Com1 */ | #define W83627UHG_SP1			2   /* Com1 */ | ||||||
| @@ -33,3 +36,5 @@ | |||||||
| #define W83627UHG_SP4			13  /* Com4 */ | #define W83627UHG_SP4			13  /* Com4 */ | ||||||
| #define W83627UHG_SP5			14  /* Com5 */ | #define W83627UHG_SP5			14  /* Com5 */ | ||||||
| #define W83627UHG_SP6			15  /* Com6 */ | #define W83627UHG_SP6			15  /* Com6 */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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> | #include <uart8250.h> | ||||||
|  |  | ||||||
| extern struct chip_operations superio_winbond_w83697hf_ops; | 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 superio_winbond_w83697hf_config { | ||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC            0    /* Floppy */ | ||||||
| #define W83697HF_PP             1    /* Parallel Port */ | #define W83697HF_PP             1    /* Parallel Port */ | ||||||
| #define W83697HF_SP1            2    /* Com1 */ | #define W83697HF_SP1            2    /* Com1 */ | ||||||
| @@ -28,3 +31,5 @@ | |||||||
| #define W83697HF_GPIO234        9    /* GPIO 2, 3, 4 */ | #define W83697HF_GPIO234        9    /* GPIO 2, 3, 4 */ | ||||||
| #define W83697HF_ACPI           10   /* ACPI */ | #define W83697HF_ACPI           10   /* ACPI */ | ||||||
| #define W83697HF_HWM            11   /* Hardware Monitor */ | #define W83697HF_HWM            11   /* Hardware Monitor */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -27,3 +30,5 @@ struct superio_winbond_w83977f_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -18,6 +18,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC	0	/* Floppy */ | ||||||
| #define W83977F_PP	1	/* Parallel Port */ | #define W83977F_PP	1	/* Parallel Port */ | ||||||
| #define W83977F_SP1	2	/* Com1 */ | #define W83977F_SP1	2	/* Com1 */ | ||||||
| @@ -27,3 +30,5 @@ | |||||||
| #define W83977F_IR	6	/* Infrared Port */ | #define W83977F_IR	6	/* Infrared Port */ | ||||||
| #define W83977F_GPIO1	7	/* General Purpose I/O 1 */ | #define W83977F_GPIO1	7	/* General Purpose I/O 1 */ | ||||||
| #define W83977F_GPIO2	8	/* General Purpose I/O 2 */ | #define W83977F_GPIO2	8	/* General Purpose I/O 2 */ | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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 <pc80/keyboard.h> | ||||||
| #include <uart8250.h> | #include <uart8250.h> | ||||||
|  |  | ||||||
| @@ -29,3 +32,5 @@ struct superio_winbond_w83977tf_config { | |||||||
| 	struct uart8250 com1, com2; | 	struct uart8250 com1, com2; | ||||||
| 	struct pc_keyboard keyboard; | 	struct pc_keyboard keyboard; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
| @@ -20,6 +20,9 @@ | |||||||
|  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA |  * 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_FDC              0   /* Floppy */ | ||||||
| #define W83977TF_PP               1   /* Parallel Port */ | #define W83977TF_PP               1   /* Parallel Port */ | ||||||
| #define W83977TF_SP1              2   /* Com1 */ | #define W83977TF_SP1              2   /* Com1 */ | ||||||
| @@ -30,3 +33,5 @@ | |||||||
| #define W83977TF_GPIO2            8 | #define W83977TF_GPIO2            8 | ||||||
| #define W83977TF_GPIO3            9 | #define W83977TF_GPIO3            9 | ||||||
| #define W83977TF_ACPI            10 | #define W83977TF_ACPI            10 | ||||||
|  |  | ||||||
|  | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user