Re: [PATCH 2.6] Altix serial driver

From: Russell King
Date: Mon Jun 28 2004 - 04:04:31 EST


On Mon, Jun 28, 2004 at 08:54:30AM +0100, Russell King wrote:
> On Sun, Jun 27, 2004 at 06:44:43PM -0700, Chris Wedgwood wrote:
> > On Mon, Jun 28, 2004 at 02:14:39AM +0100, Russell King wrote:
> > > It's the way its always been done, and the way the tty layer works.
> > > You register a range of ttys that you're going to be driving, and
> > > you own those ttys whether or not you actually have hardware for
> > > them.
> >
> > How about this (yes, it's a hack but it's really not that bad and will
> > get things working until we can fix this up in 2.7.x):
>
> If you're going to do that, why not just disable 8250 in the kernels
> configuration? It has exactly the same effect. With the change you
> propose, you can't even use 8250 for PCMCIA serial cards.

Note also that I don't want to apply hacks to 8250 _unless_ there is a
clear method to remove those hacks in a later kernel.

To put it another way, I want to see the clean solution, preferably
already developed and reviewed ready for the next development series
before applying the hack to the stable version.

Without this step, we have historically added hacks to the old serial
driver and forgotten about them, because the problem is no longer in
peoples minds.

IOW, I don't have any objection to adding hacks to work around
problems in the same series _provided_ we have a clear way to resolve
those hacks in the next development kernel series.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/