IB/hfi1: Restore EPROM read ability
Partially revert commit d079031742
("IB/hfi1: Remove
EPROM functionality from data device"), bringing back
the ability to read from the EPROM.
This code will be used for driver-only acccess to the EPROM, hence
change EPROM read to save to a buffer instead of copy touser. Also
allow any offset and remove missed includes and leftover declarations.
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
@@ -58,7 +58,6 @@
|
||||
#include "trace.h"
|
||||
#include "user_sdma.h"
|
||||
#include "user_exp_rcv.h"
|
||||
#include "eprom.h"
|
||||
#include "aspm.h"
|
||||
#include "mmu_rb.h"
|
||||
|
||||
|
Reference in New Issue
Block a user