summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/86xx
diff options
context:
space:
mode:
authorZhang Wei <wei.zhang@freescale.com>2007-05-22 05:38:30 +0200
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 08:58:26 +0200
commit3ac4f0e1dd81e107a1c3462a5c20e318fdafdb82 (patch)
tree0b4c21ab372fee914505100f8486f58552c90d5f /arch/powerpc/platforms/86xx
parent[POWERPC] 86xx: Workaround PCI_PRIMARY_BUS usage (diff)
downloadlinux-3ac4f0e1dd81e107a1c3462a5c20e318fdafdb82.tar.xz
linux-3ac4f0e1dd81e107a1c3462a5c20e318fdafdb82.zip
[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 <wei.zhang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/86xx')
-rw-r--r--arch/powerpc/platforms/86xx/mpc86xx_hpcn.c1
1 files changed, 1 insertions, 0 deletions
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);