Re: 2.5.67 + i82365 -> oops

Russell King (rmk@arm.linux.org.uk)
Fri, 18 Apr 2003 00:59:11 +0100


On Thu, Apr 17, 2003 at 03:00:18PM -0700, Jean Tourrilhes wrote:
> I've got troubles with 2.5.67 and an ISA Pcmcia bridge
> (i82365). Half of the time, after boot, the card is recognised as
> memory_cs (which is not compiled), where it should be airo_cs.

Well, the oops can be solved by application of this patch. As for the
random detection (or non-detection) of airo_cs, can you say that any
kernel has reliably detected it (and if so, which kernel?) Basically
I'd like to know if the problem exists with:

2.4
2.5 before Dominik/my changes
2.5 after changes

diff -Nru a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c
--- a/drivers/pcmcia/cardbus.c Fri Apr 18 00:55:08 2003
+++ b/drivers/pcmcia/cardbus.c Fri Apr 18 00:55:08 2003
@@ -270,5 +270,6 @@
{
struct pci_dev *bridge = s->cap.cb_dev;

- pci_remove_behind_bridge(bridge);
+ if (bridge)
+ pci_remove_behind_bridge(bridge);
}

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/