Skip to contentSkip to conversation

Set IDE in ULI1575 to not native mode.

PATCH In review Jon Loeliger 2 participants 2 messages Jun 4, 2007 – Jun 5, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH v2 5/9 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