Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1935268rdb; Tue, 3 Oct 2023 05:54:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqAQ8y1O7wM+qB4FGY8r6O4kiRyfDp8AVc/4kHpQOQhGRlnHTL0ioJ5ThnWi21aL1im3zs X-Received: by 2002:a05:6a00:188d:b0:68b:a137:373d with SMTP id x13-20020a056a00188d00b0068ba137373dmr4802965pfh.17.1696337640864; Tue, 03 Oct 2023 05:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696337640; cv=none; d=google.com; s=arc-20160816; b=yHyoYN8vJI4+H5fEQ/Lj2YA3iIm9ABCZ/yujVYldKUax3HB0/Pe/tEdF27e1og13EK QZJIi9JZq/YXJTnuqVGKHLKTvBZPUf0MIDyzrpaeiXBCT9HMv1smoJofIrVN+cWliHnn 8ctCZA0Y0f95z7q/rLvqQqX4qOMdIQrA0Gi/iiCo2/vHzlDBdjBxlarrI4FMl5nlh01Q JxGLajqehJg//3SNjO/mfZn25NuAQPCsqXdCk3jY/x5ZiYUhd4xQ4059p9ctvQ9QrIDe QZR+EIay0LdYkEm8jDXQ1WYD5WqpamHvLSUdcve3v4ukIAf38WCrLUszzOPBfmzexoND XjHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=68p/R9/yV7g14pevIxplHS2SrcPmy9sb+DliXD5UqoE=; fh=40OfMyTgvQ/SDqiGjlZT1c0+70yJS9m8UhH5uZV2Ows=; b=wqPzfb4LJJUmMkVaTYddnzbuD89yGVtr7cR8MESydMCrlwJzlDk/E/qIHTJpc9M9qF DcBA4/v9F8PQppaOtpb0208p6aikpJch2+oVfdoj+uLfC5CH0VM21h0U+uMkMFIYI966 3xipGGLrf/WIsniXN0cnUkd0B7mfpeuk8+9yg87T0j2UdhqlsQPWQGmccpB+iE0AuTif Dy22ZKbEGKNYdAEplSrLrV1xnVExtJGx+y2dSEWPARv5I41aDzGBdGUalspgLTa3x3Vz JLfBv61ytYOEOCqAEeEVQy6iDwyS/0h9AlJaf/gwxE3TB+uu2znHXS4S+7J3dSriPV0q rj1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jv9G6UOZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a21-20020a63e855000000b005784ab1c4afsi1379959pgk.736.2023.10.03.05.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 05:54:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jv9G6UOZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7D7E1801B3B7; Tue, 3 Oct 2023 05:53:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232177AbjJCMxs (ORCPT + 99 others); Tue, 3 Oct 2023 08:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229803AbjJCMxs (ORCPT ); Tue, 3 Oct 2023 08:53:48 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F03C6A6; Tue, 3 Oct 2023 05:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696337625; x=1727873625; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PaTpYoAT1uZlfzdLbZxjO14jzGyLuKJKiccXqKEpHDw=; b=jv9G6UOZRsdLTDfso+durVv16ewOKuidjMsA0q2cE15XW6h2hlsK6yo1 YWEixkRTGl1gOLZA76sibzRdUn91BcQN6Prg/Hi0u/RssKbRWKY89n8JU iXzLpxvJ6CHOQCvgqlvMAKwp7M3ds+Esa8jD+1g4T0kOdSkXH60m+jj+2 GqBR4RXVEOhW7DokjBwSyQxopj0zNuFPPi0FlPfGsVg77/eeF17wOp+Ub Clq9pNFwunWK0daXY9L0ZWzgvMLvFRH1pEuTz4b9V7UBbZ/sx702SI1// 6jvlJhfD6ypOCPEof/nDKqsWLPVCWAT+gIYFlGxwXIFPt2CShoSRI6U/w Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="4432417" X-IronPort-AV: E=Sophos;i="6.03,197,1694761200"; d="scan'208";a="4432417" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 05:53:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="816665798" X-IronPort-AV: E=Sophos;i="6.03,197,1694761200"; d="scan'208";a="816665798" Received: from bmihaile-mobl1.ger.corp.intel.com (HELO localhost) ([10.251.222.64]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 05:53:36 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: linux-pci@vger.kernel.org, Bjorn Helgaas , bcm-kernel-feedback-list@broadcom.com, jonathan.derrick@linux.dev, kw@linux.com, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-renesas-soc@vger.kernel.org, lpieralisi@kernel.org, marek.vasut+renesas@gmail.com, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, m.karthikeyan@mobiveil.co.in, nirmal.patel@linux.intel.com, rjui@broadcom.com, robh@kernel.org, roy.zang@nxp.com, sbranden@broadcom.com, yoshihiro.shimoda.uh@renesas.com, Zhiqiang.Hou@nxp.com, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH 2/3] PCI: Add PCI_HEADER_TYPE_MFD pci_regs.h Date: Tue, 3 Oct 2023 15:52:59 +0300 Message-Id: <20231003125300.5541-3-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231003125300.5541-1-ilpo.jarvinen@linux.intel.com> References: <20231003125300.5541-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 05:53:58 -0700 (PDT) Add PCI_HEADER_TYPE_MFD into pci_regs.h to be able to replace literals in the code. Signed-off-by: Ilpo Järvinen --- include/uapi/linux/pci_regs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index e5f558d96493..06df65f11c39 100644 --- a/include/uapi/linux/pci_regs.h +++ b/include/uapi/linux/pci_regs.h @@ -80,6 +80,7 @@ #define PCI_HEADER_TYPE_NORMAL 0 #define PCI_HEADER_TYPE_BRIDGE 1 #define PCI_HEADER_TYPE_CARDBUS 2 +#define PCI_HEADER_TYPE_MFD 0x80 /* Multi-Function Device (possible) */ #define PCI_BIST 0x0f /* 8 bits */ #define PCI_BIST_CODE_MASK 0x0f /* Return result */ -- 2.30.2