Commit 95902cd8 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] fix PPC64 iSeries virtual console devices

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!

This fixes it.
parent 19c0199a
...@@ -1365,6 +1365,7 @@ static int __init viocons_init2(void) ...@@ -1365,6 +1365,7 @@ static int __init viocons_init2(void)
viotty_driver->driver_name = "vioconsole"; viotty_driver->driver_name = "vioconsole";
viotty_driver->devfs_name = "vcs/"; viotty_driver->devfs_name = "vcs/";
viotty_driver->name = "tty"; viotty_driver->name = "tty";
viotty_driver->name_base = 1;
viotty_driver->major = TTY_MAJOR; viotty_driver->major = TTY_MAJOR;
viotty_driver->minor_start = 1; viotty_driver->minor_start = 1;
viotty_driver->type = TTY_DRIVER_TYPE_CONSOLE; viotty_driver->type = TTY_DRIVER_TYPE_CONSOLE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment