/* @(#)lpioctl.h 1.3 86/10/22 SMI */ /* * Copyright (c) 1986 by Sun Microsystems, Inc. * * modified by D. Rumph, June 28, 1989 5:25:38 pm PDT * to add LPSETDMACOUNT */ #ifndef _IOCTL_ #include #endif #define CISREG 1 #define CDSREG 2 struct lpregs { u_short cisreg; u_short cdsreg; }; /* * Get the contents of the registers on the IKON board. */ #define LPGETREGS _IOR(v, 10, struct lpregs) /* * Set the timeout value - the amount of time that must pass * before the driver assumes there is something wrong with * the printer (out of paper, off-line, or whatever). The * timeout will occur in 'timeout'/50 seconds (fiftieths of a second). */ #define LPSETTIMVAL _IOW(v, 11, int) /* * Get the current value of the timeout. */ #define LPGETTIMVAL _IOR(v, 12, int) /* * Set the unit length of DMA transfer (bytes/transfer) */ #define LPSETDMACOUNT _IOW(v, 13, int) /* * Get the unit length of DMA transfer (bytes/transfer) */ #define LPGETDMACOUNT _IOR(v, 14, int)