]> nv-tegra.nvidia Code Review - linux-2.6.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)
commitf5deb807b8cd5c8fe48cbb4f7f5dd70cfbdb1178
tree6b6c341791e32ea00d637b9f243f55b91da962bc
parent55555633bd4e72534b53c50525817259435e18df
[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