remarkable-linux/drivers/scsi/lpfc
James Smart f7a919b4cd [SCSI] lpfc 8.3.26: Fix SYSFS interface issues
Fix SYSFS interface issues.

- In the lpfc_sli4_pdev_status_reg_wait() routine, after initial 100ms delay
  following write to PHYSDEV_CONTROL register for the firmware reaction, check
  the RN bit and ERR bit of the SLIPORT_STATUS register. If none of them
  became 1, the previous PHYSDEV_CONTROL register should be considered failed
  due to lack of privilege and error for no permission should be returned
  immediately without getting into the wait for RDY bits on the SLIPORT_STATUS
  register.
- Remove the driver check on dev->is_physfn before proceed to perform the
  PHYSDEV_CONTROL register write, and let the PCI function's privilege
  setting and driver handling of PHYSDEV_CONTROL register write failure to
  handle the reset-ability through the SLI port.
- Added key to ctlreg_write to prevent unauthorized or unexpected write to
  the control register.
- Change return to EACCES for sysfs access that are failed because hba_reset
  is disabled.

Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-08-29 00:16:19 -07:00
..
lpfc.h [SCSI] lpfc 8.3.25: Add FCF priority failover functionality 2011-07-27 15:16:05 +04:00
lpfc_attr.c [SCSI] lpfc 8.3.26: Fix SYSFS interface issues 2011-08-29 00:16:19 -07:00
lpfc_bsg.c [SCSI] lpfc 8.3.25: Enhancements to Debug infrastructure 2011-07-27 15:14:00 +04:00
lpfc_bsg.h [SCSI] lpfc 8.3.24: Extend BSG infrastructure and add link diagnostics 2011-05-26 22:49:39 -05:00
lpfc_compat.h
lpfc_crtn.h [SCSI] lpfc 8.3.25: Add FCF priority failover functionality 2011-07-27 15:16:05 +04:00
lpfc_ct.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_debugfs.c [SCSI] lpfc 8.3.25: Enhancements to Debug infrastructure 2011-07-27 15:14:00 +04:00
lpfc_debugfs.h [SCSI] lpfc 8.3.25: Enhancements to Debug infrastructure 2011-07-27 15:14:00 +04:00
lpfc_disc.h
lpfc_els.c [SCSI] lpfc 8.3.26: Fix issues pertaining to SCSI/FC protocol. 2011-08-29 00:16:18 -07:00
lpfc_hbadisc.c [SCSI] lpfc 8.3.26: Fix issues pertaining to SCSI/FC protocol. 2011-08-29 00:16:18 -07:00
lpfc_hw.h [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes 2011-07-27 15:11:02 +04:00
lpfc_hw4.h [SCSI] lpfc 8.3.26: Fix HBA initialization issues 2011-08-29 00:16:18 -07:00
lpfc_init.c [SCSI] lpfc 8.3.26: Fix SYSFS interface issues 2011-08-29 00:16:19 -07:00
lpfc_logmsg.h
lpfc_mbox.c [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes 2011-07-27 15:11:02 +04:00
lpfc_mem.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_nl.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lpfc_nportdisc.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_scsi.c [SCSI] lpfc 8.3.26: Fix issues pertaining to SCSI/FC protocol. 2011-08-29 00:16:18 -07:00
lpfc_scsi.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lpfc_sli.c [SCSI] lpfc 8.3.26: Fix issues pertaining to SCSI/FC protocol. 2011-08-29 00:16:18 -07:00
lpfc_sli.h [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_sli4.h [SCSI] lpfc 8.3.25: Add FCF priority failover functionality 2011-07-27 15:16:05 +04:00
lpfc_version.h [SCSI] lpfc 8.3.25: Change driver version to 8.3.25 2011-07-27 15:17:10 +04:00
lpfc_vport.c [SCSI] lpfc 8.3.24: Add resource extent support 2011-05-26 22:49:38 -05:00
lpfc_vport.h
Makefile [SCSI] lpfc 8.3.22: Update Copyright Dates 2011-03-23 11:36:14 -05:00