I'm thinking now I was confused about the problem, I think it is that I'm
not able to use more ports than the standard, COM1-4. Here's what I'm
trying to do in rc.serial:
${SETSERIAL} /dev/ttyS1 irq 3 spd_vhi
${SETSERIAL} /dev/ttyS3 irq 10 spd_vhi
${SETSERIAL} /dev/ttyS4 uart 16650 port 0x02f0 irq 15 spd_vhi ^fourport
${SETSERIAL} /dev/ttyS5 uart 16650 port 0x03e0 irq 14 spd_vhi ^fourport
In 2.1.104pre1 setserial says:
setserial -bg /dev/ttyS?
/dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
/dev/ttyS1 at 0x02f8 (irq = 3) is a 16550A (spd_vhi)
/dev/ttyS3 at 0x02e8 (irq = 10) is a 16550A (spd_vhi)
/dev/ttyS4 at 0x02f0 (irq = 15) is a 16650 (spd_vhi)
/dev/ttyS5 at 0x03e0 (irq = 14) is a 16650 (spd_vhi)
But when I try the same thing under 2.1.10[4-5], it complains about an
invalid option for the last two (/dev/ttyS4, /dev/ttyS5), and the only the
first three are listed.
What I have is a ASUS motherboard with two serial ports, an internal modem,
and a Byterunner serial card with two serial ports (16650 UART capable).
I'm leaving the COM1, and COM2 open for the motherboard's serial ports, COM4
is used by the internal analog modem. COM5, COM6 for the Byterunner.
>
> FYI, there have been no changes in drivers/char/serial.c between 2.1.103
> and 2.1.105.
>
> - Ted
Hmm? There was a version upgrade. 2.1.104pre1 has version 4.25 of
the serial driver. 2.1.104 on has 4.26, so there had to be a little change.
Here's what I have/had set for 2.1.104pre1 and 2.1.104:
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SERIAL_EXTENDED=y
CONFIG_SERIAL_MANY_PORTS=y
# CONFIG_SERIAL_SHARE_IRQ is not set
# CONFIG_SERIAL_DETECT_IRQ is not set
# CONFIG_SERIAL_MULTIPORT is not set
# CONFIG_SERIAL_NONSTANDARD is not set
So it seems that CONFIG_SERIAL_MANY_PORTS is somehow being ignored. But
this is kind of a wild guess on my part.
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dale Harris <rodmur@csuchico.edu> PGP KeyID: E26EC5FD http://www.ecst.csuchico.edu/~rodmur/ |+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu