![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | SMSCSUPERIO_SP1 4 /* Com1 */ |
#define | SMSCSUPERIO_SP2 5 /* Com2 */ |
Functions | |
void | smscsuperio_enable_serial (pnp_devfn_t dev, u16 iobase) |
Enable the specified serial port. More... | |
#define SMSCSUPERIO_SP1 4 /* Com1 */ |
Definition at line 12 of file smscsuperio.h.
#define SMSCSUPERIO_SP2 5 /* Com2 */ |
Definition at line 13 of file smscsuperio.h.
void smscsuperio_enable_serial | ( | pnp_devfn_t | dev, |
u16 | iobase | ||
) |
Enable the specified serial port.
dev | The device to use. |
iobase | The I/O base of the serial port (usually 0x3f8/0x2f8). |
Definition at line 33 of file early_serial.c.
References pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IO0, PNP_IDX_IRQ0, pnp_set_enable(), pnp_set_iobase(), pnp_set_irq(), and pnp_set_logical_device().
Referenced by bootblock_mainboard_early_init().