]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC] serial: Make sure sysfs nodes get named correctly.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Feb 2006 22:39:16 +0000 (14:39 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:47 +0000 (01:13 -0800)
commitb33853d69a6dc4ae97cb139c855fdab32f3874a4
tree6b6c341791e32ea00d637b9f243f55b91da962bc
parentb7d34d12e829877bc9e3799647e8766c8c14651e
[SPARC] serial: Make sure sysfs nodes get named correctly.

Because we play this trick where we use ttyS? in increasing minor
numbers for different sunfoo.c drivers, we have to inform the TTY
layer of this.

Do so by setting the tty->name_base appropriately.

Probably there should be a generic way to do this in the serial core,
but for now...

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunhv.c
drivers/serial/sunsab.c
drivers/serial/sunsu.c
drivers/serial/sunzilog.c