From owner-freebsd-stable@FreeBSD.ORG Sat Mar 29 23:56:37 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A382A1065670 for ; Sat, 29 Mar 2008 23:56:37 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 2D82D8FC17 for ; Sat, 29 Mar 2008 23:56:37 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:52284 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Jfkua-0006FF-3i for freebsd-stable@freebsd.org; Sun, 30 Mar 2008 00:56:36 +0100 Received: (qmail 42337 invoked from network); 30 Mar 2008 00:56:31 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 30 Mar 2008 00:56:31 +0100 Received: (qmail 43378 invoked by uid 1001); 30 Mar 2008 00:56:31 +0100 Date: Sun, 30 Mar 2008 00:56:31 +0100 From: Erik Trulsson To: Richard Perini Message-ID: <20080329235631.GA43279@owl.midgard.homeip.net> Mail-Followup-To: Richard Perini , freebsd-stable@freebsd.org References: <20080329230509.GA20266@mippet.ci.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080329230509.GA20266@mippet.ci.com.au> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1Jfkua-0006FF-3i. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Jfkua-0006FF-3i ab532f61f5466c9ad0a7631056dca1a8 Cc: freebsd-stable@freebsd.org Subject: Re: PCI add-in parallel port problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 23:56:37 -0000 On Sun, Mar 30, 2008 at 10:05:09AM +1100, Richard Perini wrote: > > Hi, > > I'm trying to get a PCI-express add-in parallel port card working with > 7.0-STABLE, and after trying the following, I'm unable to get it to > attach to the ppc bus. The card has a "MosChip NM9805" chip. Motherboard > is an ASUS P5E64 WS. (which of course has no on-board parallel port). > The card seems to be recognised by the puc layer. > > I've added > device puc > to the kernel config file, and added > > { 0x9710, 0x9805, 0xffff, 0, > "MosChip NM9805 Dual 1284 Printer port", > 0, > PUC_PORT_2P, 0x10, 8, 0, > }, > > to sys/dev/puc/pucdata.c and with verbose booting, get the following > extracts from dmesg: (full dmesg attached below) > > pcib3: slot 0 INTB hardwired to IRQ 17 > pcib4: slot 1 INTA is routed to irq 17 > pcib5: slot 0 INTA is routed to irq 17 > pcib6: slot 0 INTA is routed to irq 17 > ppc0: Reserved 0x8 bytes for rid 0x10 type 4 at 0xdc00 > ppc0: using extended I/O port range > puc0: port 0xdc00-0xdc07,0xd880-0xd887,0xd800-0xd807,0xd480-0xd487,0xd400-0xd407,0xd080-0xd08f irq 17 at device 0.0 on pci10 > pcib6: puc0 requested I/O range 0xdc00-0xdc07: in range > pcib5: puc0 requested I/O range 0xdc00-0xdc07: in range > pcib4: puc0 requested I/O range 0xdc00-0xdc07: in range > pcib3: puc0 requested I/O range 0xdc00-0xdc07: in range > puc0: Reserved 0x8 bytes for rid 0x18 type 4 at 0xd800 > puc0: [FILTER] > ppc0: using extended I/O port range > ppc0: using extended I/O port range > > [ and later ] > > ppc0: parallel port not found. > ppc0: failed to probe at irq 7 on isa0 > > Any suggestions would be appreciated. > Take a look in /boot/device.hints Do you have any lines in there referring to ppc0 ? If so try commenting them out. -- Erik Trulsson ertr1013@student.uu.se