Re: Linux 2.4.19-ac2

Daniela Engert
2002-08-04T19:36:13Z

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