From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zf3kj-0004as-Kd for qemu-devel@nongnu.org; Thu, 24 Sep 2015 06:27:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zf3kf-0005WW-Fh for qemu-devel@nongnu.org; Thu, 24 Sep 2015 06:27:49 -0400 From: Laurent Vivier Date: Thu, 24 Sep 2015 12:27:37 +0200 Message-Id: <1443090459-9281-1-git-send-email-lvivier@redhat.com> Subject: [Qemu-devel] [PATCH v4 0/2] spapr: generate DT node names List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: Laurent Vivier , thuth@redhat.com, "Michael S. Tsirkin" , qemu-devel@nongnu.org, Alexander Graf , David Gibson When DT node names for PCI devices are generated by SLOF, they are generated according to the type of the device (for instance, ethernet for virtio-net-pci device). Node name for hotplugged devices is generated by QEMU. This series adds the mechanic to QEMU to create the node name according to the device type too. v4: move pci_ids.h to a separate patch, fix PCI_CLASS_NETWORK_WORDFIP remove duplicate NL, remove 386, 486 and alpha subclasses rename "unknown-legacy-device", correctly check array size add Thomas and Michael "Reviewed-by". v3: use values from pci_ids.h, update pci_ids.h values keep only details for USB (xhci, ohci, ...) and PIC (IO-APIC, IO-XAPIC) v2: Use CamelCase name, remove misc-* name, remove _OTHER entries to fallback to class name (as SLOF does). Fix typo (IPMI-bltr). Laurent Vivier (2): PCI: add missing classes in pci_ids.h to build device tree spapr: generate DT node names hw/ppc/spapr_pci.c | 292 ++++++++++++++++++++++++++++++++++++++++++++--- include/hw/pci/pci_ids.h | 112 ++++++++++++++++-- 2 files changed, 381 insertions(+), 23 deletions(-) -- 2.4.3