Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9A43ECDB483 for ; Tue, 17 Oct 2023 16:15:13 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsmi5-00050Z-I0; Tue, 17 Oct 2023 12:14:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsmi3-00050O-Du for qemu-devel@nongnu.org; Tue, 17 Oct 2023 12:14:19 -0400 Received: from zero.eik.bme.hu ([2001:738:2001:2001::2001]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsmi1-0008BN-0m for qemu-devel@nongnu.org; Tue, 17 Oct 2023 12:14:19 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 99092745681; Tue, 17 Oct 2023 18:13:03 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 96543756201; Tue, 17 Oct 2023 18:13:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id 94B93748FF4; Tue, 17 Oct 2023 18:13:02 +0200 (CEST) Date: Tue, 17 Oct 2023 18:13:02 +0200 (CEST) From: BALATON Zoltan To: deller@kernel.org cc: qemu-devel@nongnu.org, =?ISO-8859-15?Q?Philippe_Mathieu-Daud=E9?= , Richard Henderson , Helge Deller Subject: Re: [PATCH v2 02/11] pci_ids/tulip: Add PCI vendor ID for HP and use it in tulip In-Reply-To: <20231017154645.95844-3-deller@kernel.org> Message-ID: References: <20231017154645.95844-1-deller@kernel.org> <20231017154645.95844-3-deller@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Received-SPF: pass client-ip=2001:738:2001:2001::2001; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Tue, 17 Oct 2023, deller@kernel.org wrote: > From: Helge Deller > > Signed-off-by: Helge Deller > --- > hw/net/tulip.c | 2 +- > include/hw/pci/pci_ids.h | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/hw/net/tulip.c b/hw/net/tulip.c > index 915e5fb595..11d866e431 100644 > --- a/hw/net/tulip.c > +++ b/hw/net/tulip.c > @@ -1020,7 +1020,7 @@ static void tulip_class_init(ObjectClass *klass, void *data) > k->exit = pci_tulip_exit; > k->vendor_id = PCI_VENDOR_ID_DEC; > k->device_id = PCI_DEVICE_ID_DEC_21143; > - k->subsystem_vendor_id = 0x103c; > + k->subsystem_vendor_id = PCI_VENDOR_ID_HP; > k->subsystem_id = 0x104f; > k->class_id = PCI_CLASS_NETWORK_ETHERNET; > dc->vmsd = &vmstate_pci_tulip; > diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h > index 85469b9b53..3c0e72df0e 100644 > --- a/include/hw/pci/pci_ids.h > +++ b/include/hw/pci/pci_ids.h > @@ -171,6 +171,8 @@ > #define PCI_VENDOR_ID_DEC 0x1011 > #define PCI_DEVICE_ID_DEC_21143 0x0019 > > +#define PCI_VENDOR_ID_HP 0x103c > + Did not notice this in first round, sorry. These seems to be sorted (there's a comment further up about that) so this should be between AMD and TI a bit more down. Regards, BALATON Zoltan > #define PCI_VENDOR_ID_CIRRUS 0x1013 > > #define PCI_VENDOR_ID_IBM 0x1014 >