Messages in this thread Patch in this message | | | Date | Thu, 11 Mar 2004 16:35:34 +1100 | From | Stephen Rothwell <> | Subject | [PATCH] fix PPC64 iSeries virtual console devices |
| |
Hi Linus,
While playing with udev, I discovered that the virtual console devices on iSeries had there minor numbers off by one i.e. /dev/tty1 was minor 2!
The following patch fixes this.
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
diff -ruN 2.6.4/drivers/char/viocons.c 2.6.4.viocons/drivers/char/viocons.c --- 2.6.4/drivers/char/viocons.c 2004-03-11 15:39:16.000000000 +1100 +++ 2.6.4.viocons/drivers/char/viocons.c 2004-03-11 16:06:46.000000000 +1100 @@ -1365,6 +1365,7 @@ viotty_driver->driver_name = "vioconsole"; viotty_driver->devfs_name = "vcs/"; viotty_driver->name = "tty"; + viotty_driver->name_base = 1; viotty_driver->major = TTY_MAJOR; viotty_driver->minor_start = 1; viotty_driver->type = TTY_DRIVER_TYPE_CONSOLE;[unhandled content-type:application/pgp-signature] | |