From owner-freebsd-mobile@FreeBSD.ORG Wed Jun 18 08:50:30 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EFB137B408 for ; Wed, 18 Jun 2003 08:50:30 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74F7C43FB1 for ; Wed, 18 Jun 2003 08:50:29 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h5IFoOkA078120; Wed, 18 Jun 2003 09:50:24 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 18 Jun 2003 09:49:29 -0600 (MDT) Message-Id: <20030618.094929.62367057.imp@bsdimp.com> To: ali.uezguemuer@gmx.net From: "M. Warner Losh" In-Reply-To: <002301c335a4$bb10e0a0$a565e2c3@jupiter> References: <002301c335a4$bb10e0a0$a565e2c3@jupiter> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Problem with PCMCIA Ethernet card: no card in database for '(null)'... X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 15:50:30 -0000 In message: <002301c335a4$bb10e0a0$a565e2c3@jupiter> "Ali Uezguemuer" writes: : As suggested, I've tried to add the following lines to /boot/loader.conf: : hw.cbb.start_memory="0x20000000" (tried various values for this line, : but I don't know what I'm doing there) : hw.pci.allow_unsupported_io_range = "1" ... : Can anybody either help me or give me a hint where to find any more : information on this? I really want FreeBSD and the card to work on that : laptop and I'd really appreciate your help. dmesg and look for other PCI devices on the same bus as the cbb device. You'll see something like: pcm0: port 0xec00-0xecff mem 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2 cbb0: at device 15.0 on pci2 fwohci0: mem 0xf8ff8000-0xf8ffbfff,0xf8ffd800-0xf8ffdfff irq 10 at device 15.2 on pci2 etc. Next, look at the addresses used by the various devices on the bus. This means that something like 0xf8ff0000-0xf8ff7fff is free on the bus. This would make a good range to allocate from maybe. If you see a lot of ranges 256 bytes in size, you might have some issues with prefetchable vs non-prefetchable issues. But I'll ignore those for the moment. Warner