From owner-freebsd-alpha Fri Feb 14 9:54:25 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D10D337B401 for ; Fri, 14 Feb 2003 09:54:23 -0800 (PST) Received: from gatekeeper.oremut01.us.wh.verio.net (gatekeeper.oremut01.us.wh.verio.net [198.65.168.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BA8143F75 for ; Fri, 14 Feb 2003 09:54:23 -0800 (PST) (envelope-from fclift@verio.net) Received: from mx.dmz.orem.verio.net (mx.dmz.orem.verio.net [10.1.1.10]) by gatekeeper.oremut01.us.wh.verio.net (Postfix) with ESMTP id 22A1C3BF171 for ; Fri, 14 Feb 2003 10:54:22 -0700 (MST) Received: from vespa.dmz.orem.verio.net (vespa.dmz.orem.verio.net [10.1.1.59]) by mx.dmz.orem.verio.net (8.11.6/8.11.6) with ESMTP id h1EHsL395057; Fri, 14 Feb 2003 10:54:21 -0700 (MST) Date: Fri, 14 Feb 2003 11:01:55 -0700 (MST) From: X-X-Sender: To: Andrew Gallatin Cc: Subject: Re: problem with pcmcia isa adaptor on alpha In-Reply-To: <15947.56461.751618.786701@grasshopper.cs.duke.edu> Message-ID: <20030214104744.L28912-100000@vespa.dmz.orem.verio.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I tried your patch, though I only have a superficial understanding of what it does. (I had to add the following at the top #include to get the #define in question...) and your patch: > - RF_ACTIVE | rman_make_alignment_flags(PCCARD_MEMSIZE)); > + PCI_RF_DENSE | RF_ACTIVE | rman_make_alignment_flags(PCCARD_MEMSIZE)); and then, I run pccardd (which is important because it does the iocontrol that actually sets up the memory windows) and then with my lucent wireless card in the slot, a pccardc dumpcis gives me roughly: ------------------------------------------------------------------------------- # pccardc dumpcis | less Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff .... Common memory device information: IRQs: NMI IOCK BERR VEND 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Tuple #17, code = 0xff (Terminator), length = 0 2 slots found --------------------------------------------------------------------------- Next on my list - build the wi driver (and userland utils) into my kernel and see if this works :). So, one question - I presume a patch for pccard.c would need to have some #ifdef ALPHA kind of code in it so that this change is specific to the alpha architecture only? Should I generate a patch for this? File a PR? There would also need to be patches to either GENERIC or to LINT to let people know these can be made to work on alpha, and probably something about the wi driver too. Fred -- Fred Clift - fred@clift.org -- Remember: If brute force doesn't work, you're just not using enough. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message