qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qemu PPC Linux 2.6 IDE


From: Thayne Harbaugh
Subject: [Qemu-devel] [PATCH] qemu PPC Linux 2.6 IDE
Date: Wed, 23 Feb 2005 15:28:49 -0700

I have qemu PPC booting Linux 2.6.  Here's a patch for IDE.

IDE detection of macio has changed significantly.  2.4
drivers/ide/ppc/pmac.c:pmac_ide_probe() simply looked for the IDE/ATA
controllers in OF.  2.6 pmac.c:pmace_ide_probe() registers macio device
filters for IDE/ATA and relies on macio device enumeration to connect to
the IDE driver.  Where things are broken is that
drivers/macintosh/macio_asic.c:macio_pci_probe() fails to match the
macio device due to the bus:devfn not being set as a "reg" property in
OHW.

There are two questions about this patch:

* What is the complete information expected in the "reg" property of a
PCI device?

* Where should the current macio "reg" information really be stored, if
at all?

I should be able to investigate the above two questions in the next few
days.

A fix for 2.6 FB should be soon.

Attachment: OpenHackWare-0.4-pre1c-2.6_ide.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]