!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/include/asm-ia64/sn/sn1/   drwxr-xr-x
Free 318.33 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     slotnum.h (2.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* $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 Silicon Graphics, Inc.
 * Copyright (C) 2000 by Colin Ngam
 */

#ifndef _ASM_SN_SN1_SLOTNUM_H
#define _ASM_SN_SN1_SLOTNUM_H

#define SLOTNUM_MAXLENGTH    16

/*
 * This file attempts to define a slot number space across all slots.
 *
 *    Node slots
 *    Router slots
 *    Crosstalk slots
 *
 *    Other slots are children of their parent crosstalk slot:
 *        PCI slots
 *        VME slots
 *
 *    The PCI class has been added since the XBridge ASIC on SN-MIPS
 *    has built-in PCI bridges (2). On IBricks, widget E & F serve
 *    PCI busses, and on PBricks all widgets serve as PCI busses
 *    with the use of the super-bridge mode of the XBridge ASIC.
 */

#define SLOTNUM_NODE_CLASS    0x00    /* Node   */
#define SLOTNUM_ROUTER_CLASS    0x10    /* Router */
#define SLOTNUM_XTALK_CLASS    0x20    /* Xtalk  */
#define SLOTNUM_MIDPLANE_CLASS    0x30    /* Midplane */
#define SLOTNUM_XBOW_CLASS    0x40    /* Xbow  */
#define SLOTNUM_KNODE_CLASS    0x50    /* Kego node */
#define SLOTNUM_PCI_CLASS    0x60    /* PCI widgets on XBridge */
#define SLOTNUM_INVALID_CLASS    0xf0    /* Invalid */

#define SLOTNUM_CLASS_MASK    0xf0
#define SLOTNUM_SLOT_MASK    0x0f

#define SLOTNUM_GETCLASS(_sn)    ((_sn) & SLOTNUM_CLASS_MASK)
#define SLOTNUM_GETSLOT(_sn)    ((_sn) & SLOTNUM_SLOT_MASK)

/* This determines module to pnode mapping. */
/* NODESLOTS_PER_MODULE has changed from 4 to 6
 * to support the 12P 4IO configuration. This change
 * helps in minimum  number of changes to code which
 * depend on the number of node boards within a module.
 */
#define NODESLOTS_PER_MODULE        6
#define NODESLOTS_PER_MODULE_SHFT    2

#define HIGHEST_I2C_VISIBLE_NODESLOT    4
#define    RTRSLOTS_PER_MODULE        2

#if __KERNEL__
#include <asm/sn/xtalk/xtalk.h>

extern slotid_t xbwidget_to_xtslot(int crossbow, int widget);
extern slotid_t hub_slotbits_to_slot(slotid_t slotbits);
extern slotid_t hub_slot_to_crossbow(slotid_t hub_slot);
extern slotid_t router_slotbits_to_slot(slotid_t slotbits);
extern slotid_t get_node_slotid(nasid_t nasid);
extern slotid_t get_my_slotid(void);
extern slotid_t get_node_crossbow(nasid_t);
extern xwidgetnum_t hub_slot_to_widget(slotid_t);
extern void get_slotname(slotid_t, char *);
extern void get_my_slotname(char *);
extern slotid_t get_widget_slotnum(int xbow, int widget);
extern void get_widget_slotname(int, int, char *);
extern void router_slotbits_to_slotname(int, char *);
extern slotid_t meta_router_slotbits_to_slot(slotid_t) ;
extern slotid_t hub_slot_get(void);

extern int node_can_talk_to_elsc(void);

extern int  slot_to_widget(int) ;
#define MAX_IO_SLOT_NUM        12
#define MAX_NODE_SLOT_NUM    4
#define MAX_ROUTER_SLOTNUM    2

#endif /* __KERNEL__ */

#endif /* _ASM_SN_SN1_SLOTNUM_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0046 ]--