[PATCH] Stop pmac_zilog from abusing 8250's device numbers.

David Lang david.lang at digitalinsight.com
Wed Apr 4 11:32:21 EST 2007


On Tue, 3 Apr 2007, David Lang wrote:

> so leave all the ports numbered 0-49, but let people who need to know run a 
> tool (even if it's dmesg -s 200000 |grep ttyS) to learn the details of what 
> hardware is used to run what port.

and by the way, this is exactly what I do on machines with different types of 
ethernet cards to figure out what ethX name the different types of cards get. 
after I've figured that out I learn which order the cards of that type are by 
plugging things into a port to see what shows up (knowing the MAC address 
doesn't do you any good if you don't know what hole to plug the wire into)

and yes, the nameing does get messed up when you plugin a new card, or enable a 
driver that you didn't have before, but as painful as that is it's pain that 
only I have to deal with when reconfiguring the hardware, all the other 
sysadmins who use the systems just know what port is what, they don't need to 
know that box A has tulip based quad cards while box B has starfire based quad 
cards, they just know 'eth0 is the one labled 0, eth18 is the one labled 18'

keep it simple for as many people as possible, don't spread the pain. those who 
will feel the pain are already dealing with it and the change to hardware-based 
named doesn't help them anyway.

David Lang



More information about the Linuxppc-dev mailing list