Zheng Bao | 9db833b | 2009-12-28 09:59:44 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2000 AG Electronics Ltd. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Zheng Bao | 9db833b | 2009-12-28 09:59:44 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Edward O'Callaghan | fc4e855 | 2015-01-04 16:05:59 +1100 | [diff] [blame] | 17 | #ifndef SUPERIO_NSC_PC97317_H |
| 18 | #define SUPERIO_NSC_PC97317_H |
Uwe Hermann | 7fa0819 | 2010-11-08 20:55:24 +0000 | [diff] [blame] | 19 | |
arch import user (historical) | 577f185 | 2005-07-06 17:11:02 +0000 | [diff] [blame] | 20 | #define PC97317_KBCK 0x00 /* Keyboard */ |
| 21 | #define PC97317_KBCM 0x01 /* Mouse */ |
| 22 | #define PC97317_RTC 0x02 /* Real-Time Clock */ |
| 23 | #define PC97317_FDC 0x03 /* Floppy */ |
| 24 | #define PC97317_PP 0x04 /* Parallel port */ |
| 25 | #define PC97317_SP2 0x05 /* Com2 */ |
| 26 | #define PC97317_SP1 0x06 /* Com1 */ |
| 27 | #define PC97317_GPIO 0x07 |
| 28 | #define PC97317_PM 0x08 /* Power Management */ |
Uwe Hermann | 7fa0819 | 2010-11-08 20:55:24 +0000 | [diff] [blame] | 29 | |
Edward O'Callaghan | fc4e855 | 2015-01-04 16:05:59 +1100 | [diff] [blame] | 30 | #include <arch/io.h> |
| 31 | #include <stdint.h> |
| 32 | |
| 33 | void pc97317_enable_serial(pnp_devfn_t dev, u16 iobase); |
| 34 | |
| 35 | #endif /* SUPERIO_NSC_PC97317_H */ |