David S. Miller
8440838bc5
serial: fix device name reporting when minor space is shared between drivers
...
The multiple drivers share the minor space occupied by a particular major
number, the actual index within the device name's space is indicated by
the tty_driver->name_base + uart_port->line
Another usable formula is (uart_driver->minor - MINOR_BASE) + port->line
Use those to print the device names properly in such situations in
serial_core.c and 8250.c
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-13 09:51:44 -07:00
..
2008-07-28 08:47:32 -05:00
2008-07-20 17:12:35 -07:00
2008-07-24 10:47:29 -07:00
2008-10-13 09:51:39 -07:00
2008-07-20 17:12:35 -07:00
2008-10-13 09:51:44 -07:00
2008-09-02 19:21:38 -07:00
2008-08-07 09:55:48 +01:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-09-23 08:09:14 -07:00
2008-10-13 09:51:38 -07:00
2008-07-20 17:12:36 -07:00
2008-08-07 09:55:48 +01:00
2008-10-13 09:51:44 -07:00
2008-08-04 17:12:07 -07:00
2008-07-24 10:47:29 -07:00
2008-07-22 13:03:22 -07:00
2008-09-02 10:19:30 +02:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-10-13 09:51:40 -07:00
2008-07-20 17:12:36 -07:00
2008-10-13 09:51:40 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-07-23 11:30:16 -05:00
2008-07-20 17:12:36 -07:00
2008-08-07 09:55:48 +01:00
2008-06-09 13:46:37 +10:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-09-09 16:32:53 +01:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-07-03 16:51:31 +01:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-10-13 09:51:44 -07:00
2008-10-01 22:41:43 +01:00
2008-07-20 17:12:36 -07:00
2008-07-22 13:03:22 -07:00
2008-07-28 18:10:29 +09:00
2008-07-30 00:56:39 +09:00
2008-07-20 17:12:36 -07:00
2008-08-31 01:23:17 -07:00
2008-08-31 01:23:17 -07:00
2008-08-31 01:23:17 -07:00
2008-08-31 01:23:17 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-07-20 17:12:36 -07:00
2008-07-24 10:47:29 -07:00