Skip to contentSkip to conversation

Set IDE in ULI1575 to not native mode.

PATCH Superseded Jon Loeliger 1 participant 1 message Jun 1, 2007 PowerPC

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 5/8 Set IDE in ULI1575 to not native mode.

From: Zhang Wei <[email protected]>

Set IDE in ULI1575 to not 100% native mode, which forces the IDE driver to probe the irq itself.

---
 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +1 -0
index 9259788..a82da4b 100644
@@ -319,6 +319,7 @@ static void __devinit quirk_uli5229(struct pci_dev *dev)
 {
 	unsigned short temp;
 	pci_write_config_word(dev, 0x04, 0x0405);
+	dev->class &= ~0x5;
 	pci_read_config_word(dev, 0x4a, &temp);
 	temp |= 0x1000;
 	pci_write_config_word(dev, 0x4a, temp);
Signature · 1 line
1.5.0.3