coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pilot.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef SUPERIO_SERVERENGINES_PILOT_PILOT_H
4 #define SUPERIO_SERVERENGINES_PILOT_PILOT_H
5 
6 #include <device/pnp_type.h>
7 
8 /* PILOT Super I/O is only based on LPC observation done on factory system. */
9 
10 #define PILOT_LD1 0x01 /* Logical device 1 */
11 #define PILOT_SP1 0x02 /* Com1 */
12 #define PILOT_LD4 0x04 /* Logical device 4 */
13 #define PILOT_LD5 0x05 /* Logical device 5 */
14 #define PILOT_LD7 0x07 /* Logical device 7 */
15 
16 /* should not expose these however early_init needs love */
19 
21 
22 void pilot_enable_serial(pnp_devfn_t dev, u16 iobase);
24 
25 #endif /* SUPERIO_SERVERENGINES_PILOT_PILOT_H */
void pilot_early_init(pnp_devfn_t dev)
Definition: early_init.c:17
void pnp_exit_ext_func_mode(pnp_devfn_t dev)
Definition: early_serial.c:17
void pilot_enable_serial(pnp_devfn_t dev, u16 iobase)
Definition: early_serial.c:24
void pnp_enter_ext_func_mode(pnp_devfn_t dev)
Definition: early_serial.c:11
void pilot_disable_serial(pnp_devfn_t dev)
Definition: early_serial.c:33
u32 pnp_devfn_t
Definition: pnp_type.h:8
uint16_t u16
Definition: stdint.h:48