ia64/linux-2.6.18-xen.hg

annotate drivers/char/rio/rioioctl.h @ 0:831230e53067

Import 2.6.18 from kernel.org tarball.
author Ian Campbell <ian.campbell@xensource.com>
date Wed Apr 11 14:15:44 2007 +0100 (2007-04-11)
parents
children
rev   line source
ian@0 1 /*
ian@0 2 ** -----------------------------------------------------------------------------
ian@0 3 **
ian@0 4 ** Perle Specialix driver for Linux
ian@0 5 ** Ported from existing RIO Driver for SCO sources.
ian@0 6 *
ian@0 7 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
ian@0 8 *
ian@0 9 * This program is free software; you can redistribute it and/or modify
ian@0 10 * it under the terms of the GNU General Public License as published by
ian@0 11 * the Free Software Foundation; either version 2 of the License, or
ian@0 12 * (at your option) any later version.
ian@0 13 *
ian@0 14 * This program is distributed in the hope that it will be useful,
ian@0 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ian@0 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ian@0 17 * GNU General Public License for more details.
ian@0 18 *
ian@0 19 * You should have received a copy of the GNU General Public License
ian@0 20 * along with this program; if not, write to the Free Software
ian@0 21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
ian@0 22 **
ian@0 23 ** Module : rioioctl.h
ian@0 24 ** SID : 1.2
ian@0 25 ** Last Modified : 11/6/98 11:34:13
ian@0 26 ** Retrieved : 11/6/98 11:34:22
ian@0 27 **
ian@0 28 ** ident @(#)rioioctl.h 1.2
ian@0 29 **
ian@0 30 ** -----------------------------------------------------------------------------
ian@0 31 */
ian@0 32
ian@0 33 #ifndef __rioioctl_h__
ian@0 34 #define __rioioctl_h__
ian@0 35
ian@0 36 /*
ian@0 37 ** RIO device driver - user ioctls and associated structures.
ian@0 38 */
ian@0 39
ian@0 40 struct portStats {
ian@0 41 int port;
ian@0 42 int gather;
ian@0 43 unsigned long txchars;
ian@0 44 unsigned long rxchars;
ian@0 45 unsigned long opens;
ian@0 46 unsigned long closes;
ian@0 47 unsigned long ioctls;
ian@0 48 };
ian@0 49
ian@0 50 #define RIOC ('R'<<8)|('i'<<16)|('o'<<24)
ian@0 51
ian@0 52 #define RIO_QUICK_CHECK (RIOC | 105)
ian@0 53 #define RIO_GATHER_PORT_STATS (RIOC | 193)
ian@0 54 #define RIO_RESET_PORT_STATS (RIOC | 194)
ian@0 55 #define RIO_GET_PORT_STATS (RIOC | 195)
ian@0 56
ian@0 57 #endif /* __rioioctl_h__ */