aboutsummaryrefslogtreecommitdiff
path: root/src/superio/winbond/wpcd376i/wpcd376i.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/winbond/wpcd376i/wpcd376i.h')
-rw-r--r--src/superio/winbond/wpcd376i/wpcd376i.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/superio/winbond/wpcd376i/wpcd376i.h b/src/superio/winbond/wpcd376i/wpcd376i.h
index 8d770b4384..4bb9289581 100644
--- a/src/superio/winbond/wpcd376i/wpcd376i.h
+++ b/src/superio/winbond/wpcd376i/wpcd376i.h
@@ -21,14 +21,16 @@
#include <arch/io.h>
/* Logical Device Numbers (LDN). */
-#define WPCD376I_FDC 0 /* Floppy */
-#define WPCD376I_LPT 1 /* Parallel port */
-#define WPCD376I_IR 2 /* Infrared port */
-#define WPCD376I_SP1 3 /* UART1 */
-#define WPCD376I_SWC 4 /* System wake-up control */
-#define WPCD376I_KBCM 5 /* PS/2 mouse */
-#define WPCD376I_KBCK 6 /* PS/2 keyboard */
-#define WPCD376I_GPIO 7 /* General Purpose I/O */
+#define WPCD376I_FDC 0x00 /* Floppy */
+#define WPCD376I_LPT 0x01 /* Parallel port */
+/* 0x02 Undefined */
+#define WPCD376I_SP1 0x03 /* UART1 */
+#define WPCD376I_SWC 0x04 /* System wake-up control */
+#define WPCD376I_KBCM 0x05 /* PS/2 mouse */
+#define WPCD376I_KBCK 0x06 /* PS/2 keyboard */
+#define WPCD376I_GPIO 0x07 /* General Purpose I/O */
+#define WPCD376I_ECIR 0x15 /* Enhanced Consumer Infrared Functions (ECIR) */
+#define WPCD376I_IR 0x16 /* UART3 & Infrared port */
void wpcd376i_enable_serial(pnp_devfn_t dev, u16 iobase);