Re: 2.5.47-ac4 panic on boot.

Samuli Suonpaa (suonpaa@iki.fi)
Sat, 16 Nov 2002 00:02:49 +0200


Justin A <ja6447@albany.edu> 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!-)

Suonpää...

--- 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 @@
#ifdef CONFIG_CARDBUS
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/