uart.h (823c77d78b6b67798c45cd09ead36c11555d883d) | uart.h (81df65c3112c0e384eaa2ed99f4df8d2830c0d85) |
---|---|
1/*- 2 * Copyright (c) 2003 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 55 unchanged lines hidden (view full) --- 64 */ 65struct uart_class; 66 67extern struct uart_class uart_ns8250_class __attribute__((weak)); 68extern struct uart_class uart_quicc_class __attribute__((weak)); 69extern struct uart_class uart_sab82532_class __attribute__((weak)); 70extern struct uart_class uart_z8530_class __attribute__((weak)); 71 | 1/*- 2 * Copyright (c) 2003 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 55 unchanged lines hidden (view full) --- 64 */ 65struct uart_class; 66 67extern struct uart_class uart_ns8250_class __attribute__((weak)); 68extern struct uart_class uart_quicc_class __attribute__((weak)); 69extern struct uart_class uart_sab82532_class __attribute__((weak)); 70extern struct uart_class uart_z8530_class __attribute__((weak)); 71 |
72#ifdef PC98 73struct uart_class *uart_pc98_getdev(u_long port); 74#endif 75 |
|
72/* 73 * Device flags. 74 */ 75#define UART_FLAGS_CONSOLE(f) ((f) & 0x10) 76#define UART_FLAGS_DBGPORT(f) ((f) & 0x80) 77#define UART_FLAGS_FCR_RX_LOW(f) ((f) & 0x100) 78#define UART_FLAGS_FCR_RX_MEDL(f) ((f) & 0x200) 79#define UART_FLAGS_FCR_RX_MEDH(f) ((f) & 0x400) --- 12 unchanged lines hidden --- | 76/* 77 * Device flags. 78 */ 79#define UART_FLAGS_CONSOLE(f) ((f) & 0x10) 80#define UART_FLAGS_DBGPORT(f) ((f) & 0x80) 81#define UART_FLAGS_FCR_RX_LOW(f) ((f) & 0x100) 82#define UART_FLAGS_FCR_RX_MEDL(f) ((f) & 0x200) 83#define UART_FLAGS_FCR_RX_MEDH(f) ((f) & 0x400) --- 12 unchanged lines hidden --- |