Correct even more ioctl breakage :(
Doesn't people check their code before committing anymore, it could at least compile ????
This commit is contained in:
parent
2c9e07b212
commit
fe1d05742f
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user