Re: Linux 2.4.19-ac2

From: Daniela Engert (dani@ngrt.de)
Date: Sun Aug 04 2002 - 14:39:39 EST


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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:25 EST