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