blob: 3a5683bf1282407f120fa407e4950605a821f2e2 [file] [log] [blame]
Jonathan A. Kollasch89647172015-07-12 11:47:56 -05001/*
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. Kollasch89647172015-07-12 11:47:56 -050017 */
18
Jonathan A. Kollasch260a01f2015-07-12 11:49:16 -050019#ifndef SUPERIO_SMSC_DME1737_H
20#define SUPERIO_SMSC_DME1737_H
Jonathan A. Kollasch89647172015-07-12 11:47:56 -050021
Jonathan A. Kollasch260a01f2015-07-12 11:49:16 -050022#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. Kollasch89647172015-07-12 11:47:56 -050028
29#include <arch/io.h>
30#include <stdint.h>
31
Jonathan A. Kollasch260a01f2015-07-12 11:49:16 -050032void dme1737_enable_serial(pnp_devfn_t dev, u16 iobase);
Jonathan A. Kollasch89647172015-07-12 11:47:56 -050033
Jonathan A. Kollasch260a01f2015-07-12 11:49:16 -050034#endif /* SUPERIO_SMSC_DME1737_H */