// ========== Copyright Header Begin ==========================================
// OpenSPARC T2 Processor File: symbol_encoding.hpp
// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// For the avoidance of doubt, and except that if any non-GPL license
// choice is available it will apply instead, Sun elects to use only
// the General Public License version 2 (GPLv2) at this time for any
// software where a choice of GPL license versions is made
// available with the language indicating that GPLv2 or any later version
// may be used, or where a choice of which version of the GPL is applied is
// otherwise unspecified.
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
// CA 95054 USA or visit www.sun.com if you need additional information or
// ========== Copyright Header End ============================================
#ifndef INC_SYMBOL_ENCODING_HPP__
#define INC_SYMBOL_ENCODING_HPP__
#define FTS 0x3c // Fast Training Sequence
#define SDP 0x5c // Start DLLP
#define K28_5 0xBC // COM
#define COM 0xBC // Comma
#define STP 0xFB // Start TLP
#define EDB 0xFE // End Bad
#define DETECT_QUIET 1000
#define DETECT_ACTIVE 1001
#define POLLING_COMPLIANCE 1002
#define POLLING_ACTIVE 1003
#define POLLING_SPEED 1004
#define POLLING_CONFIG 1005
#define CFG_LINKWIDTH_START 1006
#define CFG_LINKWIDTH_ACCEPT 1015
#define CFG_LANENUM_ACCEPT 1016
#define CFG_LANENUM_WAIT 1017
#define CFG_COMPLETE 1018
#define Recovery_RcvrLock 1009
#define Recovery_RcvrCfg 1019
#define Recovery_Idle 1020
#define DISABLED_ENTRY 1021
#define DISABLED_IDLE 1022
#define POLLING_ACTIVE_TIMEOUT 1000
#define POLLING_CONFIG_TIMEOUT 500
#define CFG_LINKWIDTH_START_TIMEOUT 100
#define CFG_LINKWIDTH_ACCEPT_TIMEOUT 100
#define CFG_COMPLETE_TIMEOUT 5000
#define CFG_IDLE_TIMEOUT 5000
#define Recovery_RcvrLock_TIMEOUT 1500
#define Recovery_RcvrCfg_TIMEOUT 500
#define Recovery_Idle_TIMEOUT 500
#define HOT_RESET_TIMEOUT 1500
#define DISABLED_TIMEOUT 75
#define TS1_LINK_NUM_NON_PAD 3
#define TS1_LINK_LANE_NON_PAD 4
#define TS2_LINK_LANE_NON_PAD 5
#endif //INC_SYMBOL_ENCODING_HPP__