commit | 21c3391a9adfaddd00481a1d03bf30fc1304e292 | [log] [tgz] |
---|---|---|
author | Devesh Sharma <devesh.sharma@emulex.com> | Tue Feb 04 11:56:56 2014 +0530 |
committer | Roland Dreier <roland@purestorage.com> | Thu Apr 03 08:29:40 2014 -0700 |
tree | 05b9a15f8944b21d79cc32b9879dd272c8ae51e8 | |
parent | 2df84fa87f4d00299031b1335748c54176edfe87 [diff] |
RDMA/ocrdma: Read ASIC_ID register to select asic_gen ocrdma driver selects execution path based on sli_family and asic generation number. This introduces code to read the asic gen number from pci register instead of obtaining it from the Emulex NIC driver. Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com> Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>