On Wed, Apr 04, 2007 at 12:34:53PM -0400, David Woodhouse wrote: > On Wed, 2007-04-04 at 11:22 -0500, Linas Vepstas wrote: > > The biggest problem would seem to be that the assignment would > > depend on the detection order; there don't seem to be unique > > id's that would help udev consistently assign device names in > > consistent order. > > Of course there are. The different types of ports have different device > numbers. As long as we don't do anything silly like putting all the > serial drivers on the same major number, we can tell them apart > relatively well.
Sure, but if two different pci serial cards are moved around to different pci slots, they'll be detected in a different order. Similarly if one has some usb-to-serial converter that might get plugged in after boot, or maybe some serial port that shows up only when a laptop is docked into a docking station. --linas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/