diff options
| author | Darrick J. Wong <[email protected]> | 2007-01-11 22:14:57 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2007-01-13 22:13:00 +0000 |
| commit | acbf167d4ad8c27f9743a4b539d51ae9535bf21c (patch) | |
| tree | e53f8330f60acaef42d74a745b3dd5131b424e49 /drivers/scsi/libsas/sas_scsi_host.c | |
| parent | [SCSI] libsas: Don't give scsi_cmnds to the EH if they never made it to the S... (diff) | |
| download | kernel-acbf167d4ad8c27f9743a4b539d51ae9535bf21c.tar.gz kernel-acbf167d4ad8c27f9743a4b539d51ae9535bf21c.zip | |
[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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_scsi_host.c')
| -rw-r--r-- | drivers/scsi/libsas/sas_scsi_host.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c index 21bd24775980..7774eb3628ad 100644 --- a/drivers/scsi/libsas/sas_scsi_host.c +++ b/drivers/scsi/libsas/sas_scsi_host.c @@ -875,3 +875,4 @@ EXPORT_SYMBOL_GPL(sas_change_queue_type); EXPORT_SYMBOL_GPL(sas_bios_param); EXPORT_SYMBOL_GPL(sas_task_abort); EXPORT_SYMBOL_GPL(sas_phy_reset); +EXPORT_SYMBOL_GPL(sas_phy_enable); |
