linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 5/9] Set IDE in ULI1575 to not native mode.
@ 2007-06-04 22:30 Jon Loeliger
  2007-06-05  3:14 ` Zang Roy-r61911
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Loeliger @ 2007-06-04 22:30 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org

From: Zhang Wei <wei.zhang@freescale.com>

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: Jon Loeliger <jdl@freescale.com>
---
 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    1 +
 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 9259788..a82da4b 100644
--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -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);
-- 
1.5.0.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH v2 5/9] Set IDE in ULI1575 to not native mode.
  2007-06-04 22:30 [PATCH v2 5/9] Set IDE in ULI1575 to not native mode Jon Loeliger
@ 2007-06-05  3:14 ` Zang Roy-r61911
  0 siblings, 0 replies; 2+ messages in thread
From: Zang Roy-r61911 @ 2007-06-05  3:14 UTC (permalink / raw)
  To: Loeliger Jon-LOELIGER, linuxppc-dev

> From: Zhang Wei <wei.zhang@freescale.com>
>=20
> Set IDE in ULI1575 to not 100% native mode, which forces
> the IDE driver to probe the irq itself.
>=20
> Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
> Signed-off-by: Jon Loeliger <jdl@freescale.com>

Acked-by: Roy Zang <tie-fei.zang@freescale.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-05  3:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 22:30 [PATCH v2 5/9] Set IDE in ULI1575 to not native mode Jon Loeliger
2007-06-05  3:14 ` Zang Roy-r61911

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).