scsi: hisi_sas: Mark PHY as in reset for nexus reset
[linux-2.6-microblaze.git] / drivers / scsi / hisi_sas / hisi_sas.h
index 9400824..7052a5d 100644 (file)
@@ -136,11 +136,14 @@ struct hisi_sas_phy {
        struct hisi_sas_port    *port;
        struct asd_sas_phy      sas_phy;
        struct sas_identify     identify;
+       struct completion *reset_completion;
+       spinlock_t lock;
        u64             port_id; /* from hw */
        u64             frame_rcvd_size;
        u8              frame_rcvd[32];
        u8              phy_attached;
-       u8              reserved[3];
+       u8              in_reset;
+       u8              reserved[2];
        u32             phy_type;
        enum sas_linkrate       minimum_linkrate;
        enum sas_linkrate       maximum_linkrate;