scsi: pm80xx: Fix for phy enable/disable functionality
Added proper mask for phy id in mpi_phy_stop_resp(). Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com> Signed-off-by: Viswas G <Viswas.G@microchip.com> Acked-by: Jack Wang <jinpu.wang@profitbricks.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
0b1b1d8861
commit
cd135754d8
@@ -132,4 +132,12 @@ enum pm8001_hba_info_flags {
|
||||
PM8001F_RUN_TIME = (1U << 1),
|
||||
};
|
||||
|
||||
/**
|
||||
* Phy Status
|
||||
*/
|
||||
#define PHY_LINK_DISABLE 0x00
|
||||
#define PHY_LINK_DOWN 0x01
|
||||
#define PHY_STATE_LINK_UP_SPCV 0x2
|
||||
#define PHY_STATE_LINK_UP_SPC 0x1
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user