From patchwork Mon Feb 16 21:47:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Feldman X-Patchwork-Id: 440387 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6DB5C1401DD for ; Tue, 17 Feb 2015 08:52:01 +1100 (AEDT) Received: from localhost ([::1]:42706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNTaA-0008VN-30 for incoming@patchwork.ozlabs.org; Mon, 16 Feb 2015 16:51:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNTVe-0000De-3N for qemu-devel@nongnu.org; Mon, 16 Feb 2015 16:47:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNTVa-0001LJ-Og for qemu-devel@nongnu.org; Mon, 16 Feb 2015 16:47:18 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:43389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNTVa-0001LC-JA for qemu-devel@nongnu.org; Mon, 16 Feb 2015 16:47:14 -0500 Received: by paceu11 with SMTP id eu11so1177957pac.10 for ; Mon, 16 Feb 2015 13:47:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=ewRpu73g/8pgXIDx+8Hwou6Oe1ZTlL53dQLqhHFZ8c4=; b=tmluxN4qA6p9EjRgQbuEytMbKfvvUSK3l1Y7WQi1+7oi4/GMYK1whm9xvmSfsUC4BG We0P1SfmfT1T5oNcCJT5y0yzzx9XBOwy/CLMxeVbX/Uo5GnhV+Fr79CdN/gZRDUNPvER pKGqa25MQebfsXXGRisjkrQU7PnXuh1WnCw3yKX7ZLGtBi7mKFsw2O5r1+Jy+uWlK1Kl USPDdvBZmObFysbiuQv/yI97w+xcLUuObnSewFx8r4Jj/5b+ud056aMfh17iFk388o4W uz4B85LfrbVCNXgiTWByrF6oApNOgIVdZuVilyczkHlcWW4qrqGAyYPoa7IWNOX+4LU9 6GFA== X-Received: by 10.70.92.199 with SMTP id co7mr2750950pdb.92.1424123234101; Mon, 16 Feb 2015 13:47:14 -0800 (PST) Received: from rocker1.home (static-50-53-122-54.bvtn.or.frontiernet.net. [50.53.122.54]) by mx.google.com with ESMTPSA id qc8sm15627891pdb.86.2015.02.16.13.47.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 13:47:13 -0800 (PST) From: sfeldma@gmail.com To: qemu-devel@nongnu.org, jiri@resnulli.us, roopa@cumulusnetworks.com, john.fastabend@gmail.com, eblake@redhat.com, pbonzini@redhat.com, stefanha@gmail.com, dsahern@gmail.com, jasowang@redhat.com Date: Mon, 16 Feb 2015 13:47:46 -0800 Message-Id: <1424123271-7656-6-git-send-email-sfeldma@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1424123271-7656-1-git-send-email-sfeldma@gmail.com> References: <1424123271-7656-1-git-send-email-sfeldma@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.47 Subject: [Qemu-devel] [PATCH v7 05/10] pci: add network device class 'other' for network switches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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