Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 00:14:15 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        danny-dated-1035437906.c6106e@limehouse.org
Cc:        stable@FreeBSD.ORG
Subject:   Re: pcic0: <YENTA PCI-CardBus Bridge> works on 4.6R but not on 4.7-PRE
Message-ID:  <20021019.001415.103568681.imp@bsdimp.com>
In-Reply-To: <20021019053824.GA271@limehouse.org>
References:  <20020923175841.GA1065@limehouse.org> <20020930.014311.73447261.imp@bsdimp.com> <20021019053824.GA271@limehouse.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20021019053824.GA271@limehouse.org>
            Danny Cautaert <danny-dated-1035437906.c6106e@limehouse.org> writes:
: On Mon, Sep 30, 2002 at 01:43:11AM -0600, M. Warner Losh wrote:
: > In message: <20020923175841.GA1065@limehouse.org>
: >             Danny Cautaert <danny-dated-1033235923.78c671@limehouse.org> writes:
: > : The PCMCIA-controller of my laptop works fine on 4.6.2-RELEASE but not
: > : on 4.7-PRELEASE. The controller gets detected, but the cards don't.
: > : AAMOF it seems that the system thinks a card is inserted in both slots
: > : wether there are some cards inserted or not. It doesnt recognize any
: > : card either. As I don't know where to look further I included a verbose
: > : dmesg of the system in both RELEASE and PRERELEASE. Any clues?
: > 
: > This is because we're mapping the controller smack dab in the middle
: > of your agp video card now, and we didn't before.
: > 
: > Can you recompile from source?  If so, I have a patch you can try.
: 
: I already replied earlier but apparently it got lost. There is
: absolutely no problem to recompile, I am running both 4.6.2-RELEASE-p2
: and 4.7-STABLE on this laptop (on separate slices, with shared /var,
: /usr/home, /usr/ports, /usr/local and /usr/X11R6)
: 
: So I also can confirm the problem persists in 4.7-RELEASE and -STABLE.

OK.  Thanks for the update.

: However you didn't include this patch on your mail. Can you tell me
: where I can find it?

Oh, I'm sorry.  Here's a quick and dirty patch that might work for
you.

Warner

Index: pcic_pci.c
===================================================================
RCS file: /cache/ncvs/src/sys/pccard/pcic_pci.c,v
retrieving revision 1.122
diff -u -r1.122 pcic_pci.c
--- pcic_pci.c	7 Oct 2002 07:02:48 -0000	1.122
+++ pcic_pci.c	19 Oct 2002 06:13:21 -0000
@@ -1385,7 +1385,7 @@
 	pci_write_config(dev, sc->memrid, 0xffffffff, 4);
 	sockbase = pci_read_config(dev, sc->memrid, 4);
 	sockbase = (sockbase & 0xfffffff0) & -(sockbase & 0xfffffff0);
-#define CARDBUS_SYS_RES_MEMORY_START    0x88000000
+#define CARDBUS_SYS_RES_MEMORY_START    0xe0000000
 #define CARDBUS_SYS_RES_MEMORY_END	0xFFFFFFFF
 	sc->memres = bus_generic_alloc_resource(device_get_parent(dev),
 	    dev, SYS_RES_MEMORY, &sc->memrid,

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021019.001415.103568681.imp>