staging/rdma/hfi1: Adjust EPROM partitions, add EPROM commands
authorDean Luick <dean.luick@intel.com>
Tue, 17 Nov 2015 02:59:35 +0000 (21:59 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:45:38 +0000 (13:45 -0800)
commitcd371e0959a3f2d5df69d50000750f7eefc94659
tree61d2494139a11d7ab753d04df35ff11f5188556a
parent5d9157aafb16bed45e3bf167baa16f1fbe1090cd
staging/rdma/hfi1: Adjust EPROM partitions, add EPROM commands

Add a new EPROM partition, adjusting partition placement.

Add EPROM range commands as a supserset of the partition
commands.  Remove old partition commands.

Enhance EPROM erase, creating a range function and using the
largest erase (sub) commands when possible.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/eprom.c
drivers/staging/rdma/hfi1/file_ops.c
include/uapi/rdma/hfi/hfi1_user.h