From patchwork Thu Mar 26 06:28:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasundhara Volam X-Patchwork-Id: 221826 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 816E6C43331 for ; Thu, 26 Mar 2020 06:30:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46B9E20714 for ; Thu, 26 Mar 2020 06:30:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="HIuuNOyH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727675AbgCZGaf (ORCPT ); Thu, 26 Mar 2020 02:30:35 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:37216 "EHLO mail-wm1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbgCZGaf (ORCPT ); Thu, 26 Mar 2020 02:30:35 -0400 Received: by mail-wm1-f54.google.com with SMTP id d1so5712557wmb.2 for ; Wed, 25 Mar 2020 23:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=hlrOdL1KnO3xQYV3oaqWV4hvkH1Bg456h/MxyKV3WFw=; b=HIuuNOyHtZ8vE5PXUoCi3aenLXK4DeNW4eiiBfzzfo+MV39IWqeaU7iN9BXDWITohy hlCNW4duOj9Kp2v9EEfEUxtrd8ZWu5/bj4jcMJXLxXXrsXFUa+BpE0OItx0C+O+LZzN6 ShDpzB9vzolBq4RofaFIUgVuzy6/HjeCci95c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hlrOdL1KnO3xQYV3oaqWV4hvkH1Bg456h/MxyKV3WFw=; b=Sbj452Lx74uq+Xd7Y3UMJxS2FfoBEjLgyPxiIwvZ14ppeng4F0itlGIGPB5YMgEhCM fNW5qzN4mExOhr/55WvYfcfilnicWLnZ59GABfu330a48N+zeGYAsTetO8F3IL2WAD/e 9X+Q9FB0WdeBdaZfWeQAELF7SQfY9oB3wu6WS5e7BJT3pPUffi6zm52TtdHs1UI4vmYh QQQT2Dr8xoZY25qfJoYHD9Vfe6tttpJ/OlGj+tplgbCR3P5cLK1Od+YMdtaIGiDcdB8v RvFE2uUldOeV0SAnMzarN/sBZo2DoKk2Jho9SW4yHZnx9rl7rjvsKLCPtIUf/yOiCs6i kN1Q== X-Gm-Message-State: ANhLgQ0eaVs2W1f4A6zI3+SVfvLVmIkv7LDrEO7DR3Om46O0LxY0BHzh 2K4c45IsoxTQFPlYXBVEKhPSNw== X-Google-Smtp-Source: ADFU+vvOcwwRoJQy9AG39pNs4o3qyDriNCdEwAcfsgMPLvxYqbzuKTHbgcb95QVV2MxWH+4JfavfuA== X-Received: by 2002:a05:600c:cc:: with SMTP id u12mr1443982wmm.60.1585204233385; Wed, 25 Mar 2020 23:30:33 -0700 (PDT) Received: from lxpurley1.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id 9sm2041731wmm.6.2020.03.25.23.30.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2020 23:30:32 -0700 (PDT) From: Vasundhara Volam To: linux-pci@vger.kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, Vasundhara Volam , Michael Chan Subject: [PATCH v2 net-next 5/7] PCI: Add new PCI_VPD_RO_KEYWORD_SERIALNO macro Date: Thu, 26 Mar 2020 11:58:39 +0530 Message-Id: <1585204119-10371-1-git-send-email-vasundhara-v.volam@broadcom.com> X-Mailer: git-send-email 1.8.3.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch adds a new macro for serial number keyword. Acked-by: Bjorn Helgaas Signed-off-by: Vasundhara Volam Signed-off-by: Michael Chan --- include/linux/pci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pci.h b/include/linux/pci.h index fc54b89..a048fba 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -2184,6 +2184,7 @@ bool pci_acs_path_enabled(struct pci_dev *start, #define PCI_VPD_INFO_FLD_HDR_SIZE 3 #define PCI_VPD_RO_KEYWORD_PARTNO "PN" +#define PCI_VPD_RO_KEYWORD_SERIALNO "SN" #define PCI_VPD_RO_KEYWORD_MFR_ID "MN" #define PCI_VPD_RO_KEYWORD_VENDOR0 "V0" #define PCI_VPD_RO_KEYWORD_CHKSUM "RV"