ia64/linux-2.6.18-xen.hg

annotate drivers/char/rio/cmdblk.h @ 893:f994bfe9b93b

linux/blktap2: reduce TLB flush scope

c/s 885 added very coarse TLB flushing. Since these flushes always
follow single page updates, single page flushes (when available) are
sufficient.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 04 10:32:57 2009 +0100 (2009-06-04)
parents 831230e53067
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 : cmdblk.h
ian@0 24 ** SID : 1.2
ian@0 25 ** Last Modified : 11/6/98 11:34:09
ian@0 26 ** Retrieved : 11/6/98 11:34:20
ian@0 27 **
ian@0 28 ** ident @(#)cmdblk.h 1.2
ian@0 29 **
ian@0 30 ** -----------------------------------------------------------------------------
ian@0 31 */
ian@0 32
ian@0 33 #ifndef __rio_cmdblk_h__
ian@0 34 #define __rio_cmdblk_h__
ian@0 35
ian@0 36 #ifdef SCCS_LABELS
ian@0 37 #ifndef lint
ian@0 38 static char *_cmdblk_h_sccs_ = "@(#)cmdblk.h 1.2";
ian@0 39 #endif
ian@0 40 #endif
ian@0 41
ian@0 42 /*
ian@0 43 ** the structure of a command block, used to queue commands destined for
ian@0 44 ** a rup.
ian@0 45 */
ian@0 46
ian@0 47 struct CmdBlk {
ian@0 48 struct CmdBlk *NextP; /* Pointer to next command block */
ian@0 49 struct PKT Packet; /* A packet, to copy to the rup */
ian@0 50 /* The func to call to check if OK */
ian@0 51 int (*PreFuncP) (unsigned long, struct CmdBlk *);
ian@0 52 int PreArg; /* The arg for the func */
ian@0 53 /* The func to call when completed */
ian@0 54 int (*PostFuncP) (unsigned long, struct CmdBlk *);
ian@0 55 int PostArg; /* The arg for the func */
ian@0 56 };
ian@0 57
ian@0 58 #define NUM_RIO_CMD_BLKS (3 * (MAX_RUP * 4 + LINKS_PER_UNIT * 4))
ian@0 59 #endif