Various Super I/O fixes and corrections.
[coreboot.git] / src / superio / via / vt1211 / vt1211.h
index e23cf77504549a6fe43aba745d6094bf2462fd28..eaffa2e9937fba7d43d28d61514c0cd85922ac35 100644 (file)
@@ -1,11 +1,12 @@
 /*
- * (C) Copyright 2004 Nick Barker <nick.barker9@btinternet.com>
+ * This file is part of the coreboot project.
  *
+ * Copyright (C) 2004 Nick Barker <nick.barker9@btinternet.com>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-/* vt1211 PNP devices */
-
-#define VT1211_FDC             0       /* Floppy */
-#define VT1211_PP              1       /* Parallel Port */
-#define VT1211_SP1             2       /* COM1 */
-#define VT1211_SP2             3       /* COM2 */
-#define VT1211_MIDI            6       /* MIDI */
-#define VT1211_GAME            7       /* Game port */
-#define VT1211_GPIO            8       /* GPIO pins */
-#define VT1211_WATCHDOG                9       /* Watchdog timer */
-#define VT1211_WAKEUP          10      /* Wakeup control */
-#define VT1211_HWM             11      /* Hardware monitor */
-#define VT1211_FIR             12      /* Irda */
-#define VT1211_ROM             13      /* ROM control */
+/* Logical device numbers (LDNs). */
+#define VT1211_FDC             0x00    /* Floppy */
+#define VT1211_PP              0x01    /* Parallel port */
+#define VT1211_SP1             0x02    /* COM1 */
+#define VT1211_SP2             0x03    /* COM2 */
+#define VT1211_MIDI            0x06    /* MIDI */
+#define VT1211_GAME            0x07    /* Game port (GMP) */
+#define VT1211_GPIO            0x08    /* GPIO */
+#define VT1211_WDG             0x09    /* Watchdog timer (WDG) */
+#define VT1211_WUC             0x0a    /* Wake-up control (WUC) */
+#define VT1211_HWM             0x0b    /* Hardware monitor (HM) */
+#define VT1211_FIR             0x0c    /* Very fast IR (VFIR/FIR) */
+#define VT1211_ROM             0x0d    /* Flash ROM */