NVMe: Rework ioctls
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 20 May 2011 17:03:42 +0000 (13:03 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:53:03 +0000 (15:53 -0400)
commit6bbf1acddeed0bfb345a5578f9fcada16f1e514f
tree965663c2a38ff10bc88fb2096fc0adbef500b11d
parenteac623ba7a91474a688eb5d0fcd0eaa6a56dc41c
NVMe: Rework ioctls

Remove the special-purpose IDENTIFY, GET_RANGE_TYPE, DOWNLOAD_FIRMWARE
and ACTIVATE_FIRMWARE commands.  Replace them with a generic ADMIN_CMD
ioctl that can submit any admin command.

Add a new ID ioctl that returns the namespace ID of the queried device.
It corresponds to the SCSI Idlun ioctl.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c
include/linux/nvme.h