From owner-freebsd-mobile Fri Aug 25 9:28: 3 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from po3.wam.umd.edu (po3.wam.umd.edu [128.8.10.165]) by hub.freebsd.org (Postfix) with ESMTP id 4403A37B43E for ; Fri, 25 Aug 2000 09:28:01 -0700 (PDT) Received: from rac1.wam.umd.edu (rac1.wam.umd.edu [128.8.10.141]) by po3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id MAA13520; Fri, 25 Aug 2000 12:27:59 -0400 (EDT) Received: from rac1.wam.umd.edu (localhost [127.0.0.1]) by rac1.wam.umd.edu (8.9.3/8.9.3) with SMTP id MAA23032; Fri, 25 Aug 2000 12:27:58 -0400 (EDT) Received: from localhost (culverk@localhost) by rac1.wam.umd.edu (8.9.3/8.9.3) with ESMTP id MAA23028; Fri, 25 Aug 2000 12:27:58 -0400 (EDT) X-Authentication-Warning: rac1.wam.umd.edu: culverk owned process doing -bs Date: Fri, 25 Aug 2000 12:27:58 -0400 (EDT) From: Kenneth Wayne Culver To: Jonathan Chen Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: fe575 (again) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Alright, here's the latest, I added my pci id for my cardbus chip (ti > 1225) to the hack driver, and it detects.. but says: > > pccbb: Could not map register memory > > What should I do to the code to fix this? I'm a bit stumped because I've > been sitting here for a while now trying to get this to work. > > Alright, I've been looking at the code some more, and I found this: /* The IBM TP600E is gracious enough to pre-allocate a memory * space for the PCI-CardBus bridge, so all we need to do is map * it in, and save the address in the softc register */ rid=PCIR_CARDBUS_BASE_2; sc->cb_base_res=bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0,~0,1, RF_ACTIVE); Basically this looks to me like you're assuming that all laptops pre-allocate a memory space for the pci-cardbus bridge... and that's why my laptop can't map the register space... because it's not pre-allocating memory for the bridge. I'm looking into how to do this, and when I am done, I'll make patchs to your patchs :-) for those of us who got this ethernet card with their Dell Inspiron 3800's :) Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message