mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]>: fix off-by-one in ioctl_event_ctl()] Tested-by: Krishna Dhulipala <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Signed-off-by: Stephen Bates <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Wei Zhang <[email protected]> Reviewed-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
5d8e1881f4
commit
52eabba5bc
5 changed files with 642 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue