kernel: Include <sys/ioccom.h> where ioctls are defined (part 2).
authorSascha Wildner <saw@online.de>
Thu, 16 Feb 2012 09:35:04 +0000 (10:35 +0100)
committerSascha Wildner <saw@online.de>
Thu, 16 Feb 2012 09:35:04 +0000 (10:35 +0100)
Some cases that I previously missed.

15 files changed:
sys/bus/cam/scsi/scsi_sg.c
sys/bus/cam/scsi/scsi_sg.h
sys/dev/acpica5/acpi.c
sys/dev/disk/dm/device-mapper.c
sys/dev/disk/mpt/mpt_user.c
sys/dev/raid/arcmsr/arcmsr.c
sys/dev/raid/arcmsr/arcmsr.h
sys/dev/raid/asr/asr.c
sys/dev/raid/asr/osd_unix.h
sys/dev/raid/hptiop/hptiop.c
sys/dev/raid/hptiop/hptiop.h
sys/dev/raid/mfi/mfi.c
sys/dev/raid/mfi/mfi_cam.c
sys/sys/mpt_ioctl.h
sys/vfs/puffs/puffs_msgif.h

index dc05b57..f3858e8 100644 (file)
@@ -37,7 +37,6 @@
 #include <sys/bio.h>
 #include <sys/malloc.h>
 #include <sys/fcntl.h>
-#include <sys/ioccom.h>
 #include <sys/errno.h>
 #include <sys/devicestat.h>
 #include <sys/proc.h>
index f56fbdf..fb2fa50 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _SCSI_SG_H
 #define _SCSI_SG_H
 
+#include <sys/ioccom.h>
+
 #define SGIOC  '"'
 #define SG_SET_TIMEOUT         _IO(SGIOC, 0x01)
 #define SG_GET_TIMEOUT         _IO(SGIOC, 0x02)
index 5d01776..5468e69 100644 (file)
@@ -38,7 +38,6 @@
 #include <sys/module.h>
 #include <sys/bus.h>
 #include <sys/conf.h>
-#include <sys/ioccom.h>
 #include <sys/reboot.h>
 #include <sys/sysctl.h>
 #include <sys/ctype.h>
index b3176c0..4856cbb 100644 (file)
@@ -44,7 +44,6 @@
 #include <sys/disk.h>
 #include <sys/disklabel.h>
 #include <sys/dtype.h>
-#include <sys/ioccom.h>
 #include <sys/malloc.h>
 #include <sys/module.h>
 #include <sys/sysctl.h>
index 50d51af..ebef580 100644 (file)
@@ -36,7 +36,6 @@
 #include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/errno.h>
-#include <sys/ioccom.h>
 #include <sys/mpt_ioctl.h>
 
 #include <dev/disk/mpt/mpt.h>
index 6075ae3..eea4f51 100644 (file)
@@ -82,7 +82,6 @@
 #include <sys/sysctl.h>
 #include <sys/thread2.h>
 #include <sys/poll.h>
-#include <sys/ioccom.h>
 #include <sys/device.h>
 #include <vm/vm.h>
 #include <vm/vm_param.h>
index b275849..2544069 100644 (file)
@@ -37,6 +37,9 @@
 **************************************************************************
 * $FreeBSD: src/sys/dev/arcmsr/arcmsr.h,v 1.8 2010/11/13 08:58:36 delphij Exp $
 */
+
+#include <sys/ioccom.h>
+
 #define ARCMSR_SCSI_INITIATOR_ID                                              255
 #define ARCMSR_DEV_SECTOR_SIZE                                                512
 #define ARCMSR_MAX_XFER_SECTORS                                              4096
index 1ce8519..97166a2 100644 (file)
 #include <sys/systm.h>
 #include <sys/malloc.h>
 #include <sys/conf.h>
-#include <sys/ioccom.h>
 #include <sys/priv.h>
 #include <sys/proc.h>
 #include <sys/bus.h>
index 4bb99a6..b3a97ca 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef                __OSD_UNIX_H
 #define                __OSD_UNIX_H
 
+#include <sys/ioccom.h>
+
 /*File - OSD_UNIX.H */
 /*****************************************************************************/
 /*                                                                          */
index bdf2f20..ffbd4a2 100644 (file)
@@ -45,7 +45,6 @@
 #include <sys/eventhandler.h>
 #include <sys/bus.h>
 #include <sys/taskqueue.h>
-#include <sys/ioccom.h>
 #include <sys/device.h>
 #include <sys/mplock2.h>
 
index b2eec98..b66584e 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef _HPTIOP_H
 #define _HPTIOP_H
 
+#include <sys/ioccom.h>
+
 #define DBG 0
 
 #ifdef DBG
index 0bd850a..843f6d7 100644 (file)
@@ -94,7 +94,6 @@
 #include <sys/rman.h>
 #include <sys/bus_dma.h>
 #include <sys/buf2.h>
-#include <sys/ioccom.h>
 #include <sys/uio.h>
 #include <sys/proc.h>
 #include <sys/signalvar.h>
index f7e43a7..d4fc2c0 100644 (file)
@@ -69,7 +69,6 @@
 #include <sys/rman.h>
 #include <sys/bus_dma.h>
 #include <sys/buf2.h>
-#include <sys/ioccom.h>
 #include <sys/uio.h>
 #include <sys/proc.h>
 #include <sys/signalvar.h>
index 679866f..063fa1b 100644 (file)
@@ -35,6 +35,8 @@
 #ifndef _MPT_IOCTL_H_
 #define        _MPT_IOCTL_H_
 
+#include <sys/ioccom.h>
+
 #include <dev/disk/mpt/mpilib/mpi_type.h>
 #include <dev/disk/mpt/mpilib/mpi.h>
 #include <dev/disk/mpt/mpilib/mpi_cnfg.h>
index 7ac05d9..7d9454a 100644 (file)
@@ -34,7 +34,6 @@
 
 #include <sys/param.h>
 #include <sys/time.h>
-#include <sys/ioccom.h>
 #include <sys/mount.h>
 #include <sys/uio.h>
 #include <sys/vfscache.h>