On Sun, 2015-12-27 at 21:30 +0100, Wilfried Weissmann wrote:
> 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.

Ah, right, I'd forgotten that got added.

Reviewed-by: James Bottomley <james.bottom...@hansenpartnership.com>

Thanks,

James


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to