blob: 9e088b8687e6ca60aba21bfddf2b4b67388c83f8 [file] [log] [blame]
Edward O'Callaghanfdceb482014-06-02 07:58:14 +10001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
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.
Edward O'Callaghanfdceb482014-06-02 07:58:14 +100015 */
16
17#ifndef SUPERIO_SMSC_SMSCSUPERIO_H
18#define SUPERIO_SMSC_SMSCSUPERIO_H
19
20#include <arch/io.h>
21#include <stdint.h>
22
23/* All known/supported SMSC Super I/Os have the same logical device IDs
24 * for the serial ports (COM1, COM2).
25 */
26#define SMSCSUPERIO_SP1 4 /* Com1 */
27#define SMSCSUPERIO_SP2 5 /* Com2 */
28
Edward O'Callaghan85836c22014-07-09 20:26:25 +100029void smscsuperio_enable_serial(pnp_devfn_t dev, u16 iobase);
Edward O'Callaghanfdceb482014-06-02 07:58:14 +100030
31#endif /* SUPERIO_SMSC_SMSCSUPERIO_H */