diff options
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | 2014-09-25 05:16:55 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-25 14:25:04 +0200 |
commit | 2d5a4c344ad35eaaab59a5079eb6c62a843fb9d6 (patch) | |
tree | 6041dfa969231bf11cf53c51ea8ea1bce3dcf031 /drivers/scsi/qla2xxx/qla_def.h | |
parent | 25232cc9b8eca0406f51e61e944e854ed021a9d7 (diff) | |
download | linux-2d5a4c344ad35eaaab59a5079eb6c62a843fb9d6.tar.gz linux-2d5a4c344ad35eaaab59a5079eb6c62a843fb9d6.tar.bz2 linux-2d5a4c344ad35eaaab59a5079eb6c62a843fb9d6.zip |
qla2xxx: Disable laser for ISP2031 while unloading driver.
Nameserver data on FC switch is not refreshed when
qla2xxx driver is unloaded. Disabling laser for
ISP2031 will force FC switch to rescan ports and
clear fdmi entries from Nameserver.
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index c29f4653db18..d9daad7db6ce 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -191,6 +191,11 @@ * reset-recovery completion is * second */ +/* ISP2031: Values for laser on/off */ +#define PORT_0_2031 0x00201340 +#define PORT_1_2031 0x00201350 +#define LASER_ON_2031 0x01800100 +#define LASER_OFF_2031 0x01800180 /* * The ISP2312 v2 chip cannot access the FLASH/GPIO registers via MMIO in an |