console.c (202175) | console.c (228631) |
---|---|
1/* $NetBSD: uart.c,v 1.2 2007/03/23 20:05:47 dogcow Exp $ */ 2 3/*- 4 * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or 8 * without modification, are permitted provided that the following --- 19 unchanged lines hidden (view full) --- 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 29 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 30 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 31 * OF SUCH DAMAGE. 32 * 33 */ 34 35#include <sys/cdefs.h> | 1/* $NetBSD: uart.c,v 1.2 2007/03/23 20:05:47 dogcow Exp $ */ 2 3/*- 4 * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or 8 * without modification, are permitted provided that the following --- 19 unchanged lines hidden (view full) --- 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 29 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 30 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 31 * OF SUCH DAMAGE. 32 * 33 */ 34 35#include <sys/cdefs.h> |
36__FBSDID("$FreeBSD: head/sys/mips/adm5120/console.c 202175 2010-01-12 21:36:08Z imp $"); | 36__FBSDID("$FreeBSD: head/sys/mips/adm5120/console.c 228631 2011-12-17 15:08:43Z avg $"); |
37 38#include <sys/types.h> 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/kernel.h> 42#include <sys/time.h> 43 44#include <sys/cons.h> 45#include <sys/consio.h> 46 47static cn_probe_t uart_cnprobe; 48static cn_init_t uart_cninit; 49static cn_term_t uart_cnterm; 50static cn_getc_t uart_cngetc; 51static cn_putc_t uart_cnputc; | 37 38#include <sys/types.h> 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/kernel.h> 42#include <sys/time.h> 43 44#include <sys/cons.h> 45#include <sys/consio.h> 46 47static cn_probe_t uart_cnprobe; 48static cn_init_t uart_cninit; 49static cn_term_t uart_cnterm; 50static cn_getc_t uart_cngetc; 51static cn_putc_t uart_cnputc; |
52static cn_grab_t uart_cngrab; 53static cn_ungrab_t uart_cnungrab; |
|
52 53static void 54uart_cnprobe(struct consdev *cp) 55{ 56 57 sprintf(cp->cn_name, "uart"); 58 cp->cn_pri = CN_NORMAL; 59} --- 25 unchanged lines hidden (view full) --- 85} 86 87static void 88uart_cnterm(struct consdev * cp) 89{ 90 91} 92 | 54 55static void 56uart_cnprobe(struct consdev *cp) 57{ 58 59 sprintf(cp->cn_name, "uart"); 60 cp->cn_pri = CN_NORMAL; 61} --- 25 unchanged lines hidden (view full) --- 87} 88 89static void 90uart_cnterm(struct consdev * cp) 91{ 92 93} 94 |
95static void 96uart_cngrab(struct consdev *cp) 97{ 98 99} 100 101static void 102uart_cnungrab(struct consdev *cp) 103{ 104 105} 106 |
|
93CONSOLE_DRIVER(uart); | 107CONSOLE_DRIVER(uart); |