From: Aleksandar Markovic <aleksandar.m.mail@xxxxxxxxx> Attempt to update ioctl ranges table to reflect reality better. Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@xxxxxxxxx> --- Documentation/ioctl/ioctl-number.rst | 51 ++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/Documentation/ioctl/ioctl-number.rst b/Documentation/ioctl/ioctl-number.rst index bef79cd..f8768c7 100644 --- a/Documentation/ioctl/ioctl-number.rst +++ b/Documentation/ioctl/ioctl-number.rst @@ -70,26 +70,25 @@ no attempt to list non-X86 architectures or ioctls from drivers/staging/. Code Seq# Include File Comments (hex) ==== ===== ======================================================= ================================================================ -0x00 00-1F linux/fs.h conflict! -0x00 00-1F scsi/scsi_ioctl.h conflict! -0x00 00-1F linux/fb.h conflict! -0x00 00-1F linux/wavefront.h conflict! -0x02 all linux/fd.h -0x03 all linux/hdreg.h +0x00 00-1F linux/fs.h Filesystem BMAP support +0x02 all linux/fd.h Floppy drive +0x03 all linux/hdreg.h Hard drive 0x04 D2-DC linux/umsdos_fs.h Dead since 2.6.11, but don't reuse these. -0x06 all linux/lp.h +0x06 all linux/lp.h Parallel printer driver +0x07 9F-CB linux/vmw_vmci_defs.h VMware VMCI Driver 0x09 all linux/raid/md_u.h 0x10 00-0F drivers/char/s390/vmcp.h 0x10 10-1F arch/s390/include/uapi/sclp_ctl.h 0x10 20-2F arch/s390/include/uapi/asm/hypfs.h 0x12 all linux/fs.h linux/blkpg.h -0x1b all InfiniBand Subsystem + linux/blkzoned.h +0x1b all rdma/rdma_user_ioctl.h InfiniBand Subsystem <http://infiniband.sourceforge.net/> -0x20 all drivers/cdrom/cm206.h +0x21 00-02 linux/seccomp.h Seccomp BPF 0x22 all scsi/sg.h '!' 00-1F uapi/linux/seccomp.h -'#' 00-3F IEEE 1394 Subsystem +'#' 00-3F linux/firewire-cdev.h IEEE 1394 Subsystem Block for the entire subsystem '$' 00-0F linux/perf_counter.h, linux/perf_event.h '%' 00-0F include/uapi/linux/stm.h System Trace Module subsystem @@ -97,13 +96,14 @@ Code Seq# Include File Comments '&' 00-07 drivers/firewire/nosy-user.h '1' 00-1F linux/timepps.h PPS kit from Ulrich Windl <ftp://ftp.de.kernel.org/pub/linux/daemons/ntp/PPS/> -'2' 01-04 linux/i2o.h '3' 00-0F drivers/s390/char/raw3270.h conflict! '3' 00-1F linux/suspend_ioctls.h, conflict! kernel/power/user.c '8' all SNP8023 advanced NIC card <mailto:mcr@xxxxxxxxxxx> -';' 64-7F linux/vfio.h +';' 64-7F linux/vfio.h Virtual Function I/O (VFIO) +'=' 01-09 linux/ptp_clock.h PTP 1588 clock +'>' 03-04 linux/sync_file.h Sync file '@' 00-0F linux/radeonfb.h conflict! '@' 00-0F drivers/video/aty/aty128fb.c conflict! 'A' 00-1F linux/apm_bios.h conflict! @@ -111,7 +111,7 @@ Code Seq# Include File Comments drivers/char/agp/compat_ioctl.h 'A' 00-7F sound/asound.h conflict! 'B' 00-1F linux/cciss_ioctl.h conflict! -'B' 00-0F include/linux/pmu.h conflict! +'B' 00-0F linux/pmu.h conflict! 'B' C0-FF advanced bbus <mailto:maassen@xxxxxxxxxxxxxxx> 'C' all linux/soundcard.h conflict! 'C' 01-2F linux/capi.h conflict! @@ -148,17 +148,15 @@ Code Seq# Include File Comments 'H' 40-4F sound/hdsp.h conflict! 'H' 90 sound/usb/usx2y/usb_stream.h 'H' A0 uapi/linux/usb/cdc-wdm.h -'H' C0-F0 net/bluetooth/hci.h conflict! -'H' C0-DF net/bluetooth/hidp/hidp.h conflict! -'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict! -'H' C0-DF net/bluetooth/bnep/bnep.h conflict! +'H' C0-F0 net/bluetooth/hci_sock.h Bluetooth HCI 'H' F1 linux/hid-roccat.h <mailto:erazor_de@xxxxxxxxxxxxxxxxxxxxx> 'H' F8-FA sound/firewire.h 'I' all linux/isdn.h conflict! 'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict! 'I' 40-4F linux/mISDNif.h conflict! 'J' 00-1F drivers/scsi/gdth_ioctl.h -'K' all linux/kd.h +'K' 01-1D linux/kfd_ioctl.h +'K' 2F-FB linux/kd.h 'L' 00-1F linux/loop.h conflict! 'L' 10-1F drivers/scsi/mpt3sas/mpt3sas_ctl.h conflict! 'L' 20-2F linux/lightnvm.h @@ -171,7 +169,8 @@ Code Seq# Include File Comments 'M' 00-0F drivers/video/fsl-diu-fb.h conflict! 'N' 00-1F drivers/usb/scanner.h 'N' 40-7F drivers/block/nvme.c -'O' 00-06 mtd/ubi-user.h UBI +'O' 00-08 mtd/ubi-user.h UBI +'O' 1F-3F linux/omapfb.h OMAP framebuffer 'P' all linux/soundcard.h conflict! 'P' 60-6F sound/sscape_ioctl.h conflict! 'P' 00-0F drivers/usb/class/usblp.c conflict! @@ -337,10 +336,11 @@ Code Seq# Include File Comments 0xB4 00-0F linux/gpio.h <mailto:linux-gpio@xxxxxxxxxxxxxxx> 0xB5 00-0F uapi/linux/rpmsg.h <mailto:linux-remoteproc@xxxxxxxxxxxxxxx> 0xB6 all linux/fpga-dfl.h -0xC0 00-0F linux/usb/iowarrior.h -0xCA 00-0F uapi/misc/cxl.h -0xCA 10-2F uapi/misc/ocxl.h -0xCA 80-BF uapi/scsi/cxlflash_ioctl.h +0xB7 01-04 linux/nsfs.h Namespaces +0xC0 00-0F linux/usb/iowarrior.h I/O-Warrior USB devices +0xCA 00-0F uapi/misc/cxl.h Coherent Accelerator Interface (CXL) +0xCA 10-2F uapi/misc/ocxl.h Open Coherent Accelerator Processor Interface (OpenCAPI) +0xCA 80-BF uapi/scsi/cxlflash_ioctl.h Coherent Accelerator (CXL) Flash 0xCB 00-1F CBM serial IEC bus in development: <mailto:michael.klein@xxxxxxxxxxxxxxxxxxxx> 0xCC 00-0F drivers/misc/ibmvmc.h pseries VMC driver @@ -353,10 +353,11 @@ Code Seq# Include File Comments 0xEC 00-01 drivers/platform/chrome/cros_ec_dev.h ChromeOS EC driver 0xF3 00-3F drivers/usb/misc/sisusbvga/sisusb.h sisfb (in development) <mailto:thomas@xxxxxxxxxxxxxxxx> -0xF4 00-1F video/mbxfb.h mbxfb +0xF4 00-1F video/mbxfb.h Intel 2700G (Marathon) Frame Buffer Driver <mailto:raph@xxxxxx> +0xF5 00-08 staging/android/vsoc_shm.h 0xF6 all LTTng Linux Trace Toolkit Next Generation <mailto:mathieu.desnoyers@xxxxxxxxxxxx> -0xFD all linux/dm-ioctl.h +0xFD all linux/dm-ioctl.h Device mapper 0xFE all linux/isst_if.h ==== ===== ======================================================= ================================================================ -- 2.7.4