Date: Tue, 6 May 2008 09:53:42 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Ingeborg Hellemo <Ingeborg.Hellemo@cc.uit.no> Cc: Jeremy Chadwick <koitsu@freebsd.org>, freebsd-stable@freebsd.org Subject: Re: PCI serial card works on 6.2 but not on 6.3 Message-ID: <770A639E-DDE0-4464-B8A3-1D63EBFA6B65@mac.com> In-Reply-To: <200805061305.m46D57EF097186@barnetv.cc.uit.no> References: <200805061305.m46D57EF097186@barnetv.cc.uit.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 6, 2008, at 6:05 AM, Ingeborg Hellemo wrote: > > koitsu@freebsd.org said: >> Try loading the uart(4) driver, which can also replace sio(4) if I >> remember >> correctly. > > I have now tried both loading the uart4) -driver and kompiled it > into the > kernel, but the card is still unrecognized: > > pci1: <simple comms, UART> at device 8.0 (no driver attached) > > ~# pciconf -l -v | grep -B 4 UART > none2@pci1:8:0: class=0x070002 card=0x00041000 chip=0x98459710 > rev=0x01 > hdr=0x00 > vendor = 'MosChip Semiconductors (Was: Netmos Technology)' > device = 'Nm9845 Parallel/Serial Port Adapter' > class = simple comms > subclass = UART The problem seems to be puc(4). This appears to be a multi-port card, which means puc(4) needs to attach. This is not happening. The problem seems to be revision 1.51.2.3 of src/sys/dev/puc/pucdata.c Could you try the following patch? Index: pucdata.c =================================================================== RCS file: /volume/apg-bbuild09-b/marcelm/ncvs/src/sys/dev/puc/ pucdata.c,v retrieving revision 1.51.2.3 diff -u -r1.51.2.3 pucdata.c --- pucdata.c 15 Dec 2006 22:31:37 -0000 1.51.2.3 +++ pucdata.c 6 May 2008 16:51:02 -0000 @@ -946,7 +946,7 @@ /* NetMos 4S0P PCI: 4S, 0P */ { "NetMos NM9845 Quad UART", - { 0x9710, 0x9845, 0, 0x0014 }, + { 0x9710, 0x9845, 0, 0x0004 }, { 0xffff, 0xffff, 0, 0xffff }, { { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ }, -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?770A639E-DDE0-4464-B8A3-1D63EBFA6B65>