Tried this, and it works for me. Able to configure the ports just fine under
2.1.105. Here's a patch for easier reference:
*** /usr/src/linux-2.1.104/drivers/char/serial.c Mon May 25 10:32:52 1998
--- serial.c Wed Jun 10 12:12:22 1998
***************
*** 1661,1669 ****
if ((new_serial.irq >= NR_IRQS) || (new_serial.port > 0xffff) ||
(new_serial.type < PORT_UNKNOWN) ||
(new_serial.type > PORT_MAX) ||
! (new_serial.xmit_fifo_size == 0)) {
return -EINVAL;
}
/* Make sure address is not already in use */
--- 1661,1669 ----
if ((new_serial.irq >= NR_IRQS) || (new_serial.port > 0xffff) ||
(new_serial.type < PORT_UNKNOWN) ||
(new_serial.type > PORT_MAX) ||
! (new_serial.xmit_fifo_size < 0)) {
return -EINVAL;
}
/* Make sure address is not already in use */
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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