Commit 7910b136 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet
Browse files

docs: pci: endpoint/function/binding/pci-test.txt convert to ReST



Convert this file to ReST by adding a proper title to it and
use the right markups for a table.

While here, add a SPDX header.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/6254963b85417e44865dab05e4b99cd485074132.1592203650.git.mchehab+huawei@kernel.org


Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 9f70e48e
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

==========================
PCI Test Endpoint Function
==========================

name: Should be "pci_epf_test" to bind to the pci_epf_test driver.

Configurable Fields:

================   ===========================================================
vendorid	   should be 0x104c
deviceid	   should be 0xb500 for DRA74x and 0xb501 for DRA72x
revid		   don't care
progif_code	   don't care
subclass_code	   don't care
baseclass_code	   should be 0xff
cache_line_size	   don't care
subsys_vendor_id   don't care
subsys_id	   don't care
interrupt_pin	   Should be 1 - INTA, 2 - INTB, 3 - INTC, 4 -INTD
msi_interrupts	   Should be 1 to 32 depending on the number of MSI interrupts
		   to test
msix_interrupts	   Should be 1 to 2048 depending on the number of MSI-X
		   interrupts to test
================   ===========================================================
+0 −19
Original line number Diff line number Diff line
PCI TEST ENDPOINT FUNCTION

name: Should be "pci_epf_test" to bind to the pci_epf_test driver.

Configurable Fields:
vendorid	 : should be 0x104c
deviceid	 : should be 0xb500 for DRA74x and 0xb501 for DRA72x
revid		 : don't care
progif_code	 : don't care
subclass_code	 : don't care
baseclass_code	 : should be 0xff
cache_line_size	 : don't care
subsys_vendor_id : don't care
subsys_id	 : don't care
interrupt_pin	 : Should be 1 - INTA, 2 - INTB, 3 - INTC, 4 -INTD
msi_interrupts	 : Should be 1 to 32 depending on the number of MSI interrupts
		   to test
msix_interrupts	 : Should be 1 to 2048 depending on the number of MSI-X
		   interrupts to test
+2 −0
Original line number Diff line number Diff line
@@ -11,3 +11,5 @@ PCI Endpoint Framework
   pci-endpoint-cfs
   pci-test-function
   pci-test-howto

   function/binding/pci-test
+1 −1
Original line number Diff line number Diff line
@@ -53,4 +53,4 @@ ioctl
	      Perform read tests. The size of the buffer should be passed
	      as argument.

.. [1] Documentation/PCI/endpoint/function/binding/pci-test.txt
.. [1] Documentation/PCI/endpoint/function/binding/pci-test.rst