Marc Jones | 721c407 | 2015-09-16 17:58:35 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2000 AG Electronics Ltd. |
| 5 | * Copyright (C) 2003-2004 Linux Networx |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc. |
| 20 | */ |
| 21 | |
| 22 | #ifndef SUPERIO_WINBOND_WPCD376I_WPCD376I_H |
| 23 | #define SUPERIO_WINBOND_WPCD376I_WPCD376I_H |
| 24 | |
| 25 | /* Logical Device Numbers (LDN). */ |
| 26 | #define WPCD376I_FDC 0 /* Floppy */ |
| 27 | #define WPCD376I_LPT 1 /* Parallel port */ |
| 28 | #define WPCD376I_IR 2 /* Infrared port */ |
| 29 | #define WPCD376I_SP1 3 /* UART1 */ |
| 30 | #define WPCD376I_SWC 4 /* System wake-up control */ |
| 31 | #define WPCD376I_KBCM 5 /* PS/2 mouse */ |
| 32 | #define WPCD376I_KBCK 6 /* PS/2 keyboard */ |
| 33 | #define WPCD376I_GPIO 7 /* General Purpose I/O */ |
| 34 | |
| 35 | void wpcd376i_enable_serial(device_t dev, u16 iobase); |
| 36 | |
| 37 | #endif |