Declare linux_ioctl_blkio and call it from the main routine.
This commit is contained in:
parent
da9e8a988d
commit
d772be168f
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_ioctl.c,v 1.24 2000/12/10 14:12:17 fvdl Exp $ */
|
||||
/* $NetBSD: linux_ioctl.c,v 1.25 2001/01/10 02:28:38 fvdl Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
@ -135,6 +135,8 @@ linux_sys_ioctl(p, v, retval)
|
||||
return linux_ioctl_hdio(p, uap, retval);
|
||||
case 0x02:
|
||||
return linux_ioctl_fdio(p, uap, retval);
|
||||
case 0x12:
|
||||
return linux_ioctl_blkio(p, uap, retval);
|
||||
default:
|
||||
return linux_machdepioctl(p, uap, retval);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_ioctl.h,v 1.12 2000/12/10 14:08:48 fvdl Exp $ */
|
||||
/* $NetBSD: linux_ioctl.h,v 1.13 2001/01/10 02:28:38 fvdl Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
@ -54,6 +54,8 @@ int linux_ioctl_hdio __P((struct proc *, struct linux_sys_ioctl_args *,
|
||||
register_t *));
|
||||
int linux_ioctl_fdio __P((struct proc *p, struct linux_sys_ioctl_args *uap,
|
||||
register_t *retval));
|
||||
int linux_ioctl_blkio __P((struct proc *p, struct linux_sys_ioctl_args *uap,
|
||||
register_t *retval));
|
||||
__END_DECLS
|
||||
#endif /* !_KERNEL */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user