Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
bedrock.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 2k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /* $Id$
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1992 - 1997, 2000-2002 Silicon Graphics, Inc. All rights reserved.
- */
- #ifndef _ASM_IA64_SN_SN1_BEDROCK_H
- #define _ASM_IA64_SN_SN1_BEDROCK_H
- /* The secret password; used to release protection */
- #define HUB_PASSWORD 0x53474972756c6573ull
- #define CHIPID_HUB 0x3012
- #define CHIPID_ROUTER 0x3017
- #define BEDROCK_REV_1_0 1
- #define BEDROCK_REV_1_1 2
- #define MAX_HUB_PATH 80
- #include <asm/sn/arch.h>
- #include <asm/sn/sn1/addrs.h>
- #include <asm/sn/sn1/hubpi.h>
- #include <asm/sn/sn1/hubmd.h>
- #include <asm/sn/sn1/hubio.h>
- #include <asm/sn/sn1/hubni.h>
- #include <asm/sn/sn1/hublb.h>
- #include <asm/sn/sn1/hubxb.h>
- #include <asm/sn/sn1/hubpi_next.h>
- #include <asm/sn/sn1/hubmd_next.h>
- #include <asm/sn/sn1/hubio_next.h>
- #include <asm/sn/sn1/hubni_next.h>
- #include <asm/sn/sn1/hublb_next.h>
- #include <asm/sn/sn1/hubxb_next.h>
- /* Translation of uncached attributes */
- #define UATTR_HSPEC 0
- #define UATTR_IO 1
- #define UATTR_MSPEC 2
- #define UATTR_UNCAC 3
- #if __ASSEMBLY__
- /*
- * Get nasid into register, r (uses at)
- */
- #define GET_NASID_ASM(r)
- dli r, LOCAL_HUB_ADDR(LB_REV_ID);
- ld r, (r);
- and r, LRI_NODEID_MASK;
- dsrl r, LRI_NODEID_SHFT
- #endif /* __ASSEMBLY__ */
- #ifndef __ASSEMBLY__
- #include <asm/sn/xtalk/xwidget.h>
- /* hub-as-widget iograph info, labelled by INFO_LBL_XWIDGET */
- typedef struct v_hub_s *v_hub_t;
- typedef uint64_t rtc_time_t;
- struct nodepda_s;
- int hub_check_pci_equiv(void *addra, void *addrb);
- void capture_hub_stats(cnodeid_t, struct nodepda_s *);
- void init_hub_stats(cnodeid_t, struct nodepda_s *);
- #endif /* __ASSEMBLY__ */
- #endif /* _ASM_IA64_SN_SN1_BEDROCK_H */