-/* $OpenBSD: spec_vnops.c,v 1.52 2008/06/12 06:58:40 deraadt Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.53 2008/07/24 18:48:18 thib Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
/*
* Open a special file.
*/
-/* ARGSUSED */
int
spec_open(void *v)
{
/*
* Vnode op for read
*/
-/* ARGSUSED */
int
spec_read(void *v)
{
/*
* Vnode op for write
*/
-/* ARGSUSED */
int
spec_write(void *v)
{
/*
* Device ioctl operation.
*/
-/* ARGSUSED */
int
spec_ioctl(void *v)
{
}
}
-/* ARGSUSED */
int
spec_poll(void *v)
{
return (*cdevsw[major(dev)].d_poll)(dev, ap->a_events, ap->a_p);
}
}
-/* ARGSUSED */
int
spec_kqfilter(void *v)
{
/*
* Synch buffers associated with a block device
*/
-/* ARGSUSED */
int
spec_fsync(void *v)
{
/*
* Device close routine
*/
-/* ARGSUSED */
int
spec_close(void *v)
{
/*
* Special device advisory byte-level locks.
*/
-/* ARGSUSED */
int
spec_advlock(void *v)
{
-/* $OpenBSD: spec_vnops.c,v 1.52 2008/06/12 06:58:40 deraadt Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.53 2008/07/24 18:48:18 thib Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
/*
* Open a special file.
*/
-/* ARGSUSED */
int
spec_open(void *v)
{
/*
* Vnode op for read
*/
-/* ARGSUSED */
int
spec_read(void *v)
{
/*
* Vnode op for write
*/
-/* ARGSUSED */
int
spec_write(void *v)
{
/*
* Device ioctl operation.
*/
-/* ARGSUSED */
int
spec_ioctl(void *v)
{
}
}
-/* ARGSUSED */
int
spec_poll(void *v)
{
return (*cdevsw[major(dev)].d_poll)(dev, ap->a_events, ap->a_p);
}
}
-/* ARGSUSED */
int
spec_kqfilter(void *v)
{
/*
* Synch buffers associated with a block device
*/
-/* ARGSUSED */
int
spec_fsync(void *v)
{
/*
* Device close routine
*/
-/* ARGSUSED */
int
spec_close(void *v)
{
/*
* Special device advisory byte-level locks.
*/
-/* ARGSUSED */
int
spec_advlock(void *v)
{