[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 6 Jun 2008 12:41:49 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Hinko Kočevar <hinko.kocevar@...rtapot.si>
Cc: linux-kernel@...r.kernel.org, dev-etrax@...s.com
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists