From owner-freebsd-questions Sat Oct 12 4:46:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38C6037B401 for ; Sat, 12 Oct 2002 04:46:30 -0700 (PDT) Received: from dns1.cics.co.za (dns1.cics.co.za [196.36.190.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7124443EC2 for ; Sat, 12 Oct 2002 04:46:25 -0700 (PDT) (envelope-from mark@netchat.co.za) Received: (qmail 89818 invoked by uid 85); 12 Oct 2002 11:45:06 -0000 Received: from unknown (HELO mark.igate.org.za) (196.15.196.5) by dns1.cics.co.za with SMTP; 12 Oct 2002 11:45:04 -0000 Date: Sat, 12 Oct 2002 13:44:28 +0200 From: Mark Pearce To: Dean Hollister Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Decision PCCOM 8 port serial cards In-Reply-To: <20021012192920.G6645-100000@odyssey.apana.org.au> References: <200210120947.RAA93154@mail.wa.apana.org.au> <20021012192920.G6645-100000@odyssey.apana.org.au> Organization: Netchat X-Mailer: Something I found Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Message-Id: <20021012114625.7124443EC2@mx1.FreeBSD.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 12 Oct 2002 19:34:28 +0800 (WST) Dean Hollister grunted: > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/serial-uart/sio.html Hi I know I'm close, but still so far to go: no progress yet, but my dmesg shows the following: pci0: (vendor=0x6666, dev=0x0002) at 15.0 irq 11 and pciconf shows the following: none1@pci0:15:0: class=0x070002 card=0x02000008 chip=0x00026666 rev=0x02 hdr=0x00 vendor = 'Decision Computer International Co.' device = 'PCCOM8' class = simple comms subclass = UART I suspect the sio ports are "working" as per the kernel, but they have to be "attached" to the serial card, the card is detected, but no device driver is loaded to drive this card. I have tried the PUC driver, investigation says I should add new cards to the src/sys/dev/puc/pucdata.c and rebuild. the only Decision cards in pucdata.c are as follows: /* Decision Computer Inc, serial ports */ { "Decision Computer Inc, PCCOM 4-port serial", { 0x6666, 0x0001, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x1c, 0x08, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x1c, 0x10, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x1c, 0x18, COM_FREQ }, }, }, { "PCCOM dual port RS232/422/485", { 0x6666, 0x0004, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x1c, 0x08, COM_FREQ }, }, }, How should I alter this to add support for the puc driver to attach to the sio ports ? Thanks Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message