Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (3 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/scsi/qla2xxx/qla_os.c

    r31826 r31885  
    969969{
    970970        struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;
    971 
    972         return ((RD_REG_DWORD(&reg->host_status)) == ISP_REG_DISCONNECT);
     971        struct device_reg_82xx __iomem *reg82 = &ha->iobase->isp82;
     972
     973        if (IS_P3P_TYPE(ha))
     974                return ((RD_REG_DWORD(&reg82->host_int)) == ISP_REG_DISCONNECT);
     975        else
     976                return ((RD_REG_DWORD(&reg->host_status)) ==
     977                        ISP_REG_DISCONNECT);
    973978}
    974979
Note: See TracChangeset for help on using the changeset viewer.