提交 3ac4f0e1 编写于 作者: Z Zhang Wei 提交者: Kumar Gala

[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: NZhang Wei <wei.zhang@freescale.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 476f5779
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册