From owner-freebsd-current@FreeBSD.ORG Sat Feb 5 02:13:26 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57FC516A4CE; Sat, 5 Feb 2005 02:13:26 +0000 (GMT) Received: from mailhost.catholic.org (mailhost.catholic.org [66.122.14.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 114F843D46; Sat, 5 Feb 2005 02:13:26 +0000 (GMT) (envelope-from wsk@catholic.org) Received: from webmail.catholic.org (webmail.catholic.org [66.122.14.27]) j152Ec7O007942; Fri, 4 Feb 2005 18:14:38 -0800 Received: from 211.96.21.195 (SquirrelMail authenticated user wsk) by webmail.catholic.org with HTTP; Sat, 5 Feb 2005 02:13:25 -0000 (GMT) Message-ID: <60355.211.96.21.195.1107569605.squirrel@webmail.catholic.org> In-Reply-To: <200502031304.41476.jhb@FreeBSD.org> References: <57062.211.96.21.195.1106558752.squirrel@webmail.catholic.org> <200502031304.41476.jhb@FreeBSD.org> Date: Sat, 5 Feb 2005 02:13:25 -0000 (GMT) From: "wsk" To: "John Baldwin" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Mailman-Approved-At: Sat, 05 Feb 2005 12:53:59 +0000 cc: current@FreeBSD.org Subject: Re: Rocketport uPCI ioaddr mapping failed under FreeBSD-5.3&CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 02:13:26 -0000 > On Monday 24 January 2005 04:25 am, wsk wrote: >> hi,folks: >> >> after installed RocketPort uPCI card into my box;it >> dumps the follow eror msgs: >> >> rp0: port 0xde00-0xdeff,0xdd80-0xddff mem >> 0xfcedff80-0xfcedffff >> irq 19 at device 10.0 on pci2 >> rp0: failed: rid 0x10 is memory, requested 4 >> rp0: ioaddr mapping failed for RocketPort(PCI). >> device_attach: rp0 attach returned 6 > > Looks like you need to change the driver to map its io addresses from a > different BAR for this chip ID since BAR 0 is memory, not I/O. I'm not > sure > this driver will work with this card, btw, but you can try changing this > line > in the attach function of sys/dev/rp/rp_pci.c: > > ctlp->io_rid[0] = 0x10; > > to use either '0x14' or '0x18' rather than '0x10' and see if it works. > >> and pciconfig the rp0: >> rp0@pci2:10:0: class=0x078000 card=0x080511fe chip=0x080511fe rev=0x01 >> hdr=0x00 >> vendor = 'Comtrol Corp' >> class = simple comms yep.It seems work excellent !and thank u very much ----------------------------------------- This email was sent using FREE Catholic Online Webmail! http://webmail.catholic.org/