From owner-freebsd-mobile Wed Nov 14 20:10:36 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id 2077137B417 for ; Wed, 14 Nov 2001 20:10:34 -0800 (PST) Received: from windriver.com (johng-home-pc.wrs.com [147.11.33.26]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id UAA03133; Wed, 14 Nov 2001 20:09:50 -0800 (PST) Message-ID: <3BF342B0.59340201@windriver.com> Date: Wed, 14 Nov 2001 20:21:04 -0800 From: John Gordon X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: RFH: Some things I don't understand about the 4.4-STABLE code References: <3BF232AB.97AEC3CA@windriver.com> <200111141537.fAEFbq703356@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Warner, > Ok. I'll do my best to describe it. Thank you. Your description did make things a lot clearer and I now have a much better understanding of the new scheme. My previous exposure to PCMCIA has only been on StrongARM CPUs, and the controller was built into the CPU so these PCI bridge solutions are a bit new for me ;-) > I suspect that you are seeing a > problem with the memory allocation stuff (I have some patches that > I've not committed). > > sysctl -w machdep.pccard.mem_start=0xd0000 This, followed by powering down the card and then back up using pccardc worked a treat. Looking at the code, I have modified the initialisation of mem_start in pccard_nbk.c to be 0xd0000 instead of IOM_BEGIN for now. I then removed these lines from my loader.conf file and the card comes up perfectly: hw.pcic.intr_path="1" hw.pcic.irq="0" Thanks for the help, and the explanation, much appreciated, John... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message