Skip to contentSkip to conversation

pci/pex8xxx: Add sysfs interface for userspace access.

PATCH In review Rajat Jain 1 participant 1 message Sep 30, 2014

Subsystems (2)
lore
Share & tools
lore

Rajat Jain

author
#0 lore raw

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.

---
 drivers/pci/Kconfig       |    4 +-
 drivers/pci/pex8xxx_i2c.c |  282 ++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 284 insertions(+), 2 deletions(-)
drivers/pci/Kconfig +3 -1
index 29233aa..6a2b7dd 100644
@@ -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