[PATCH] fix PPC64 iSeries virtual console devices
From: Stephen Rothwell (sfr_at_canb.auug.org.au)
Date: 03/11/04
- Previous message: David Mosberger: "Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Mar 2004 16:35:34 +1100 To: LKML <linux-kernel@vger.kernel.org>
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- application/pgp-signature attachment: stored
- Previous message: David Mosberger: "Re: [linux-usb-devel] Re: serious 2.6 bug in USB subsystem?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|