[SCSI] pm80xx: Resetting the phy state.
authorNikith Ganigarakoppal <Nikith.Ganigarakoppal@pmcs.com>
Wed, 30 Oct 2013 10:53:47 +0000 (16:23 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Dec 2013 18:35:52 +0000 (10:35 -0800)
commit7d029005484a6125a91a075518b9cfde830bc709
tree17fc58a081ffcd246b5f4cf968b0146250a181d7
parent34a9b81b476ea0fa7a2e7ec642830f690eb093aa
[SCSI] pm80xx: Resetting the phy state.

Setting the phy state for hard reset response.
After sending hard reset for a device ,phy down event sets
the phy state to zero but for phy up event it will not set
the phy state again.This will cause problem to successive
hard resets.

Signed-off-by: Nikith.Ganigarakoppal@pmcs.com
Signed-off-by: Anandkumar.Santhanam@pmcs.com
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/pm8001/pm8001_hwi.h
drivers/scsi/pm8001/pm80xx_hwi.c
drivers/scsi/pm8001/pm80xx_hwi.h