freebsd-skq/sys/dev/ppbus/lptio.h
csgr e910246f9f Changes to lpt driver:
- ansi prototypes in lpt.c
- a bit of tidying in lpt.c
- ioctl in lpt.c for switching between polling and using interrupts
- added lpt.h - needed for ioctl to allow switching between polling
        and interrupt-driven modes.
1994-04-06 16:42:33 +00:00

25 lines
658 B
C

/*
* Copyright (C) 1994 Geoffrey M. Rehmet
*
* This program is free software; you may redistribute it and/or
* modify it, provided that it retain the above copyright notice
* and the following disclaimer.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* Geoff Rehmet, Rhodes University, South Africa <csgr@cs.ru.ac.za>
*
*/
#ifndef _LPT_PRINTER_H_
#define _LPT_PRINTER_H_
#include <sys/types.h>
#include <sys/ioctl.h>
#define LPT_IRQ _IOW('p', 1, long) /* set interrupt status */
#endif