commit | c78df14ee0f6bc5e8741b4324b600b7277abb13e | [log] [tgz] |
---|---|---|
author | Ariel Elior <Ariel.Elior@qlogic.com> | Mon Dec 07 06:25:58 2015 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 07 14:14:04 2015 -0500 |
tree | 73826c3d3d2b83876e78a6345fd9ecf4f4481e34 | |
parent | 76a9a3642a0b72d5687d680150580d55b6ea9804 [diff] |
qed: Fix BAR size split for some servers Can't rely on pci config space to discover bar size, as in some environments this returns a wrong, too large value. Instead, rely on device register, which contains the value provided by MFW at preboot. Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>