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

From: Russell King
Date: Wed Jul 11 2007 - 17:49:47 EST


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.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/