2 * (C) Copyright 2007-2011 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 * This file is released under the GPLv2. See the COPYING file for more
15 #define CONSOLE_LINE_LEN 160
17 extern int console_interrupt(struct device
*dev
, struct irb
*irb
);
18 extern struct console
* start_oper_console(void);
19 extern void* console_enable(struct device
*dev
);
20 extern int con_read_pending(struct console
*con
);
21 extern int con_read(struct console
*con
, u8
*buf
, int size
);
22 extern int con_write(struct console
*con
, u8
*buf
, int len
);
23 extern void for_each_console(void (*f
)(struct console
*con
));
24 extern struct console
* find_console(struct device
*dev
);