Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3982669pxb; Mon, 27 Sep 2021 07:02:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4RvkHYGaPWP+vLILFwapgFXdV6VihjTR+fpiDidJyzN0vG4CZ9DQEblWkGCeLuW6y04Aq X-Received: by 2002:a17:907:2653:: with SMTP id ar19mr163519ejc.431.1632751352196; Mon, 27 Sep 2021 07:02:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751352; cv=none; d=google.com; s=arc-20160816; b=tg7FAdM7W+f4qLzmLZLok3SvWQmuCjvgM8DIpf4MupqEeUKaax46yo9Qei65o9TQMA RJWX2jY9hMv2q+JKGVjOVhIBjE5xozfVrZr3ptRrx5C9Vc0sCvts04UasPSv0H4KwMOG /w3/UVnInxzJPR5IpPqX1jFWxxw//jM0WgUY+RhdGwEY/oKJQayq7qNb6RUCKYI9QR4f QN05c4XOAQ9tSQ2MCePXPcU4uhu6yMKT0ehye5931GvgTxtH7ZFoHszfgRb3AuLwgv69 K7AmcT2x/sMoMSljK41XTU7yTHA1URkW0yFBP90Dq12jSnAzr8T5v6v2EQS/BmZ2ZLcG R87A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SNQzq62lIKvtKWpK0jZRMiarHxlJTlID7g1fgZZtDAs=; b=T7MYSHNBketTmj71e5oIr61e5J745OxnxXhwV6a7Pf+BmzhT45FXwmfl+v8xgx5eCV zPCwP9WmbrxqxpLF9M+BnBm2CetHjnPjQMvshsb8u8v6565zxfrcTEjn5R+VTyE1eKZ/ Cnr5DEF7MxoxrhYyzKZn0zYUVCJ8xyy41h55Dn6AZ+LJ2lkBamVsH+otbWX5jnZ6Ep7C 3gmiwisEfaR0sK+ukNb8HtMPuGpWnuah436l35EbHimCmAXpXCZHSk/YlbigCaLGE0EX TGuw0gfNfjY5/Ew4q1XETHPPxv+BjqZezLBIkBTBup9HUcYBNwQLO2XY8p53DoZPrdmc 8D7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tt5g4K4Y; 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 d19si19370988edn.202.2021.09.27.07.02.06; Mon, 27 Sep 2021 07:02:32 -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=tt5g4K4Y; 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 S234782AbhI0OBx (ORCPT + 99 others); Mon, 27 Sep 2021 10:01:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:47998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234705AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 42CAE6109F; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=UKfUww/5UHEYY8CpMBzjLtL4qHBzffzX9FZNntH/pzM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tt5g4K4YEpa6J3h87ubuJ775ZNBbobsAXcxPMX54cC2bdv1TAqhRH4vssYy6v8iyk WgRz5MvoLXQo4HG1hTZ/mPVrcUZzvk1NDWmodwyhmN8g8NMuqyaZkFiNtiAiQOMZ8T B94VFfyt7UZ+DNboyTp64vxVsq5bfZxOOPU8EkyeOFsmkqwBxq1q0deaYUtzUwpkBy y0xjN3h/Idy/zzGxwVLg72AOPhxZjkYBepVYzr1Zt9Y5SjRKRN7Zhy7d/6AeTtwr5h RAl7PzwuuQRVDG+8mUO+mpKWH393o0XhGge6buAWNN8r86PKW7fGfwALm11B/eporv o2tno0w6FXMRA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAh-000Atu-Fd; Mon, 27 Sep 2021 15:59:55 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Amey Narkhede , Bjorn Helgaas , Carlos Bilbao , Leon Romanovsky , Maximilian Luz , Niklas Schnelle , Suzuki K Poulose , linux-kernel@vger.kernel.org Subject: [PATCH 06/17] ABI: sysfs-bus-pci: add documentation for modalias Date: Mon, 27 Sep 2021 15:59:39 +0200 Message-Id: <9ceb1fcdbef3c0d2d0368dcc2f19084a3e529ad1.1632750608.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Even being available since 2005, there's no documentation for modalias. Acked-by: Bjorn Helgaas Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@kernel.org/ Documentation/ABI/testing/sysfs-bus-pci | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index 191cbe9ae5ed..1eeac7f59672 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci @@ -187,6 +187,24 @@ 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