From owner-freebsd-hackers Wed Mar 20 0:59:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id C296937B404 for ; Wed, 20 Mar 2002 00:59:17 -0800 (PST) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g2K8wt140174; Wed, 20 Mar 2002 10:58:55 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200203200858.g2K8wt140174@zibbi.icomtek.csir.co.za> Subject: Re: Decision PCCOM Serial Card In-Reply-To: <1016611587.507.220.camel@chowder.gsoft.com.au> from "Daniel O'Connor" at "Mar 20, 2002 07:36:26 pm" To: doconnor@gsoft.com.au (Daniel O'Connor) Date: Wed, 20 Mar 2002 10:58:55 +0200 (SAT) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > Has anyone got FreeBSD to recognise one of these? > I've tried modifying sio.c by adding this at line 598.. > { 0x00046666, "PCCOM Serial", 0x18 }, > > But no luck.. Booting -v produces no diagnostics > pciconf -l for this card produces -> > none0@pci0:11:0: class=0x070002 card=0x00000000 chip=0x00046666 rev=0x02 hdr=0x00 > > The card has a PLX 9051 and 2 16750's on it. The Linux driver for it > looks pretty basic - it is a patch to serial.c which doesn't appear to > actually do much apart from working out how many ports the card has and > what sort of UART it possesses. (via PCI config regs). > > Anyone else had any luck with these? You might have more luck getting the puc driver to work with this card. It is more flexable and meant for these kind of cards. You will still need to figure out how the serial ports are organised on the card though. Things like, does each serial port have its own BAR, or are both inside one BAR and what the offset is where the ports start. You might be able to figure that out from the linux patch though. Once you figure those things out, you just add it to pucdata.c, build a kernel with the puc device and off you go. :-) John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message