[ ] Saturday, 18 October 2014 [ ]

Six Serial Ports

OpenBSD was only recognising 2 of the six serial ports on my Jetway NC9MGL-525, this is due the GENERIC i386 Kernel having only 3 com ports by default:


com0    at isa? port 0x3f8 irq 4        # standard PC serial ports
com1    at isa? port 0x2f8 irq 3
com2    at isa? port 0x3e8 irq 5
com3    at isa? disable port 0x2e8 irq 9 # (conflicts with some video cards)
To fix the issue I edited GENERIC and added:

com0    at isa? port 0x3f8 irq 4        # standard PC serial ports
com1    at isa? port 0x2f8 irq 3
com2    at isa? port 0x4E0 irq 10
#com3   at isa? disable port 0x2e8 irq 9 # (conflicts with some video cards)
com3    at isa? port 0x4e8 irq 10
com4    at isa? port 0x4f0 irq 10
com5    at isa? port 0x4f8 irq 10
This used the port numbers and IRQ's from the BIOS menu. I then rebuilt the kernel and booted the new kernel. This resulted in:

com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: probed fifo depth: 15 bytes
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com1: probed fifo depth: 15 bytes
com2 at isa0 port 0x4e0/8 irq 10: ns16550a, 16 byte fifo
com2: probed fifo depth: 15 bytes
com3 at isa0 port 0x4e8/8 irq 10: ns16550a, 16 byte fifo
com3: probed fifo depth: 15 bytes
com4 at isa0 port 0x4f0/8 irq 10: ns16550a, 16 byte fifo
com4: probed fifo depth: 15 bytes
com5 at isa0 port 0x4f8/8 irq 10: ns16550a, 16 byte fifo
com5: probed fifo depth: 15 bytes
serialOpenBSD


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $