commit | d24bc6481e376da3b7f226b57b39b0ae4088b8d9 | [log] [tgz] |
---|---|---|
author | Dean Luick <dean.luick@intel.com> | Wed Feb 03 14:34:58 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Thu Mar 10 20:37:54 2016 -0500 |
tree | de5d0979c5620d077be6ae193a793e70956c9d95 | |
parent | 82ab09e131ffb0497c9631e2c53b44fbf9ad5e1c [diff] |
staging/rdma/hfi1: Use device file minor to identify EPROM When writing to the EPROM, the driver will always use the "first" device. This is incorrect for multiple cards. Use the device file minor to determine the device to use. Reject the generic device file. Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>