From: David Woodhouse <[EMAIL PROTECTED]> Date: Wed, 04 Apr 2007 02:03:54 -0400
> On Wed, 2007-04-04 at 15:53 +1000, Paul Mackerras wrote: > > It 'should' be the case because that is what is easiest for users and > > makes most sense from a user's point of view. > > I really don't buy that argument. I do. David, do this. Fly to Portland, drive over to Linus's house, once he lets you in, tell him to walk up to his computer and run 'cat' on the primary serial port. Do all of this before he reads this thread. :-) What device name do you think he will type in? Will he type a different device name on his PowerPC box than he will on his x86 systems? I think he will type /dev/ttyS0 in both cases, and it won't be because he knows what kind of serial port controller is in either machine. It's that simple. Your ARM example holds zero water because that platform has all kinds of weird devices so people there are used to all kinds of non-standard conventions and naming. Try desktop systems that lots of users actually use. Ask them what the serial device file is. Ask them if they had to know what serial controller they have in their computer in order to figure that out. > That's what you get when you abuse device numbers belonging to > another driver. No, it's what you get whan drivers of the same major number do not cooperate with minor number allocations. Add a notion of onboard serial controllers and a properly coordinated minor number allocation system for /dev/ttyS0 if you want to solve this. As it stands your patch is a non-starter because it breaks a user visible API, and people's machines won't bootup or have a console any longer. Or, if the powerpc machine is at Alan's house his model trains might stop working :-) - 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/