lkml.org 
[lkml]   [2008]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.26-rc5 1/2] cris: compile fixes for 2.6.26-rc5
> +static struct tty_operations dummy_ops = {
> + .open = &dummy_open,
> + .close = &dummy_close,
> + .write = &dummy_write,
> + .write_room = &dummy_write_room,
> +};

Looks ok. From 2.6.26 onward you should be able to omit write/write_room
if you want writes to error, but you will need the dummies if you want
them to vanish.

> @@ -448,10 +455,7 @@ init_dummy_console(void)
> B115200 | CS8 | CREAD | HUPCL | CLOCAL; /* is normally B9600 default... */

It should also be setting c_ispeed/c_ospeed

> dummy_driver.flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;

Alan


\
 
 \ /
  Last update: 2008-06-06 14:01    [W:0.059 / U:2.240 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site