]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] libsas: Add a sysfs knob to enable/disable a phy
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 11 Jan 2007 22:14:57 +0000 (14:14 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 22:13:00 +0000 (16:13 -0600)
commitacbf167d4ad8c27f9743a4b539d51ae9535bf21c
treee53f8330f60acaef42d74a745b3dd5131b424e49
parentb218a0d8e250e0ae8fd4d4e45bd66a588b380752
[SCSI] libsas: Add a sysfs knob to enable/disable a phy

This patch lets a user arbitrarily enable or disable a phy via sysfs.
Potential applications include shutting down a phy to replace one
lane of wide port, and (more importantly) providing a method for the
libata SATL to control the phy.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_init.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/scsi_transport_sas.c
include/scsi/libsas.h
include/scsi/scsi_transport_sas.h