Re: wrong number of serial port detected

From: Russell King
Date: Wed Dec 07 2005 - 16:30:48 EST


On Wed, Dec 07, 2005 at 10:28:05PM +0100, Xavier Bestel wrote:
> Le mercredi 07 d?cembre 2005 ? 21:15 +0000, Russell King a ?crit :
>
> > 4. User tries the well documented "setserial /dev/ttyS2 port 0x220 irq 5"
> > procedure, which has been supported since Linux 1.x
> >
> > 5. User finds that, because there is no ttyS2 device in /dev, they
> > can't configure their card.
>
> Well, instead of polluting everybody's /dev for the 3 users having such
> cards, why not just tell the user to run
> MAKEDEV /dev/ttyS2 ; setserial /dev/ttyS2 port 0x220 irq 5
> instead ? (Or even mknod)

Oh sorry. Mail me your root password and IP address, let me log in
to your system, and I'll remove those device nodes right now. Thanks
for pointing that out.

Seriously, surely you aren't suggesting that I somehow have personal
control over this?

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