coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpc47m10x.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#ifndef SUPERIO_SMSC_LPC47M10X_H
4
#define SUPERIO_SMSC_LPC47M10X_H
5
6
#include <
device/pnp_type.h
>
7
#include <
stdint.h
>
8
9
#define LPC47M10X2_FDC 0
/* Floppy */
10
#define LPC47M10X2_PP 3
/* Parallel Port */
11
#define LPC47M10X2_SP1 4
/* Com1 */
12
#define LPC47M10X2_SP2 5
/* Com2 */
13
#define LPC47M10X2_KBC 7
/* Keyboard & Mouse */
14
#define LPC47M10X2_GAME 9
/* GAME */
15
#define LPC47M10X2_PME 10
/* PME reg*/
16
#define LPC47M10X2_MPU 11
/* MPU-401 MIDI */
17
18
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
19
20
void
lpc47m10x_enable_serial
(
pnp_devfn_t
dev,
u16
iobase);
21
22
void
pnp_enter_conf_state
(
pnp_devfn_t
dev);
23
void
pnp_exit_conf_state
(
pnp_devfn_t
dev);
24
25
#endif
/* SUPERIO_SMSC_LPC47M10X_H */
lpc47m10x_enable_serial
void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase)
Configure the base I/O port of the specified serial device and enable the serial device.
Definition:
early_serial.c:28
pnp_exit_conf_state
void pnp_exit_conf_state(pnp_devfn_t dev)
Definition:
early_serial.c:38
pnp_enter_conf_state
void pnp_enter_conf_state(pnp_devfn_t dev)
Definition:
early_serial.c:30
pnp_type.h
pnp_devfn_t
u32 pnp_devfn_t
Definition:
pnp_type.h:8
stdint.h
u16
uint16_t u16
Definition:
stdint.h:48
src
superio
smsc
lpc47m10x
lpc47m10x.h
Generated by
1.9.1