ppi.h revision 43433
128219Smsmith/*- 228219Smsmith * Copyright (c) 1997 Nicolas Souchu 328219Smsmith * All rights reserved. 428219Smsmith * 528219Smsmith * Redistribution and use in source and binary forms, with or without 628219Smsmith * modification, are permitted provided that the following conditions 728219Smsmith * are met: 828219Smsmith * 1. Redistributions of source code must retain the above copyright 928219Smsmith * notice, this list of conditions and the following disclaimer. 1028219Smsmith * 2. Redistributions in binary form must reproduce the above copyright 1128219Smsmith * notice, this list of conditions and the following disclaimer in the 1228219Smsmith * documentation and/or other materials provided with the distribution. 1328219Smsmith * 1428219Smsmith * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1528219Smsmith * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1628219Smsmith * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1728219Smsmith * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1828219Smsmith * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1928219Smsmith * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2028219Smsmith * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2128219Smsmith * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2228219Smsmith * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2328219Smsmith * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2428219Smsmith * SUCH DAMAGE. 2528219Smsmith * 2643433Snsouch * $Id: ppi.h,v 1.2 1998/01/02 09:30:39 msmith Exp $ 2728219Smsmith * 2828219Smsmith */ 2928219Smsmith#ifndef __PPI_H 3028219Smsmith#define __PPI_H 3128219Smsmith 3232178Smsmith#ifndef KERNEL 3332178Smsmith# include <sys/types.h> 3432178Smsmith#endif 3532178Smsmith#include <sys/ioccom.h> 3628219Smsmith 3732178Smsmith#define PPIGDATA _IOR('P', 10, u_int8_t) 3832178Smsmith#define PPIGSTATUS _IOR('P', 11, u_int8_t) 3932178Smsmith#define PPIGCTRL _IOR('P', 12, u_int8_t) 4043433Snsouch#define PPIGEPPD _IOR('P', 13, u_int8_t) 4132178Smsmith#define PPIGECR _IOR('P', 14, u_int8_t) 4232178Smsmith#define PPIGFIFO _IOR('P', 15, u_int8_t) 4328219Smsmith 4432178Smsmith#define PPISDATA _IOW('P', 16, u_int8_t) 4532178Smsmith#define PPISSTATUS _IOW('P', 17, u_int8_t) 4632178Smsmith#define PPISCTRL _IOW('P', 18, u_int8_t) 4743433Snsouch#define PPISEPPD _IOW('P', 19, u_int8_t) 4832178Smsmith#define PPISECR _IOW('P', 20, u_int8_t) 4932178Smsmith#define PPISFIFO _IOW('P', 21, u_int8_t) 5028219Smsmith 5143433Snsouch#define PPIGEPPA _IOR('P', 22, u_int8_t) 5243433Snsouch#define PPISEPPA _IOR('P', 23, u_int8_t) 5343433Snsouch 5428219Smsmith#endif 55