Move the callout_reset into the critical section.
[dragonfly/netmp.git] / sys / i386 / include / ioctl_ctx.h
blob7ac8640b46373c9bba5477bac3b285fe3d05fd3b
1 /*
3 * Copyright (C) 1994, Paul S. LaFollette, Jr. This software may be used,
4 * modified, copied, distributed, and sold, in both source and binary form
5 * provided that the above copyright and these terms are retained. Under
6 * no circumstances is the author responsible for the proper functioning
7 * of this software, nor does the author assume any responsibility
8 * for damages incurred with its use
10 * $FreeBSD: src/sys/i386/include/ioctl_ctx.h,v 1.6 1999/08/28 00:44:17 peter Exp $
11 * $DragonFly: src/sys/i386/include/Attic/ioctl_ctx.h,v 1.2 2003/06/17 04:28:35 dillon Exp $
15 * ioctl constants for Cortex-I frame grabber
18 #ifndef _MACHINE_IOCTL_CTX_H_
19 #define _MACHINE_IOCTL_CTX_H_
21 #include <sys/ioccom.h>
23 typedef char _CTX_LUTBUF[256]; /* look up table buffer */
25 #define CTX_LIVE _IO('x', 1) /* live video */
26 #define CTX_GRAB _IO('x', 2) /* frame grab */
27 #define CTX_H_ORGANIZE _IO('x', 3) /* file goes across screen (horiz. read) */
28 #define CTX_V_ORGANIZE _IO('x', 4) /* file goes down screen (vert. read) */
29 #define CTX_SET_LUT _IOW('x', 5, _CTX_LUTBUF) /* set lookup table */
30 #define CTX_GET_LUT _IOR('x', 6, _CTX_LUTBUF) /* get lookup table */
32 #endif /* !_MACHINE_IOCTL_CTX_H_ */