summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorLogan Gunthorpe2017-03-03 00:24:34 +0100
committerBjorn Helgaas2017-04-12 19:23:37 +0200
commit52eabba5bcdb2853dec6ef007ba427b092034738 (patch)
tree959b69df05f188f33ae2d7e5ba53158fd50f2f83 /block
parentswitchtec: Add sysfs attributes to the Switchtec driver (diff)
downloadkernel-qcow2-linux-52eabba5bcdb2853dec6ef007ba427b092034738.tar.gz
kernel-qcow2-linux-52eabba5bcdb2853dec6ef007ba427b092034738.tar.xz
kernel-qcow2-linux-52eabba5bcdb2853dec6ef007ba427b092034738.zip
switchtec: Add IOCTLs to the Switchtec driver
Add a couple of special IOCTLs to: * Inform userspace of firmware partition locations * Pass event counts and allow userspace to wait on events * Translate PFF numbers used by the switch to port numbers [Dan Carpenter <dan.carpenter@oracle.com>: fix off-by-one in ioctl_event_ctl()] Tested-by: Krishna Dhulipala <krishnad@fb.com> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Stephen Bates <stephen.bates@microsemi.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Wei Zhang <wzhang@fb.com> Reviewed-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions