Jonathan A. Kollasch | 8964717 | 2015-07-12 11:47:56 -0500 | [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 | * Copyright (C) 2004 Tyan |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
Jonathan A. Kollasch | 8964717 | 2015-07-12 11:47:56 -0500 | [diff] [blame] | 17 | */ |
| 18 | |
Jonathan A. Kollasch | 260a01f | 2015-07-12 11:49:16 -0500 | [diff] [blame] | 19 | #ifndef SUPERIO_SMSC_DME1737_H |
| 20 | #define SUPERIO_SMSC_DME1737_H |
Jonathan A. Kollasch | 8964717 | 2015-07-12 11:47:56 -0500 | [diff] [blame] | 21 | |
Jonathan A. Kollasch | 260a01f | 2015-07-12 11:49:16 -0500 | [diff] [blame] | 22 | #define DME1737_FDC 0 /* Floppy */ |
| 23 | #define DME1737_PP 3 /* Parallel Port */ |
| 24 | #define DME1737_SP1 4 /* Com1 */ |
| 25 | #define DME1737_SP2 5 /* Com2 */ |
| 26 | #define DME1737_KBC 7 /* Keyboard & Mouse */ |
| 27 | #define DME1737_RT 10 /* Runtime reg*/ |
Jonathan A. Kollasch | 8964717 | 2015-07-12 11:47:56 -0500 | [diff] [blame] | 28 | |
| 29 | #include <arch/io.h> |
| 30 | #include <stdint.h> |
| 31 | |
Jonathan A. Kollasch | 260a01f | 2015-07-12 11:49:16 -0500 | [diff] [blame] | 32 | void dme1737_enable_serial(pnp_devfn_t dev, u16 iobase); |
Jonathan A. Kollasch | 8964717 | 2015-07-12 11:47:56 -0500 | [diff] [blame] | 33 | |
Jonathan A. Kollasch | 260a01f | 2015-07-12 11:49:16 -0500 | [diff] [blame] | 34 | #endif /* SUPERIO_SMSC_DME1737_H */ |