|
@@ -1126,8 +1126,13 @@ static inline
|
|
uint32_t qla2x00_isp_reg_stat(struct qla_hw_data *ha)
|
|
uint32_t qla2x00_isp_reg_stat(struct qla_hw_data *ha)
|
|
{
|
|
{
|
|
struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
|
|
struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
|
|
|
|
+ struct device_reg_82xx __iomem *reg82 = &ha->iobase->isp82;
|
|
|
|
|
|
- return ((RD_REG_DWORD(®->host_status)) == ISP_REG_DISCONNECT);
|
|
|
|
|
|
+ if (IS_P3P_TYPE(ha))
|
|
|
|
+ return ((RD_REG_DWORD(®82->host_int)) == ISP_REG_DISCONNECT);
|
|
|
|
+ else
|
|
|
|
+ return ((RD_REG_DWORD(®->host_status)) ==
|
|
|
|
+ ISP_REG_DISCONNECT);
|
|
}
|
|
}
|
|
|
|
|
|
/**************************************************************************
|
|
/**************************************************************************
|