ia64/linux-2.6.18-xen.hg

annotate drivers/char/rio/protsts.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 ******* P R O T O C O L S T A T U S S T R U C T U R E *******
ian@0 4 ******* *******
ian@0 5 ****************************************************************************
ian@0 6
ian@0 7 Author : Ian Nandhra / Jeremy Rolls
ian@0 8 Date :
ian@0 9
ian@0 10 *
ian@0 11 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
ian@0 12 *
ian@0 13 * This program is free software; you can redistribute it and/or modify
ian@0 14 * it under the terms of the GNU General Public License as published by
ian@0 15 * the Free Software Foundation; either version 2 of the License, or
ian@0 16 * (at your option) any later version.
ian@0 17 *
ian@0 18 * This program is distributed in the hope that it will be useful,
ian@0 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ian@0 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ian@0 21 * GNU General Public License for more details.
ian@0 22 *
ian@0 23 * You should have received a copy of the GNU General Public License
ian@0 24 * along with this program; if not, write to the Free Software
ian@0 25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
ian@0 26
ian@0 27 Version : 0.01
ian@0 28
ian@0 29
ian@0 30 Mods
ian@0 31 ----------------------------------------------------------------------------
ian@0 32 Date By Description
ian@0 33 ----------------------------------------------------------------------------
ian@0 34
ian@0 35 ***************************************************************************/
ian@0 36
ian@0 37 #ifndef _protsts_h
ian@0 38 #define _protsts_h 1
ian@0 39
ian@0 40
ian@0 41 #ifdef SCCS_LABELS
ian@0 42 #ifndef lint
ian@0 43 /* static char *_rio_protsts_h_sccs = "@(#)protsts.h 1.4"; */
ian@0 44 #endif
ian@0 45 #endif
ian@0 46
ian@0 47 /*************************************************
ian@0 48 * ACK bit. Last Packet received OK. Set by
ian@0 49 * rxpkt to indicate that the Packet has been
ian@0 50 * received OK and that the LTT must set the ACK
ian@0 51 * bit in the next outward bound Packet
ian@0 52 * and re-set by LTT's after xmit.
ian@0 53 *
ian@0 54 * Gets shoved into rx_status
ian@0 55 ************************************************/
ian@0 56 #define PHB_RX_LAST_PKT_ACKED ((ushort) 0x080)
ian@0 57
ian@0 58 /*******************************************************
ian@0 59 * The Rx TOGGLE bit.
ian@0 60 * Stuffed into rx_status by RXPKT
ian@0 61 ******************************************************/
ian@0 62 #define PHB_RX_DATA_WNDW ((ushort) 0x040)
ian@0 63
ian@0 64 /*******************************************************
ian@0 65 * The Rx TOGGLE bit. Matches the setting in PKT.H
ian@0 66 * Stuffed into rx_status
ian@0 67 ******************************************************/
ian@0 68 #define PHB_RX_TGL ((ushort) 0x2000)
ian@0 69
ian@0 70
ian@0 71 /*************************************************
ian@0 72 * This bit is set by the LRT to indicate that
ian@0 73 * an ACK (packet) must be returned.
ian@0 74 *
ian@0 75 * Gets shoved into tx_status
ian@0 76 ************************************************/
ian@0 77 #define PHB_TX_SEND_PKT_ACK ((ushort) 0x08)
ian@0 78
ian@0 79 /*************************************************
ian@0 80 * Set by LTT to indicate that an ACK is required
ian@0 81 *************************************************/
ian@0 82 #define PHB_TX_ACK_RQRD ((ushort) 0x01)
ian@0 83
ian@0 84
ian@0 85 /*******************************************************
ian@0 86 * The Tx TOGGLE bit.
ian@0 87 * Stuffed into tx_status by RXPKT from the PKT WndW
ian@0 88 * field. Looked by the LTT when the NEXT Packet
ian@0 89 * is going to be sent.
ian@0 90 ******************************************************/
ian@0 91 #define PHB_TX_DATA_WNDW ((ushort) 0x04)
ian@0 92
ian@0 93
ian@0 94 /*******************************************************
ian@0 95 * The Tx TOGGLE bit. Matches the setting in PKT.H
ian@0 96 * Stuffed into tx_status
ian@0 97 ******************************************************/
ian@0 98 #define PHB_TX_TGL ((ushort) 0x02)
ian@0 99
ian@0 100 /*******************************************************
ian@0 101 * Request intr bit. Set when the queue has gone quiet
ian@0 102 * and the PHB has requested an interrupt.
ian@0 103 ******************************************************/
ian@0 104 #define PHB_TX_INTR ((ushort) 0x100)
ian@0 105
ian@0 106 /*******************************************************
ian@0 107 * SET if the PHB cannot send any more data down the
ian@0 108 * Link
ian@0 109 ******************************************************/
ian@0 110 #define PHB_TX_HANDSHAKE ((ushort) 0x010)
ian@0 111
ian@0 112
ian@0 113 #define RUP_SEND_WNDW ((ushort) 0x08) ;
ian@0 114
ian@0 115 #endif
ian@0 116
ian@0 117 /*********** end of file ***********/