blob: 1d8281751849f81a5e34330869440969db5dce33 [file] [log] [blame]
Zheng Bao9db833b2009-12-28 09:59:44 +00001/*
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 Bao9db833b2009-12-28 09:59:44 +000015 */
16
Edward O'Callaghanfc4e8552015-01-04 16:05:59 +110017#ifndef SUPERIO_NSC_PC97317_H
18#define SUPERIO_NSC_PC97317_H
Uwe Hermann7fa08192010-11-08 20:55:24 +000019
arch import user (historical)577f1852005-07-06 17:11:02 +000020#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 Hermann7fa08192010-11-08 20:55:24 +000029
Edward O'Callaghanfc4e8552015-01-04 16:05:59 +110030#include <arch/io.h>
31#include <stdint.h>
32
33void pc97317_enable_serial(pnp_devfn_t dev, u16 iobase);
34
35#endif /* SUPERIO_NSC_PC97317_H */