diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2017-03-02 16:24:34 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-12 12:23:37 -0500 |
commit | 52eabba5bcdb2853dec6ef007ba427b092034738 (patch) | |
tree | 959b69df05f188f33ae2d7e5ba53158fd50f2f83 /Documentation/ioctl | |
parent | 5d8e1881f431cf470170813eb048e6a384340904 (diff) | |
download | linux-stable-52eabba5bcdb2853dec6ef007ba427b092034738.tar.gz linux-stable-52eabba5bcdb2853dec6ef007ba427b092034738.tar.bz2 linux-stable-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 'Documentation/ioctl')
-rw-r--r-- | Documentation/ioctl/ioctl-number.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/ioctl/ioctl-number.txt b/Documentation/ioctl/ioctl-number.txt index 08244bea5048..0682bd3eaa8a 100644 --- a/Documentation/ioctl/ioctl-number.txt +++ b/Documentation/ioctl/ioctl-number.txt @@ -191,6 +191,7 @@ Code Seq#(hex) Include File Comments 'W' 00-1F linux/watchdog.h conflict! 'W' 00-1F linux/wanrouter.h conflict! (pre 3.9) 'W' 00-3F sound/asound.h conflict! +'W' 40-5F drivers/pci/switch/switchtec.c 'X' all fs/xfs/xfs_fs.h conflict! and fs/xfs/linux-2.6/xfs_ioctl32.h and include/linux/falloc.h |