Re: 2.5.47-ac4 panic on boot.

From: Samuli Suonpaa (
Date: Fri Nov 15 2002 - 17:02:49 EST

Justin A <> writes:
> On another note, pcibios_read_config_dword seems to be missing, and
> pcmcia-core wants it. I'll have to see whats up with that
> tomorrow...but at least I got it booting now:)

Osamu Tomita sent following fix a few days ago. No rediffed against
2.5.47-ac4. With this, I was able to get pcmcia_core loading. On the
other hand, I seem to be able to crash my Dell Latitude by removing
and then re-inserting 3c59x -cardbus-adapter. And by trying to reboot
or halt, so I really cannot tell whether this patch _really_ works.
But it definitely did something!-)


--- linux-2.5.47-ac4/drivers/pcmcia/cistpl.c.orig 2002-11-15 23:29:24.000000000 +0200
+++ linux-2.5.47-ac4/drivers/pcmcia/cistpl.c 2002-11-15 23:31:35.000000000 +0200
@@ -430,7 +430,7 @@
     if (s->state & SOCKET_CARDBUS) {
         u_int ptr;
- pcibios_read_config_dword(s->cap.cb_dev->subordinate->number, 0, 0x28, &ptr);
+ pci_bus_read_config_dword(s->cap.cb_dev->subordinate, 0, 0x28, &ptr);
         tuple->CISOffset = ptr & ~7;
         SPACE(tuple->Flags) = (ptr & 7);
     } else

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:39 EST