Am 27.12.15 um 20:42 schrieb James Bottomley:
On Sun, 2015-12-27 at 20:21 +0100, Wilfried Weissmann wrote:
add SGPIO support to Marvell 94xx
How do you actually use this? It doesn't seem to be plumbed into the
standard GPIO subsystem and there appears to be no user accessible
interface for it either (nor is it used internally).
There doesn't appear to be much point adding an unusable feature.
sas_domain_function_template.lldd_write_gpio exposes the interface to libsas. Userspace access is then done via ioctl(SG_IO,...). Existing user space tools such as ledmon use this method, also smp_utils in case you want to have more direct control.
Greetings,
Wilfried
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html