Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp937170pxb; Tue, 14 Sep 2021 12:00:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyzxf5L4YlbREZ3NJcRDBVeUAP9aIW9M+VisQuFKMaQGXZDFNIK1AspzImBGNev3vajdDc X-Received: by 2002:a05:6638:1642:: with SMTP id a2mr16003596jat.88.1631646054011; Tue, 14 Sep 2021 12:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631646054; cv=none; d=google.com; s=arc-20160816; b=P/EDXj4UzceytqdfDAkPJubatmK2gLOKZ1M+ctI0nyIn6jgfBnvywY3AgupXsScOc9 k1MdbLleJmGokV0YdRrvdZFY3SqNEsbxzwD0Hmx+P6toJuRh72gwFqmT0GpGqxNtcqW1 kFdOInsPqE3C+2Hd1MirEeSju2tZjTh8HoYpQxw7Adh3zLwRsq4vdVUupU6nCRpIXgvp WYz+zvMeOyMETEiFq1dqOw6RfuiKs3MBVC+Oe64IQwVky2G6lhALcLo4tlOyDGrIY575 BP23WJc6aI3I5jRMqpFPzk36FN5wN2b6Ec0+qvn8yXPizt1VOobXVoIa+G4738ylFrgF uzTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=8qjcXQhpESyeJbpaJeWcjsrxwJaAnOR6XqoprbTALME=; b=mvhwxNn/5oU/adv96ZDdm7UatbX7k9SFKRrjDFQpJrSc2cq9meWrEH6grn7i8V8Ms4 JWJRdWB+NH6ZAphidG8yDfUvF0iV5biEN1GRYvgOcoh+FD4qJxlVFtLRi2ziSK89+j9h TnNqjOCrfJcvkbDmPar/HeTZiShMcYnTffMMPbtvVZT96M3usg9C4b+5MUCYEXQQ1ib2 mApnXqc3QkjBw4m3rbzhyNHvLhlXQGGTba+oWSqyjP+eqhACXh/0zbneMpytofllObmc 62onTsYUNv77nkyOM68LrsT69HBKywHshglbgMdzJVDMRl3Rb5r9YWSYPjjJBN0iSPjv hvXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fHhVGkTn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c9si10774106ili.44.2021.09.14.12.00.38; Tue, 14 Sep 2021 12:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fHhVGkTn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232274AbhINS7n (ORCPT + 99 others); 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-kernel@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 >