[POWERPC] MPC8641HPCN: Set IDE in ULI1575 to not native mode.
authorZhang Wei <wei.zhang@freescale.com>
Tue, 22 May 2007 03:38:30 +0000 (11:38 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jun 2007 06:58:26 +0000 (01:58 -0500)
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>
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c

index afa82371979faeaa73da788424ef784cbb9a5a67..62b8a14213e77c88df2a5eab5a9f355fa111aa06 100644 (file)
@@ -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);