From owner-freebsd-stable@FreeBSD.ORG Wed Sep 15 17:05:03 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC64B16A4CF; Wed, 15 Sep 2004 17:05:03 +0000 (GMT) Received: from phuket.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3E2E43D45; Wed, 15 Sep 2004 17:05:01 +0000 (GMT) (envelope-from fb-stable@psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by phuket.psconsult.nl (8.12.8p2/8.12.8) with ESMTP id i8FH50Ye023785; Wed, 15 Sep 2004 19:05:00 +0200 (CEST) (envelope-from fb-stable@psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.12.8p2/8.12.8/Submit) id i8FH502j023784; Wed, 15 Sep 2004 19:05:00 +0200 (CEST) Date: Wed, 15 Sep 2004 19:04:59 +0200 From: Paul Schenkeveld To: freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Message-ID: <20040915170459.GA23228@psconsult.nl> Mail-Followup-To: freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Trying to get Quatech quad SIO to work X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 17:05:03 -0000 Hi All, I need some help with a quad serial I/O card and the puc driver. Hardware: Intel SCB2/SCSI board, dual Pentium 3 1.4GHz, 3GB Ram Quatech QSCLP-100 quad serial board OS: FreeBSD 4.9-RELEASE-p1 #8: Wed Sep 15 18:13:54 CEST 2004 After a long search I finally found a quad serial board for 3.3V only PCI bus available locally: Quatech QSCLP-100. It's not automatically recognized by the puc(4) driver so I tried to guess the entry in pucdata.c from the pciconf -l output: # pciconf -l | grep none0 none0@pci2:10:0: class=0x070200 card=0x0170135c chip=0x0170135c rev=0x01 hdr=0x00 I added the following to the end of pucdata.c: { "Quatech quad PCI/LP", { 0x135c, 0x0170, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ }, { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ }, }, }, >From dmesg I can see that the card is recognized but could not be configured (boot -v flag used): found-> vendor=0x135c, dev=0x0170, revid=0x01 class=07-02-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=18 map[10]: type 1, range 32, base febf0000, size 7 map[14]: type 1, range 32, base 00004000, size 7 map[18]: type 1, range 32, base 00004080, size 5 pci2: on pcib2 puc0: port 0x4080-0x409f,0x4000-0x407f mem 0xfebf0000-0xfe bf007f irq 18 at device 10.0 on pci2 could not get resource could not get resource could not get resource could not get resource >From the documentation I know the board has 16750 Uarts and an interrupt status register. The documentation (and sources for a Linux driver) are at: http://www.psconsult.nl/quatech/ Can anyone tell me how to get this board to work, preferrably with FreeBSD-4? Many thanks in advance! Paul Schenkeveld