Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6049
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
75 files changed:
* 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 <uart8250.h>
#include <device/device.h>
#include <uart8250.h>
struct superio_fintek_f71805f_config {
struct uart8250 com1, com2;
};
struct superio_fintek_f71805f_config {
struct uart8250 com1, com2;
};
* 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:
* - Name: F71805F/FG Super H/W Monitor + LPC IO
/*
* Datasheet:
* - Name: F71805F/FG Super H/W Monitor + LPC IO
#define F71805F_HWM 0x04 /* Hardware monitor */
#define F71805F_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F71805F_PME 0x0a /* Power Management Events (PME) */
#define F71805F_HWM 0x04 /* Hardware monitor */
#define F71805F_GPIO 0x06 /* General Purpose I/O (GPIO) */
#define F71805F_PME 0x0a /* Power Management Events (PME) */
* 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 <uart8250.h>
#include <device/device.h>
#include <uart8250.h>
struct superio_fintek_f71859_config {
struct uart8250 com1, com2;
};
struct superio_fintek_f71859_config {
struct uart8250 com1, com2;
};
* 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 */
* 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 <device/device.h>
#include <uart8250.h>
#include <pc80/keyboard.h>
#include <device/device.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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). */
#define F71863FG_FDC 0x00 /* Floppy */
#define F71863FG_SP1 0x01 /* UART1 */
/* Logical Device Numbers (LDN). */
#define F71863FG_FDC 0x00 /* Floppy */
#define F71863FG_SP1 0x01 /* UART1 */
#define F71863FG_VID 0x07 /* VID */
#define F71863FG_SPI 0x08 /* SPI */
#define F71863FG_PME 0x0a /* Power Management Events (PME) and ACPI */
#define F71863FG_VID 0x07 /* VID */
#define F71863FG_SPI 0x08 /* SPI */
#define F71863FG_PME 0x0a /* Power Management Events (PME) and ACPI */
* 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 <device/device.h>
#include <uart8250.h>
#include <pc80/keyboard.h>
#include <device/device.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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). */
#define F71889_FDC 0x00 /* Floppy */
#define F71889_SP1 0x01 /* UART1 */
/* Logical Device Numbers (LDN). */
#define F71889_FDC 0x00 /* Floppy */
#define F71889_SP1 0x01 /* UART1 */
#define F71889_SPI 0x08 /* SPI */
#define F71889_PME 0x0a /* Power Management Events (PME) and ACPI */
#define F71889_VREF 0x0b /* Vref */
#define F71889_SPI 0x08 /* SPI */
#define F71889_PME 0x0a /* Power Management Events (PME) and ACPI */
#define F71889_VREF 0x0b /* Vref */
* 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:
* - Name: Intel 3100 Chipset
/*
* Datasheet:
* - Name: Intel 3100 Chipset
* - 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
* very similar to a Super I/O, both in functionality and config mechanism.
/*
* 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.
* 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 */
#define IT8661F_FDC 0x00 /* Floppy */
/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8661_2.asp */
#define IT8661F_FDC 0x00 /* Floppy */
#define IT8661F_PP 0x03 /* Parallel port */
#define IT8661F_IR 0x04 /* IR */
#define IT8661F_GPIO 0x05 /* GPIO & Alternate Function Configuration */
#define IT8661F_PP 0x03 /* Parallel port */
#define IT8661F_IR 0x04 /* IR */
#define IT8661F_GPIO 0x05 /* GPIO & Alternate Function Configuration */
* 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. */
#define IT8671F_FDC 0x00 /* Floppy */
/* Datasheet: Not available online, got it from ITE per request. */
#define IT8671F_FDC 0x00 /* Floppy */
#define IT8671F_PP 0x03 /* Parallel port */
#define IT8671F_KBCK 0x05 /* PS/2 keyboard */
#define IT8671F_KBCM 0x06 /* PS/2 mouse */
#define IT8671F_PP 0x03 /* Parallel port */
#define IT8671F_KBCK 0x05 /* PS/2 keyboard */
#define IT8671F_KBCM 0x06 /* PS/2 mouse */
* 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 */
#define IT8673F_FDC 0x00 /* Floppy */
/* Datasheet: http://www.datasheet4u.com/html/I/T/8/IT8673F_ITE.pdf.html */
#define IT8673F_FDC 0x00 /* Floppy */
#define IT8673F_FAN 0x04 /* Fan controller */
#define IT8673F_KBCK 0x05 /* PS/2 keyboard */
#define IT8673F_KBCM 0x06 /* PS/2 mouse */
#define IT8673F_FAN 0x04 /* Fan controller */
#define IT8673F_KBCK 0x05 /* PS/2 keyboard */
#define IT8673F_KBCM 0x06 /* PS/2 mouse */
* 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 */
/* Note: This should also work on an IT8705AF, they're almost the same. */
/* 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. */
#define IT8705F_GAME 0x06 /* GAME port */
#define IT8705F_IR 0x07 /* Consumer IR */
#define IT8705F_MIDI 0x08 /* MIDI port */
#define IT8705F_GAME 0x06 /* GAME port */
#define IT8705F_IR 0x07 /* Consumer IR */
#define IT8705F_MIDI 0x08 /* MIDI port */
* 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 */
#define IT8712F_FDC 0x00 /* Floppy */
/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8712_2.asp */
#define IT8712F_FDC 0x00 /* Floppy */
void it8712f_24mhz_clkin(void);
void it8712f_enable_3vsbsw(void);
#endif
void it8712f_24mhz_clkin(void);
void it8712f_enable_3vsbsw(void);
#endif
* 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
#define SUPERIO_ITE_IT8716F_IT8716F_H
#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 */
#define IT8716F_FDC 0x00 /* Floppy */
#define IT8716F_SP1 0x01 /* Com1 */
#define IT8716F_SP2 0x02 /* Com2 */
* 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 */
#define IT8718F_FDC 0x00 /* Floppy */
/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8718_2.asp */
#define IT8718F_FDC 0x00 /* Floppy */
void it8718f_enable_serial(device_t dev, u16 iobase);
#endif
void it8718f_enable_serial(device_t dev, u16 iobase);
#endif
* 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;
extern struct chip_operations superio_nsc_pc8374_ops;
struct chip_operations;
extern struct chip_operations superio_nsc_pc8374_ops;
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 0x01 /* Parallel port */
#define PC8374_SP2 0x02 /* Com2 */
#define PC8374_FDC 0x00 /* Floppy */
#define PC8374_PP 0x01 /* Parallel port */
#define PC8374_SP2 0x02 /* Com2 */
#define PC8374_KBCM 0x05 /* Mouse */
#define PC8374_KBCK 0x06 /* Keyboard */
#define PC8374_GPIO 0x07
#define PC8374_KBCM 0x05 /* Mouse */
#define PC8374_KBCK 0x06 /* Keyboard */
#define PC8374_GPIO 0x07
+#define PC8374_HM 0x08
+
+#endif
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 0x01 /* Parallel port */
#define PC87309_FDC 0x00 /* Floppy */
#define PC87309_PP 0x01 /* Parallel port */
#define PC87309_PM 0x04 /* Power management */
#define PC87309_KBCM 0x05 /* Mouse */
#define PC87309_KBCK 0x06 /* Keyboard */
#define PC87309_PM 0x04 /* Power management */
#define PC87309_KBCM 0x05 /* Mouse */
#define PC87309_KBCK 0x06 /* Keyboard */
* 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;
extern struct chip_operations superio_nsc_pc87351_ops;
struct chip_operations;
extern struct chip_operations superio_nsc_pc87351_ops;
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 0x01 /* Parallel port */
#define PC87351_SP2 0x02 /* Com2 */
#define PC87351_FDC 0x00 /* Floppy */
#define PC87351_PP 0x01 /* Parallel port */
#define PC87351_SP2 0x02 /* Com2 */
#define PC87351_KBCK 0x06 /* Keyboard */
#define PC87351_GPIO 0x07 /* General purpose IO */
#define PC87351_FSD 0x08 /* Fan speed device */
#define PC87351_KBCK 0x06 /* Keyboard */
#define PC87351_GPIO 0x07 /* General purpose IO */
#define PC87351_FSD 0x08 /* Fan speed device */
* 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;
extern struct chip_operations superio_nsc_pc87360_ops;
struct chip_operations;
extern struct chip_operations superio_nsc_pc87360_ops;
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 0x01 /* Parallel port */
#define PC87360_SP2 0x02 /* Com2 */
#define PC87360_FDC 0x00 /* Floppy */
#define PC87360_PP 0x01 /* Parallel port */
#define PC87360_SP2 0x02 /* Com2 */
#define PC87360_ACB 0x08
#define PC87360_FSCM 0x09
#define PC87360_WDT 0x0A
#define PC87360_ACB 0x08
#define PC87360_FSCM 0x09
#define PC87360_WDT 0x0A
* 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;
#include <pc80/keyboard.h>
extern struct chip_operations superio_nsc_pc87366_ops;
#include <pc80/keyboard.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 0x01 /* Parallel port */
#define PC87366_SP2 0x02 /* Com2 */
#define PC87366_FDC 0x00 /* Floppy */
#define PC87366_PP 0x01 /* Parallel port */
#define PC87366_SP2 0x02 /* Com2 */
#define PC87366_FSCM 0x09
#define PC87366_WDT 0x0A
#define PC87366_GMP 0x0b
#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
#define PC87366_VLM 0x0D
#define PC87366_TMS 0x0E
* 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;
#include <pc80/keyboard.h>
extern struct chip_operations superio_nsc_pc87417_ops;
#include <pc80/keyboard.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 0x01 /* Parallel Port */
#define PC87417_SP2 0x02 /* Com2 */
#define PC87417_FDC 0x00 /* Floppy */
#define PC87417_PP 0x01 /* Parallel Port */
#define PC87417_SP2 0x02 /* Com2 */
void pc87417_enable_dev(device_t dev);
#endif
void pc87417_enable_dev(device_t dev);
#endif
* 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;
#include <pc80/keyboard.h>
extern struct chip_operations superio_nsc_pc87427_ops;
#include <pc80/keyboard.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
+#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 */
#define PC87427_FDC 0x00 /* Floppy */
#define PC87427_SP2 0x02 /* Com2 */
#define PC87427_SP1 0x03 /* Com1 */
#define PC87427_XSCNF 0x15
#define PC87427_XWBCNF 0x16
#define PC87427_XSCNF 0x15
#define PC87427_XWBCNF 0x16
* 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
-#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
#ifndef PNP_INDEX_REG
#define PNP_INDEX_REG 0x15C
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_NSC_PC97307 */
* 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_KBCM 0x01 /* Mouse */
#define PC97307_RTC 0x02 /* Real-Time Clock */
#define PC97307_KBCK 0x00 /* Keyboard */
#define PC97307_KBCM 0x01 /* Mouse */
#define PC97307_RTC 0x02 /* Real-Time Clock */
#define PC97307_GPIO 0x07
#define PC97307_PM 0x08 /* Power Management */
#define PC97307_GPIO 0x07
#define PC97307_PM 0x08 /* Power Management */
* 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
-#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
#ifndef PNP_INDEX_REG
#define PNP_INDEX_REG 0x15C
struct pc_keyboard keyboard;
};
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_NSC_PC97317 */
* 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_KBCM 0x01 /* Mouse */
#define PC97317_RTC 0x02 /* Real-Time Clock */
#define PC97317_KBCK 0x00 /* Keyboard */
#define PC97317_KBCM 0x01 /* Mouse */
#define PC97317_RTC 0x02 /* Real-Time Clock */
#define PC97317_SP1 0x06 /* Com1 */
#define PC97317_GPIO 0x07
#define PC97317_PM 0x08 /* Power Management */
#define PC97317_SP1 0x06 /* Com1 */
#define PC97317_GPIO 0x07
#define PC97317_PM 0x08 /* Power Management */
* 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 <pc80/keyboard.h>
#include <device/device.h>
#include <pc80/keyboard.h>
struct pc_keyboard keyboard;
};
struct pc_keyboard keyboard;
};
* 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. */
#define PILOT_LD1 0x01 /* Logical device 1 */
/* PILOT Super I/O is only based on LPC observation done on factory system. */
#define PILOT_LD1 0x01 /* Logical device 1 */
#define PILOT_LD4 0x04 /* Logical device 4 */
#define PILOT_LD5 0x05 /* Logical device 5 */
#define PILOT_LD7 0x07 /* Logical device 7 */
#define PILOT_LD4 0x04 /* Logical device 4 */
#define PILOT_LD5 0x05 /* Logical device 5 */
#define PILOT_LD7 0x07 /* Logical device 7 */
* 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
-#define _SUPERIO_SMSC_FDC37M60X
+#ifndef SUPERIO_SMSC_FDC37M60X_CHIP_H
+#define SUPERIO_SMSC_FDC37M60X_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
#include <device/device.h>
#include <pc80/keyboard.h>
struct pc_keyboard keyboard;
};
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_SMSC_FDC37M60X */
* 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:
* - Name: FDC37M60x Enhanced Super I/O Controller with Infrared Support.
/*
* Datasheet:
* - Name: FDC37M60x Enhanced Super I/O Controller with Infrared Support.
#define FDC37M60X_SP2 0x05 /* Com2 */
#define FDC37M60X_KBCK 0x07 /* Keyboard */
#define FDC37M60X_AUX 0x08 /* Auxiliary I/O */
#define FDC37M60X_SP2 0x05 /* Com2 */
#define FDC37M60X_KBCK 0x07 /* Keyboard */
#define FDC37M60X_AUX 0x08 /* Auxiliary I/O */
* 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
-#define _SUPERIO_SMSC_FDC37N972
+#ifndef SUPERIO_SMSC_FDC37N972_CHIP_H
+#define SUPERIO_SMSC_FDC37N972_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
#include <device/device.h>
#include <pc80/keyboard.h>
struct pc_keyboard keyboard;
};
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_SMSC_FDC37N972 */
* 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_PP 0x03 /* Parallel port */
#define FDC37N972_SP1 0x04 /* Serial port 1 */
#define FDC37N972_FDC 0x00 /* Floppy */
#define FDC37N972_PP 0x03 /* Parallel port */
#define FDC37N972_SP1 0x04 /* Serial port 1 */
#define FDC37N972_EC 0x08 /* Environmental Controller */
#define FDC37N972_MBX 0x09 /* Mailbox register */
#define FDC37N972_EC 0x08 /* Environmental Controller */
#define FDC37N972_MBX 0x09 /* Mailbox register */
* 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;
extern struct chip_operations superio_smsc_lpc47b272_ops;
struct chip_operations;
extern struct chip_operations superio_smsc_lpc47b272_ops;
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 3 /* Parallel Port */
#define LPC47B272_SP1 4 /* Com1 */
#define LPC47B272_FDC 0 /* Floppy */
#define LPC47B272_PP 3 /* Parallel Port */
#define LPC47B272_SP1 4 /* Com1 */
#define LPC47B272_RT 10 /* Runtime reg*/
#define LPC47B272_MAX_CONFIG_REGISTER 0x5F
#define LPC47B272_RT 10 /* Runtime reg*/
#define LPC47B272_MAX_CONFIG_REGISTER 0x5F
* 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;
extern struct chip_operations superio_smsc_lpc47b397_ops;
struct chip_operations;
extern struct chip_operations superio_smsc_lpc47b397_ops;
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 3 /* Parallel Port */
#define LPC47B397_SP1 4 /* Com1 */
#define LPC47B397_FDC 0 /* Floppy */
#define LPC47B397_PP 3 /* Parallel Port */
#define LPC47B397_SP1 4 /* Com1 */
#define LPC47B397_KBC 7 /* Keyboard & Mouse */
#define LPC47B397_HWM 8 /* HW Monitor */
#define LPC47B397_RT 10 /* Runtime reg*/
#define LPC47B397_KBC 7 /* Keyboard & Mouse */
#define LPC47B397_HWM 8 /* HW Monitor */
#define LPC47B397_RT 10 /* Runtime reg*/
* 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;
extern struct chip_operations superio_smsc_lpc47m10x_ops;
struct chip_operations;
extern struct chip_operations superio_smsc_lpc47m10x_ops;
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 3 /* Parallel Port */
#define LPC47M10X2_SP1 4 /* Com1 */
#define LPC47M10X2_FDC 0 /* Floppy */
#define LPC47M10X2_PP 3 /* Parallel Port */
#define LPC47M10X2_SP1 4 /* Com1 */
#define LPC47M10X2_MPU 10 /* MPE -- who knows -- reg*/
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
#define LPC47M10X2_MPU 10 /* MPE -- who knows -- reg*/
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
* 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;
extern struct chip_operations superio_smsc_lpc47m15x_ops;
struct chip_operations;
extern struct chip_operations superio_smsc_lpc47m15x_ops;
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 3 /* Parallel Port */
#define LPC47M15X_SP1 4 /* Com1 */
#define LPC47M15X_FDC 0 /* Floppy */
#define LPC47M15X_PP 3 /* Parallel Port */
#define LPC47M15X_SP1 4 /* Com1 */
#define LPC47M15X_MPU 11 /* MPE -- who knows -- reg*/
#define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
#define LPC47M15X_MPU 11 /* MPE -- who knows -- reg*/
#define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
* 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;
extern struct chip_operations superio_smsc_lpc47n217_ops;
struct chip_operations;
extern struct chip_operations superio_smsc_lpc47n217_ops;
struct superio_smsc_lpc47n217_config {
struct uart8250 com1, com2;
};
struct superio_smsc_lpc47n217_config {
struct uart8250 com1, com2;
};
* 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.
- * 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
#define LPC47N217_PP 3 /* Parallel Port */
#define LPC47N217_SP1 4 /* Com1 */
#define LPC47N217_SP2 5 /* Com2 */
#define LPC47N217_MAX_CONFIG_REGISTER 0x39
* 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 <pc80/keyboard.h>
#include <uart8250.h>
#include <device/device.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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
* space, these are arbitrary, but must match declarations in the mainboard
/*
* Since the LPC47N227 does not have logical devices but a flat configuration
* space, these are arbitrary, but must match declarations in the mainboard
#define LPC47N227_KBDC 5 /* Keyboard */
#define LPC47N227_MAX_CONFIG_REGISTER 0x39
#define LPC47N227_KBDC 5 /* Keyboard */
#define LPC47N227_MAX_CONFIG_REGISTER 0x39
* 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
-#define _SUPERIO_SMSC_SIO10N268
+#ifndef SUPERIO_SMSC_SIO10N268_CHIP_H
+#define SUPERIO_SMSC_SIO10N268_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
#include <device/device.h>
#include <pc80/keyboard.h>
struct pc_keyboard keyboard;
};
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_SMSC_SIO10N268 */
-
* 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_PP 0x03 /* Parallel port */
#define SIO10N268_KBDC 0x05 /* Keyboard */
#define SIO10N268_FDC 0x00 /* Floppy */
#define SIO10N268_PP 0x03 /* Parallel port */
#define SIO10N268_KBDC 0x05 /* Keyboard */
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
ramstage-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += superio.c
ramstage-$(CONFIG_SUPERIO_SMSC_SMSCSUPERIO) += superio.c
* 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 <pc80/keyboard.h>
#include <uart8250.h>
#include <device/device.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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). */
#define VT1211_FDC 0x00 /* Floppy */
#define VT1211_PP 0x01 /* Parallel port */
/* Logical device numbers (LDNs). */
#define VT1211_FDC 0x00 /* Floppy */
#define VT1211_PP 0x01 /* Parallel port */
#define VT1211_HWM 0x0b /* Hardware monitor (HM) */
#define VT1211_FIR 0x0c /* Very fast IR (VFIR/FIR) */
#define VT1211_ROM 0x0d /* Flash ROM */
#define VT1211_HWM 0x0b /* Hardware monitor (HM) */
#define VT1211_FIR 0x0c /* Very fast IR (VFIR/FIR) */
#define VT1211_ROM 0x0d /* Flash ROM */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 1 /* Parallel port */
#define W83627DHG_SP1 2 /* Com1 */
#define W83627DHG_FDC 0 /* Floppy */
#define W83627DHG_PP 1 /* Parallel port */
#define W83627DHG_SP1 2 /* Com1 */
#define W83627DHG_ACPI 10 /* ACPI */
#define W83627DHG_HWM 11 /* Hardware monitor */
#define W83627DHG_PECI_SST 12 /* PECI, SST */
#define W83627DHG_ACPI 10 /* ACPI */
#define W83627DHG_HWM 11 /* Hardware monitor */
#define W83627DHG_PECI_SST 12 /* PECI, SST */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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
-#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 */
#define W83627EHG_FDC 0 /* Floppy */
#define W83627EHG_PP 1 /* Parallel Port */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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
-#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 */
#define W83627HF_FDC 0 /* Floppy */
#define W83627HF_PP 1 /* Parallel Port */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 1 /* Parallel Port */
#define W83627THF_SP1 2 /* Com1 */
#define W83627THF_FDC 0 /* Floppy */
#define W83627THF_PP 1 /* Parallel Port */
#define W83627THF_SP1 2 /* Com1 */
#define W83627THF_GPIO3 9
#define W83627THF_ACPI 10
#define W83627THF_HWM 11 /* Hardware Monitor */
#define W83627THF_GPIO3 9
#define W83627THF_ACPI 10
#define W83627THF_HWM 11 /* Hardware Monitor */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 1 /* Parallel Port */
#define W83627THG_SP1 2 /* Com1 */
#define W83627THG_FDC 0 /* Floppy */
#define W83627THG_PP 1 /* Parallel Port */
#define W83627THG_SP1 2 /* Com1 */
#define W83627THG_GPIO3 9
#define W83627THG_ACPI 10
#define W83627THG_HWM 11 /* Hardware Monitor */
#define W83627THG_GPIO3 9
#define W83627THG_ACPI 10
#define W83627THG_HWM 11 /* Hardware Monitor */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2, com3, com4, com5, com6;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2, com3, com4, com5, com6;
struct pc_keyboard keyboard;
};
* 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_PP 1 /* Parallel port */
#define W83627UHG_SP1 2 /* Com1 */
#define W83627UHG_FDC 0 /* Floppy */
#define W83627UHG_PP 1 /* Parallel port */
#define W83627UHG_SP1 2 /* Com1 */
#define W83627UHG_SP4 13 /* Com4 */
#define W83627UHG_SP5 14 /* Com5 */
#define W83627UHG_SP6 15 /* Com6 */
#define W83627UHG_SP4 13 /* Com4 */
#define W83627UHG_SP5 14 /* Com5 */
#define W83627UHG_SP6 15 /* Com6 */
* 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>
extern struct chip_operations superio_winbond_w83697hf_ops;
#include <uart8250.h>
extern struct chip_operations superio_winbond_w83697hf_ops;
struct superio_winbond_w83697hf_config {
struct uart8250 com1, com2;
};
struct superio_winbond_w83697hf_config {
struct uart8250 com1, com2;
};
* 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_PP 1 /* Parallel Port */
#define W83697HF_SP1 2 /* Com1 */
#define W83697HF_FDC 0 /* Floppy */
#define W83697HF_PP 1 /* Parallel Port */
#define W83697HF_SP1 2 /* Com1 */
#define W83697HF_GPIO234 9 /* GPIO 2, 3, 4 */
#define W83697HF_ACPI 10 /* ACPI */
#define W83697HF_HWM 11 /* Hardware Monitor */
#define W83697HF_GPIO234 9 /* GPIO 2, 3, 4 */
#define W83697HF_ACPI 10 /* ACPI */
#define W83697HF_HWM 11 /* Hardware Monitor */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 1 /* Parallel Port */
#define W83977F_SP1 2 /* Com1 */
#define W83977F_FDC 0 /* Floppy */
#define W83977F_PP 1 /* Parallel Port */
#define W83977F_SP1 2 /* Com1 */
#define W83977F_IR 6 /* Infrared Port */
#define W83977F_GPIO1 7 /* General Purpose I/O 1 */
#define W83977F_GPIO2 8 /* General Purpose I/O 2 */
#define W83977F_IR 6 /* Infrared Port */
#define W83977F_GPIO1 7 /* General Purpose I/O 1 */
#define W83977F_GPIO2 8 /* General Purpose I/O 2 */
* 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 <uart8250.h>
#include <pc80/keyboard.h>
#include <uart8250.h>
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
struct uart8250 com1, com2;
struct pc_keyboard keyboard;
};
* 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_PP 1 /* Parallel Port */
#define W83977TF_SP1 2 /* Com1 */
#define W83977TF_FDC 0 /* Floppy */
#define W83977TF_PP 1 /* Parallel Port */
#define W83977TF_SP1 2 /* Com1 */
#define W83977TF_GPIO2 8
#define W83977TF_GPIO3 9
#define W83977TF_ACPI 10
#define W83977TF_GPIO2 8
#define W83977TF_GPIO3 9
#define W83977TF_ACPI 10