Re: [PATCH] serial: do not add port that is not initialized

Russell King
2007-07-11T21:49:46Z

On Wed, Jul 11, 2007 at 01:45:04PM -0700, Yinghai Lu wrote:
> Russell King wrote:
> >Indeed, and since distros still haven't picked up my setserial v3,
> >I see little chance of that ever being practical. Not that I've
> >really tried very hard to get them to - no real idea who to contact
> >to make that happen, and of course I've no interest in making it
> >happen anymore.
>
> so remove these extra phantom devices, the kernel distros will use your
> setserial v3.

You made a connection which wasn't there - setserial v3 doesn't allow
this either, but it is a cleaner and slightly more extensible
implementation of setserial v2.

It does, however, drop support for the things which 2.6 kernels don't
support, such as the setting of the multiport addresses and masks. So
it wouldn't be suitable for shipping as-is with (eg) 2.4 kernels.