Skip to content

Commit

Permalink
[POWERPC] MPC8641HPCN: Set IDE in ULI1575 to not native mode.
Browse files Browse the repository at this point in the history
Set IDE in ULI1575 to not 100% native mode, which forces
the IDE driver to probe the irq itself.

Signed-off-by: Zhang Wei <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
wezhang authored and kumargala committed Jun 29, 2007
1 parent 476f577 commit 3ac4f0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ac4f0e

Please sign in to comment.