From mboxrd@z Thu Jan 1 00:00:00 1970 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=-16.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 6B903C433EF for ; Tue, 14 Sep 2021 18:58:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4D0576113B for ; Tue, 14 Sep 2021 18:58:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232113AbhINS7n (ORCPT ); Tue, 14 Sep 2021 14:59:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:35802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbhINS7m (ORCPT ); Tue, 14 Sep 2021 14:59:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B2AED6113E; Tue, 14 Sep 2021 18:58:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631645905; bh=BAMu1k18f/MzAdl1i/fDK8qSopN0nEM4536fTuwIFto=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=fHhVGkTnpnWJzxOlxMn3yB5O9Elpth4s0tb6CsAqVk9p+AL4S5tf/2ewpWluHNOwJ dHrI35po8XoJpnVnzszrfxbq6n4+jhCzFyraIdj6ueDyBjrXufVgj0UwMkQde0GvnQ mBSHX9vl5ElM1f/GjCKqOd08MCSxDKrZjssbmjgxRaHvX1RKwISAGaqbVrcIh4P91E Wf/O6IJ3NXtAeZ8MJUWg/sLfh4sd0pNwtcwvFEkIhR/7n0l2dYEDCogZiN2BewqSz5 /ulUx49nCklAVhh7kXX2lK0jaF/25Rs+OHP7GWS6yRy6HvJdicmdPIMMa2VMt55Bot ceHuS/wdtG5Aw== Date: Tue, 14 Sep 2021 13:58:23 -0500 From: Bjorn Helgaas To: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman , Linux Doc Mailing List , Jonathan Corbet , Amey Narkhede , Bjorn Helgaas , Carlos Bilbao , Leon Romanovsky , Maximilian Luz , Niklas Schnelle , Suzuki K Poulose , Tom Rix , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 6/8] ABI: sysfs-bus-pci: add documentation for modalias Message-ID: <20210914185823.GA1444822@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Tue, Sep 14, 2021 at 04:55:19PM +0200, Mauro Carvalho Chehab wrote: > Even being available since 2005, there's no documentation for > modalias. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Bjorn Helgaas > --- > Documentation/ABI/testing/sysfs-bus-pci | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci > index 191cbe9ae5ed..1da4c8db3a9e 100644 > --- a/Documentation/ABI/testing/sysfs-bus-pci > +++ b/Documentation/ABI/testing/sysfs-bus-pci > @@ -187,6 +187,23 @@ Description: > The symbolic link points to the PCI device sysfs entry of the > Physical Function this device associates with. > > +What: /sys/bus/pci/devices/.../modalias > +Date: May 2005 > +Contact: Greg Kroah-Hartman > +Description: > + This attribute indicates the PCI ID of the device object. > + > + That is in the format: > + pci:vXXXXXXXXdXXXXXXXXsvXXXXXXXXsdXXXXXXXXbcXXscXXiXX, > + where: > + - vXXXXXXXX contains the vendor ID; > + - dXXXXXXXX contains the device ID; > + - svXXXXXXXX contains the sub-vendor ID; > + - sdXXXXXXXX contains the subsystem device ID; > + - bcXX contains the device class; > + - scXX contains the device subclass; > + - iXX contains the device class programming interface. > + > What: /sys/bus/pci/slots/.../module > Date: June 2009 > Contact: linux-pci@vger.kernel.org > -- > 2.31.1 >