Re: [PATCH] yet another yenta resource allocation fix

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 1 Oct 2001 00:00:27 +0100 (BST)


> I'm asking for application of a patch I'm using since 2.4.0. Issue was the
> BIOS of my OB-800 mapped the memory regions of the cardbus bridges into
> legacy 1M-area (0xe6000 e.g.). Despite being pretty bogus this used to
> work after a reboot just until the first pm-suspend/resume, where the
> hostbridge somehow looses access to this area.

At a guess your bios doesnt restore the shadow ram disables right.

> Following your suggestion, I've modified pci_socket.c to detect and fix
> the wrong mapping. However, I'm not sure whether there is some general
> rule if such fixes should be considered cardbus-specific or general
> pci-quirks.

Would a generic

pci_fixup_device()

type function not be more appropriate
-
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/