From nobody Wed Nov 27 17:54:51 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1697756060; cv=none; d=zohomail.com; s=zohoarc; b=kZr3OsCrgrBBVVfnAHNqZnUysfbP0HjwUKrJL5MpNsKlYYeU9TrFJY9n+N6s9iin90ot/NnBfLHrhFyWFPy4CbO89pEpIjZgMWdinIjv/0q4H+sJ9fYSFrGqb8B6x9B45zHlaTMoc1pVXL2bItc/cpKcQNEbigJ6piq/3NEMqmU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697756060; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=39ei74y5ytLGnFmP9XOqTTND1nB09M7vi4SnwyOgD9M=; b=XNTbccSmIsoF/LbyeMkEjUJhSpbzg3GxYuZQe8B7cZieM5i/F+ewztrkQoG+/Y2lRsUiKL8P3SYmw/K1bDOqxJiqbDuoCnqJlEPLisdTLpMZ4k4Brq02z9WOxebpmCCEAUhTBFMt0JDAd4MssOVmij+QfjC4nQJiFBB84Y/PLh0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1697756060074260.70924381127384; Thu, 19 Oct 2023 15:54:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtbtH-000870-3c; Thu, 19 Oct 2023 18:53:19 -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 1qtbtG-00086c-Cq for qemu-devel@nongnu.org; Thu, 19 Oct 2023 18:53:18 -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 1qtbtE-0002dc-Pa for qemu-devel@nongnu.org; Thu, 19 Oct 2023 18:53:18 -0400 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 4ABF9B82D45; Thu, 19 Oct 2023 22:53:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4164C433CB; Thu, 19 Oct 2023 22:53:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697755987; bh=/2SwI/9UCj0genMvRwRNkqJQ96z8MCfCSDJ44ruxY38=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ysnq4hMw0/QGJ6P59IPJFS2mmslWyb7oOoNIODTHRHwOp0IH37adj39CNtMK9VR41 GfayVwQWtVuHT1JZSAQzm9T+tDK3S9NW+N9qXZYSrzvbIVzyLiqZZrPkafObGk73cO R+TxBZSdLp0+gA2TexY7NOiLFOWUnwd0sbeRZrSPwx9Jy7TRTzx03K9SDeqdh0yFY+ iSF5JOsCPk1vlsWR5pt4xbhPddeLSJ0dJDDwPeA2mwxHy721LVZxCpK/WolZG17Gyy +0PJkxFkDHsBmGC3sgIOvSUi44XkzYOINCKSCd/8WGEJywKWMIbhruKxL//krfoxcy LQY+AbX+65Yng== From: deller@kernel.org To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Helge Deller , Richard Henderson Subject: [PULL 03/11] pci_ids/tulip: Add PCI vendor ID for HP and use it in tulip Date: Fri, 20 Oct 2023 00:52:49 +0200 Message-ID: <20231019225257.383071-4-deller@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231019225257.383071-1-deller@kernel.org> References: <20231019225257.383071-1-deller@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1697756061133100001 Content-Type: text/plain; charset="utf-8" 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 =3D pci_tulip_exit; k->vendor_id =3D PCI_VENDOR_ID_DEC; k->device_id =3D PCI_DEVICE_ID_DEC_21143; - k->subsystem_vendor_id =3D 0x103c; + k->subsystem_vendor_id =3D PCI_VENDOR_ID_HP; k->subsystem_id =3D 0x104f; k->class_id =3D PCI_CLASS_NETWORK_ETHERNET; dc->vmsd =3D &vmstate_pci_tulip; diff --git a/include/hw/pci/pci_ids.h b/include/hw/pci/pci_ids.h index 85469b9b53..f1a53fea8d 100644 --- a/include/hw/pci/pci_ids.h +++ b/include/hw/pci/pci_ids.h @@ -179,6 +179,8 @@ #define PCI_DEVICE_ID_AMD_LANCE 0x2000 #define PCI_DEVICE_ID_AMD_SCSI 0x2020 =20 +#define PCI_VENDOR_ID_HP 0x103c + #define PCI_VENDOR_ID_TI 0x104c =20 #define PCI_VENDOR_ID_MOTOROLA 0x1057 --=20 2.41.0