diff --git a/sys/dev/pcm/isa/mss.c b/sys/dev/pcm/isa/mss.c index aaf53c09e6ca..82c5e13288e8 100644 --- a/sys/dev/pcm/isa/mss.c +++ b/sys/dev/pcm/isa/mss.c @@ -357,7 +357,7 @@ mss_close(dev_t dev, int flags, int mode, struct proc * p) } static int -mss_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +mss_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { snddev_info *d; int unit; diff --git a/sys/dev/pcm/isa/sb.c b/sys/dev/pcm/isa/sb.c index b76df8f49d34..7fd92ad38b21 100644 --- a/sys/dev/pcm/isa/sb.c +++ b/sys/dev/pcm/isa/sb.c @@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p) } static int -sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { int unit; snddev_info *d; diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c index aaf53c09e6ca..82c5e13288e8 100644 --- a/sys/dev/sound/isa/mss.c +++ b/sys/dev/sound/isa/mss.c @@ -357,7 +357,7 @@ mss_close(dev_t dev, int flags, int mode, struct proc * p) } static int -mss_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +mss_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { snddev_info *d; int unit; diff --git a/sys/dev/sound/isa/sb.c b/sys/dev/sound/isa/sb.c index b76df8f49d34..7fd92ad38b21 100644 --- a/sys/dev/sound/isa/sb.c +++ b/sys/dev/sound/isa/sb.c @@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p) } static int -sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { int unit; snddev_info *d; diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index b76df8f49d34..7fd92ad38b21 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p) } static int -sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { int unit; snddev_info *d; diff --git a/sys/dev/sound/isa/sb8.c b/sys/dev/sound/isa/sb8.c index b76df8f49d34..7fd92ad38b21 100644 --- a/sys/dev/sound/isa/sb8.c +++ b/sys/dev/sound/isa/sb8.c @@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p) } static int -sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { int unit; snddev_info *d; diff --git a/sys/i386/isa/snd/ad1848.c b/sys/i386/isa/snd/ad1848.c index aaf53c09e6ca..82c5e13288e8 100644 --- a/sys/i386/isa/snd/ad1848.c +++ b/sys/i386/isa/snd/ad1848.c @@ -357,7 +357,7 @@ mss_close(dev_t dev, int flags, int mode, struct proc * p) } static int -mss_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +mss_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { snddev_info *d; int unit; diff --git a/sys/i386/isa/snd/sb_dsp.c b/sys/i386/isa/snd/sb_dsp.c index b76df8f49d34..7fd92ad38b21 100644 --- a/sys/i386/isa/snd/sb_dsp.c +++ b/sys/i386/isa/snd/sb_dsp.c @@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p) } static int -sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p) +sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { int unit; snddev_info *d; diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c index 24fa61b6f9be..72577156025d 100644 --- a/sys/i386/isa/snd/sound.c +++ b/sys/i386/isa/snd/sound.c @@ -641,7 +641,7 @@ sndwrite(dev_t i_dev, struct uio * buf, int flag) */ static int -sndioctl(dev_t i_dev, int cmd, caddr_t arg, int mode, struct proc * p) +sndioctl(dev_t i_dev, u_long cmd, caddr_t arg, int mode, struct proc * p) { int ret = ENOSYS, dev, unit ; snddev_info *d;