From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMeHK-0003XV-NZ for qemu-devel@nongnu.org; Fri, 22 Jan 2016 11:09:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMeHJ-00030p-P4 for qemu-devel@nongnu.org; Fri, 22 Jan 2016 11:09:38 -0500 From: Programmingkid Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Jan 2016 11:09:23 -0500 Message-Id: <96510826-2FD7-4967-9BEC-746DB44A81F8@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Subject: [Qemu-devel] [PATCH] hw/pci-host/uninorth.c: Add support for Apple's PCI bridge register 0x48 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , david@gibson.dropbear.id.au, Mark Cave-Ayland Cc: "qemu-ppc@nongnu.org list:PowerPC" , qemu-devel qemu-devel Apple has custom PCI bridge registers that are not a part of any known = standard. This patch implements register 0x48. With this patch the = AppleMacRiscPCI kernel extension no longer prints these error messages = for the mac99 target: AppleMacRiscPCI: bad range 2(80000000:01000000) AppleMacRiscPCI: bad range 2(81000000:00001000) AppleMacRiscPCI: bad range 2(81080000:00080000) Signed-off-by: John Arbuckle --- hw/pci-host/uninorth.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/pci-host/uninorth.c b/hw/pci-host/uninorth.c index 215b64f..6541b10 100644 --- a/hw/pci-host/uninorth.c +++ b/hw/pci-host/uninorth.c @@ -330,6 +330,10 @@ static void unin_agp_pci_host_realize(PCIDevice *d, = Error **errp) d->config[0x0C] =3D 0x08; // cache_line_size d->config[0x0D] =3D 0x10; // latency_timer // d->config[0x34] =3D 0x80; // capabilities_pointer + d->config[0x48] =3D 0x0; + d->config[0x49] =3D 0x0; + d->config[0x4a] =3D 0x0; + d->config[0x4b] =3D 0x1; } =20 static void u3_agp_pci_host_realize(PCIDevice *d, Error **errp) --=20 1.7.5.4