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