Date: Tue, 12 Sep 2000 19:10:03 -0700 (PDT) From: moride@portside.net To: freebsd-gnats-submit@FreeBSD.org Subject: kern/21242: Koutech PCI dual port serial card patch Message-ID: <20000913021003.826C637B423@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 21242 >Category: kern >Synopsis: Koutech PCI dual port serial card patch >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 12 19:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Shigeki Moride >Release: FreeBSD 4.1-STABLE >Organization: >Environment: FreeBSD ndm 4.1-STABLE FreeBSD 4.1-STABLE #23: Wed Sep 6 20:34:09 JST 2000 root@portside.net:/usr/src/sys/compile/NDM i386 >Description: I was make a Koutech PCI dual port serial card patch. Its card (http://www.koutech.com/ioflex-2S.htm) has Dual 16550 and shared IRQ. original boot message was Aug 28 20:34:00 ndm /kernel: pci0: <unknown card> (vendor=0x1407, dev=0x0110) at 20.0 irq 11 Aug 28 20:34:00 ndm /kernel: pci0: <unknown card> (vendor=0x1407, dev=0x0111) at 20.1 irq 11 after this patch sio0: <Koutech IOFLEX-2S PCI Dual Port Serial> port 0xa800-0xa807 irq 11 at device 20.0 on pci0 sio0: moving to sio2 sio2: type 16550A sio0: <Koutech IOFLEX-2S PCI Dual Port Serial> port 0xa400-0xa407 irq 11 at device 20.1 on pci0 sio0: moving to sio3 sio3: type 16550A >How-To-Repeat: >Fix: sio.c probe table modification. --- /sys/isa/sio.c.orig Wed Aug 16 06:05:30 2000 +++ /sys/isa/sio.c Tue Sep 5 21:49:53 2000 @@ -581,6 +581,8 @@ static struct pci_ids pci_ids[] = { { 0x100812b9, "3COM PCI FaxModem", 0x10 }, { 0x048011c1, "ActionTec 56k FAX PCI Modem", 0x14 }, + { 0x01101407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 }, + { 0x01111407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 }, { 0x00000000, NULL, 0 } }; and kernerl configuration file modification. # Serial (COM) ports options COM_MULTIPORT #code for some cards with shared IRQs device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at pci? flags 0x201 device sio3 at pci? flags 0x201 flags 0x201 meaning: shared IRQs and minor number of master port was 2. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000913021003.826C637B423>