Re: Linux 2.4.19-ac2

Daniela Engert (dani@ngrt.de)
Sun, 04 Aug 2002 21:39:39 +0200 (CDT)


On 04 Aug 2002 21:27:19 +0100, Alan Cox wrote:

> if((r9 & 0x0A) != 0x0A) /* Legacy only */
> /* Request programmability */
> pci_write_config_byte(dev, PCI_CLASS_PROG, r9|0x05);

There is no guarantee that this will succeed. Quite some PCI IDE
controller chips (f.e. ALi, SiS) may have config register 9 r/o locked
by some other means.

Ciao,
Dani

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