pci/pex8xxx: Add sysfs interface for userspace access.
Subsystems (2)
PATCH 2/4 pci/pex8xxx: Add sysfs interface for userspace access.
Add the sysfs ABI for the I2C interface the PLX pex8xxx PCIe switch. The ABI is documented, and a patch to "Documentation" accompanies this patch.
Signed-off-by Rajat Jain <[email protected]>
Signed-off-by Rajat Jain <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/pci/Kconfig | 4 +- drivers/pci/pex8xxx_i2c.c | 282 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 284 insertions(+), 2 deletions(-)
drivers/pci/Kconfig +3 -1
@@ -122,7 +122,9 @@ config PEX8XXX_I2C Select this if you want I2C interface support for the PLX PEX8xxx family of PCI express switches. Currently this I2C driver supports PEX8614, PEX8618, PEX8713 switches. It provides read / write API - calls to talk to the switch (over I2C). + calls to talk to the switch (over I2C), and a sysfs interface to + provide the ability to debug. This is documented in + Documentation/PCI/pex8xxx_i2c.txt. If built as a module, the driver will be called pex8xxx_i2c.
drivers/pci/pex8xxx_i2c.c +281 -1
330 lines not on this page · raw message
Signature · 1 line
1.7.9.5