coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smscsuperio.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef SUPERIO_SMSC_SMSCSUPERIO_H
4 #define SUPERIO_SMSC_SMSCSUPERIO_H
5 
6 #include <device/pnp_type.h>
7 #include <stdint.h>
8 
9 /* All known/supported SMSC Super I/Os have the same logical device IDs
10  * for the serial ports (COM1, COM2).
11  */
12 #define SMSCSUPERIO_SP1 4 /* Com1 */
13 #define SMSCSUPERIO_SP2 5 /* Com2 */
14 
15 void smscsuperio_enable_serial(pnp_devfn_t dev, u16 iobase);
16 
17 #endif /* SUPERIO_SMSC_SMSCSUPERIO_H */
u32 pnp_devfn_t
Definition: pnp_type.h:8
void smscsuperio_enable_serial(pnp_devfn_t dev, u16 iobase)
Enable the specified serial port.
Definition: early_serial.c:33
uint16_t u16
Definition: stdint.h:48