From patchwork Tue Oct 17 15:46:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13425530 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 6AB98CDB474 for ; Tue, 17 Oct 2023 15:48:32 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsmHn-00061M-CQ; Tue, 17 Oct 2023 11:47:11 -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 1qsmHi-00060D-KG for qemu-devel@nongnu.org; Tue, 17 Oct 2023 11:47:07 -0400 Received: from ams.source.kernel.org ([145.40.68.75]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsmHg-00032h-7B for qemu-devel@nongnu.org; Tue, 17 Oct 2023 11:47:06 -0400 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id A468BB81EAB; Tue, 17 Oct 2023 15:46:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FC9BC433C8; Tue, 17 Oct 2023 15:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697557614; bh=4aHHWBjUnCIDyWDacJ4nIfdnNbjM1UEiQ33UHFU9Ddk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KDEF5COxPdotQQ46HSNwQHHD/3YgzEsTRGsblqOSxEv/eSS45eWezglp50xVP5ZhT x8/QttFCTi9FdhDqML3zmRaKUXtddjab/+Gk2GmxKW07MmXXXkYtg2DOwr5tKl7fBC dhpVp5AlXBT+4cDlHv6uoCJw1pdXqtiIlSm5kzsJk6pVsnRHDSCIpOEYv82Ly6qdsA drUAknbfXjxYUq4nQ+EiqqElOZ3QH/4DapgoFIf8IsNhLylrWQ+XpWa1I/+1vKy/6c Cw1ITIY14qr2ji03oczAefI9U/jFBjFcgU8z9HlNv0B1ZrO/ixRGYJUua8uG0kF4zX PsC2iYm31z1tA== From: deller@kernel.org To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , BALATON Zoltan , Helge Deller Subject: [PATCH v2 02/11] pci_ids/tulip: Add PCI vendor ID for HP and use it in tulip Date: Tue, 17 Oct 2023 17:46:36 +0200 Message-ID: <20231017154645.95844-3-deller@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231017154645.95844-1-deller@kernel.org> References: <20231017154645.95844-1-deller@kernel.org> MIME-Version: 1.0 Received-SPF: pass client-ip=145.40.68.75; envelope-from=deller@kernel.org; helo=ams.source.kernel.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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 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 + #define PCI_VENDOR_ID_CIRRUS 0x1013 #define PCI_VENDOR_ID_IBM 0x1014