From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YROOD-0004in-0T for qemu-devel@nongnu.org; Fri, 27 Feb 2015 12:07:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YROOB-0007LP-ED for qemu-devel@nongnu.org; Fri, 27 Feb 2015 12:07:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YROOB-0007LI-7R for qemu-devel@nongnu.org; Fri, 27 Feb 2015 12:07:47 -0500 From: Stefan Hajnoczi Date: Fri, 27 Feb 2015 17:07:21 +0000 Message-Id: <1425056845-15956-8-git-send-email-stefanha@redhat.com> In-Reply-To: <1425056845-15956-1-git-send-email-stefanha@redhat.com> References: <1425056845-15956-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PULL v2 07/11] pci: add network device class 'other' for network switches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jiri Pirko , Peter Maydell , Scott Feldman , Stefan Hajnoczi From: Scott Feldman Rocker is an ethernet switch device, so add 'other' network device class as defined by PCI to cover these types of devices. Signed-off-by: Scott Feldman Signed-off-by: Jiri Pirko Message-id: 1424123271-7656-6-git-send-email-sfeldma@gmail.com Signed-off-by: Stefan Hajnoczi --- include/hw/pci/pci_ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h index d7be386..c6de710 100644 --- a/include/hw/pci/pci_ids.h +++ b/include/hw/pci/pci_ids.h @@ -23,6 +23,7 @@ #define PCI_CLASS_STORAGE_OTHER 0x0180 #define PCI_CLASS_NETWORK_ETHERNET 0x0200 +#define PCI_CLASS_NETWORK_OTHER 0x0280 #define PCI_CLASS_DISPLAY_VGA 0x0300 #define PCI_CLASS_DISPLAY_OTHER 0x0380 -- 2.1.0