37#define ISA_UART( NAME, BASE ) \
38 static struct ns16550_uart ns16550_ ## NAME = { \
39 .base = ( ( void * ) (BASE) ), \
40 .clock = NS16550_CLK_DEFAULT, \
42 struct uart NAME = { \
43 .refcnt = REF_INIT ( ref_no_free ), \
45 .op = &ns16550_operations, \
46 .priv = &ns16550_ ## NAME, \
66 for ( i = 0 ; i < (
sizeof ( ports ) /
sizeof ( ports[0] ) ) ; i++ ) {
68 DBGC ( ports[i],
"UART could not register %s: %s\n",
struct arbelprm_rc_send_wqe rc
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
char * strerror(int errno)
Retrieve string representation of error number.
int uart_register(struct uart *uart)
Register UART.
int uart_register_fixed(void)
Register fixed ISA UARTs.
#define ISA_UART(NAME, BASE)
Define a fixed ISA UART.