From owner-freebsd-current Fri Mar 8 12:35:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from gate.soum.co.jp (gate.soum.co.jp [202.221.40.2]) by hub.freebsd.org (Postfix) with ESMTP id 16E9D37B417; Fri, 8 Mar 2002 12:35:32 -0800 (PST) Received: from force.soum.co.jp (force.soum.co.jp [IPv6:3ffe:501:80a:1:a00:20ff:fef0:4c9c]) by gate.soum.co.jp (8.12.2/8.12.2) with ESMTP id g28KZUO0000499; Sat, 9 Mar 2002 05:35:30 +0900 (JST) (envelope-from fujita@soum.co.jp) Received: from vanilla.soum.co.jp (vanilla.soum.co.jp [3ffe:501:80a:1:202:b3ff:fe98:8115]) by force.soum.co.jp (8.11.6/3.7W-2001122804) with ESMTP id g28KZSS26905; Sat, 9 Mar 2002 05:35:28 +0900 (JST) Received: from localhost (localhost [::1]) by vanilla.soum.co.jp (Postfix) with ESMTP id 59B6F3F58; Sat, 9 Mar 2002 05:35:28 +0900 (JST) Date: Sat, 09 Mar 2002 05:35:27 +0900 (JST) Message-Id: <20020309.053527.28786837.fujita@soum.co.jp> To: imp@village.org Cc: freebsd-current@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Subject: Re: bus_alloc_resouce() failure for OPTi 82C861 From: FUJITA Kazutoshi In-Reply-To: <20020307.013713.112719491.imp@village.org> References: <20020307.173524.71090447.fujita@soum.co.jp> <20020307.013713.112719491.imp@village.org> X-PGP-PublicKey: http://www.soum.co.jp/~fujita/fujita-GnuPG-publickey.txt X-PGP-FingerPrint: 9956 2ECE 7E7D B425 EC2D D49E FEBB 3C5F 2C34 1ECA Organization: SOUM Corporation, JAPAN X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 =?iso-2022-jp?B?KBskQjgtTFobKEIp?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "M. Warner Losh" Subject: Re: bus_alloc_resouce() failure for OPTi 82C861 Date: Thu, 07 Mar 2002 01:37:13 -0700 (MST) Message-ID: <20020307.013713.112719491.imp@village.org> > : [boot message] > : ohci0: irq 10 at device 5.0 on pci0 > : ohci0: Could not map memory > : device_probe_and_attach: ohci0 attach returned 6 > : It seems the function bus_alloc_resource() returns NULL. > : > : How can I avoid this failure? > > You can't. However, you can work around it like the pccbb driver > does. It would be better if these things were handled in the pci bus > layer, but someone would need to implement that. Thanks for your advice. I tried to work around like pccbb driver does, it seems work. [boot message] ohci0: irq 10 at device 5.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: OPTi OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered TIA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message