From patchwork Tue Mar 17 15:16:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasundhara Volam X-Patchwork-Id: 222390 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 5B59AC2BB1D for ; Tue, 17 Mar 2020 15:18:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32FDE20714 for ; Tue, 17 Mar 2020 15:18:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="ASL07buA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727134AbgCQPS2 (ORCPT ); Tue, 17 Mar 2020 11:18:28 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:51910 "EHLO mail-wm1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727101AbgCQPS1 (ORCPT ); Tue, 17 Mar 2020 11:18:27 -0400 Received: by mail-wm1-f54.google.com with SMTP id a132so21885797wme.1 for ; Tue, 17 Mar 2020 08:18:25 -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=fWJS1K8DaSEgRDiDV9AcCT/035zEMfTydDERyKEuy2U=; b=ASL07buAWMPriX0XDeDS46CINBuUir50WGSStWMfXAQbWjzSEkdTQYlibx4Hmv9V+g xUnWSwcfolqkkSxPyx6fauKuCeI6I+JpJkSboWqUTFhDfTQdg9FvUzteAkNn5qjolq+z iJTUK79OYlHQ7rsQCR5x/74CjCM/r7ghLpH1s= 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=fWJS1K8DaSEgRDiDV9AcCT/035zEMfTydDERyKEuy2U=; b=d4bAkn1yL8hdSQPoCkr2mLar0oWexURPN7LpLlHqzUcuiztHY7rEwnUua2GoJTvA9m TRa8XJCFbNnmaBvjBC4HDfveBYBOgcZ/sbm5Rlh7aZlN0ofQT/SsGb2Q/croBzY45ItO AMfTLVEJoz35BulsQ71M1meSfrpkR3phq/D0C8EJcvHeFOK7W25pq0vYKXhiv8wck1P1 uRzFBP9q5JkmSoIhZNNDfmBZPmZDC4CoPSYZrIApucz5ZZq2RFWjT5W5QYVFVVkYbzjw fa6euYZeiVi5bcWESI+1KBIu14/lOfJHfQIgPcAjLBbwJvOxksDfNgIZSdsn+3ICvbgA M58g== X-Gm-Message-State: ANhLgQ0qYB5A/y36wR4qJPGaw12oVrAZgtUeC12HVscpnQoMgoFngOJd 8jnLH8IG6uDUOCLpqOiyl/WDww== X-Google-Smtp-Source: ADFU+vvmrI8fEHU+l+2nvOmXwSM4p8w+RFzlgP05vuVTNvaIpVkBWRgdcbhA3bpwnV1C3JucUe8muw== X-Received: by 2002:a05:600c:4145:: with SMTP id h5mr5787880wmm.3.1584458304813; Tue, 17 Mar 2020 08:18:24 -0700 (PDT) Received: from lxpurley1.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id i6sm4878489wru.40.2020.03.17.08.18.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2020 08:18:24 -0700 (PDT) From: Vasundhara Volam To: linux-pci@vger.kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, Vasundhara Volam , Bjorn Helgaas , Michael Chan Subject: [PATCH net-next 06/11] PCI: Add new PCI_VPD_RO_KEYWORD_SERIALNO macro Date: Tue, 17 Mar 2020 20:46:44 +0530 Message-Id: <1584458204-29285-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. Cc: 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"