ia64/linux-2.6.18-xen.hg

annotate drivers/char/rio/link.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 ******* L I N K
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 _link_h
ian@0 38 #define _link_h 1
ian@0 39
ian@0 40 /*************************************************
ian@0 41 * Define the Link Status stuff
ian@0 42 ************************************************/
ian@0 43 /* Boot request stuff */
ian@0 44 #define BOOT_REQUEST ((ushort) 0) /* Request for a boot */
ian@0 45 #define BOOT_ABORT ((ushort) 1) /* Abort a boot */
ian@0 46 #define BOOT_SEQUENCE ((ushort) 2) /* Packet with the number of packets
ian@0 47 and load address */
ian@0 48 #define BOOT_COMPLETED ((ushort) 3) /* Boot completed */
ian@0 49
ian@0 50
ian@0 51 struct LPB {
ian@0 52 u16 link_number; /* Link Number */
ian@0 53 u16 in_ch; /* Link In Channel */
ian@0 54 u16 out_ch; /* Link Out Channel */
ian@0 55 u8 attached_serial[4]; /* Attached serial number */
ian@0 56 u8 attached_host_serial[4];
ian@0 57 /* Serial number of Host who
ian@0 58 booted the other end */
ian@0 59 u16 descheduled; /* Currently Descheduled */
ian@0 60 u16 state; /* Current state */
ian@0 61 u16 send_poll; /* Send a Poll Packet */
ian@0 62 u16 ltt_p; /* Process Descriptor */
ian@0 63 u16 lrt_p; /* Process Descriptor */
ian@0 64 u16 lrt_status; /* Current lrt status */
ian@0 65 u16 ltt_status; /* Current ltt status */
ian@0 66 u16 timeout; /* Timeout value */
ian@0 67 u16 topology; /* Topology bits */
ian@0 68 u16 mon_ltt;
ian@0 69 u16 mon_lrt;
ian@0 70 u16 WaitNoBoot; /* Secs to hold off booting */
ian@0 71 u16 add_packet_list; /* Add packets to here */
ian@0 72 u16 remove_packet_list; /* Send packets from here */
ian@0 73
ian@0 74 u16 lrt_fail_chan; /* Lrt's failure channel */
ian@0 75 u16 ltt_fail_chan; /* Ltt's failure channel */
ian@0 76
ian@0 77 /* RUP structure for HOST to driver communications */
ian@0 78 struct RUP rup;
ian@0 79 struct RUP link_rup; /* RUP for the link (POLL,
ian@0 80 topology etc.) */
ian@0 81 u16 attached_link; /* Number of attached link */
ian@0 82 u16 csum_errors; /* csum errors */
ian@0 83 u16 num_disconnects; /* number of disconnects */
ian@0 84 u16 num_sync_rcvd; /* # sync's received */
ian@0 85 u16 num_sync_rqst; /* # sync requests */
ian@0 86 u16 num_tx; /* Num pkts sent */
ian@0 87 u16 num_rx; /* Num pkts received */
ian@0 88 u16 module_attached; /* Module tpyes of attached */
ian@0 89 u16 led_timeout; /* LED timeout */
ian@0 90 u16 first_port; /* First port to service */
ian@0 91 u16 last_port; /* Last port to service */
ian@0 92 };
ian@0 93
ian@0 94 #endif
ian@0 95
ian@0 96 /*********** end of file ***********/