From nobody Tue Feb 10 19:48:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1516526094182646.3833627689539; Sun, 21 Jan 2018 01:14:54 -0800 (PST) Received: from localhost ([::1]:44980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edBiH-0007fE-CE for importer@patchew.org; Sun, 21 Jan 2018 04:14:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edBfr-0006FJ-AC for qemu-devel@nongnu.org; Sun, 21 Jan 2018 04:12:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edBfq-0003Bj-7h for qemu-devel@nongnu.org; Sun, 21 Jan 2018 04:12:23 -0500 Received: from chuckie.co.uk ([82.165.15.123]:47985 helo=s16892447.onlinehome-server.info) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1edBfq-00032j-0k for qemu-devel@nongnu.org; Sun, 21 Jan 2018 04:12:22 -0500 Received: from host86-133-194-144.range86-133.btcentralplus.com ([86.133.194.144] helo=kentang.home) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1edBfu-0005SV-N9; Sun, 21 Jan 2018 09:12:27 +0000 From: Mark Cave-Ayland To: qemu-devel@nongnu.org, atar4qemu@gmail.com Date: Sun, 21 Jan 2018 09:11:48 +0000 Message-Id: <20180121091154.17426-5-mark.cave-ayland@ilande.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180121091154.17426-1-mark.cave-ayland@ilande.co.uk> References: <20180121091154.17426-1-mark.cave-ayland@ilande.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 86.133.194.144 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on s16892447.onlinehome-server.info) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 82.165.15.123 Subject: [Qemu-devel] [PATCHv2 04/10] apb: change pbm_pci_host prefix functions to use sabre_pci prefix X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Cave-Ayland Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 This is the proper name for the PBM host bridge as referenced in the Sun documentation. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Artyom Tarasenko --- hw/pci-host/apb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/pci-host/apb.c b/hw/pci-host/apb.c index d5c459a2df..98c5f344f7 100644 --- a/hw/pci-host/apb.c +++ b/hw/pci-host/apb.c @@ -472,7 +472,7 @@ static void sabre_init(Object *obj) sysbus_init_mmio(sbd, &s->pci_ioport); } =20 -static void sabre_pci_host_realize(PCIDevice *d, Error **errp) +static void sabre_pci_realize(PCIDevice *d, Error **errp) { pci_set_word(d->config + PCI_COMMAND, PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER); @@ -481,12 +481,12 @@ static void sabre_pci_host_realize(PCIDevice *d, Erro= r **errp) PCI_STATUS_DEVSEL_MEDIUM); } =20 -static void sabre_pci_host_class_init(ObjectClass *klass, void *data) +static void sabre_pci_class_init(ObjectClass *klass, void *data) { PCIDeviceClass *k =3D PCI_DEVICE_CLASS(klass); DeviceClass *dc =3D DEVICE_CLASS(klass); =20 - k->realize =3D sabre_pci_host_realize; + k->realize =3D sabre_pci_realize; k->vendor_id =3D PCI_VENDOR_ID_SUN; k->device_id =3D PCI_DEVICE_ID_SUN_SABRE; k->class_id =3D PCI_CLASS_BRIDGE_HOST; @@ -497,11 +497,11 @@ static void sabre_pci_host_class_init(ObjectClass *kl= ass, void *data) dc->user_creatable =3D false; } =20 -static const TypeInfo pbm_pci_host_info =3D { +static const TypeInfo sabre_pci_info =3D { .name =3D "pbm-pci", .parent =3D TYPE_PCI_DEVICE, .instance_size =3D sizeof(PCIDevice), - .class_init =3D sabre_pci_host_class_init, + .class_init =3D sabre_pci_class_init, .interfaces =3D (InterfaceInfo[]) { { INTERFACE_CONVENTIONAL_PCI_DEVICE }, { }, @@ -535,7 +535,7 @@ static const TypeInfo sabre_info =3D { static void sabre_register_types(void) { type_register_static(&sabre_info); - type_register_static(&pbm_pci_host_info); + type_register_static(&sabre_pci_info); } =20 type_init(sabre_register_types) --=20 2.11.0