From: Zhang Wei Date: Tue, 22 May 2007 03:38:30 +0000 (+0800) Subject: [POWERPC] MPC8641HPCN: Set IDE in ULI1575 to not native mode. X-Git-Tag: v2.6.23-rc1~767^2^2~88 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3ac4f0e1dd81e107a1c3462a5c20e318fdafdb82;p=karo-tx-linux.git [POWERPC] MPC8641HPCN: Set IDE in ULI1575 to not native mode. Set IDE in ULI1575 to not 100% native mode, which forces the IDE driver to probe the irq itself. Signed-off-by: Zhang Wei Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index afa82371979f..62b8a14213e7 100644 --- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c @@ -312,6 +312,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);