Revision 9504a923924d663e1953f872f0a828e6454a6cfc authored by Hans Verkuil on 26 July 2013, 16:43:45 UTC, committed by James Bottomley on 26 August 2013, 09:33:58 UTC
The IO command size is 128 bytes for these new controllers as opposed to 64
for the old 8001 controller.

The Adaptec out-of-tree driver did this correctly. After comparing the two
this turned out to be the crucial difference.

So don't hardcode the IO command size, instead use pm8001_ha->iomb_size as
that is the correct value for both old and new controllers.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Anand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>
Acked-by: Jack Wang <xjtuwjp@gmail.com>
Cc: stable@vger.kernel.org      # for v3.10 and up
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
1 parent b5dc3c4
History
File Mode Size
ib.h -rw-r--r-- 2.7 KB
ib_addr.h -rw-r--r-- 8.1 KB
ib_cache.h -rw-r--r-- 4.9 KB
ib_cm.h -rw-r--r-- 18.8 KB
ib_fmr_pool.h -rw-r--r-- 3.4 KB
ib_mad.h -rw-r--r-- 22.6 KB
ib_marshall.h -rw-r--r-- 2.0 KB
ib_pack.h -rw-r--r-- 8.0 KB
ib_pma.h -rw-r--r-- 5.4 KB
ib_sa.h -rw-r--r-- 15.4 KB
ib_smi.h -rw-r--r-- 4.3 KB
ib_umem.h -rw-r--r-- 2.6 KB
ib_verbs.h -rw-r--r-- 65.1 KB
iw_cm.h -rw-r--r-- 8.2 KB
rdma_cm.h -rw-r--r-- 12.5 KB
rdma_cm_ib.h -rw-r--r-- 2.1 KB
rdma_netlink.h -rw-r--r-- 1.7 KB

back to top