delete VERBOSE #ifdef's
[unix-history] / usr / src / sys / hp300 / dev / ppiioctl.h
CommitLineData
92bd2249
KM
1/*
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
b28b3a13 7 * @(#)ppiioctl.h 7.2 (Berkeley) %G%
92bd2249
KM
8 */
9
10#ifndef _IOCTL_
92bd2249
KM
11#include <sys/ioctl.h>
12#endif
92bd2249
KM
13
14struct ppiparam {
15 int burst; /* chars to send/recv in one call */
16 int timo; /* timeout: -1 blocking, 0 non-blocking, >0 msec */
17 int delay; /* delay between polls (msec) */
18};
19
20#define PPI_BLOCK -1
21#define PPI_NOBLOCK 0
22
23/* default values */
24#define PPI_BURST 1024
25#define PPI_TIMO PPI_BLOCK
26#define PPI_DELAY 10
27
28/* limits */
29#define PPI_BURST_MIN 1
30#define PPI_BURST_MAX 1024
31#define PPI_DELAY_MIN 0
32#define PPI_DELAY_MAX 30000
33
34#define PPIIOCSPARAM _IOW('P', 0x1, struct ppiparam)
35#define PPIIOCGPARAM _IOR('P', 0x2, struct ppiparam)
36#define PPIIOCSSEC _IOW('P', 0x3, int)