patch-2.4.22 linux-2.4.22/include/asm-ia64/sn/systeminfo.h
Next file: linux-2.4.22/include/asm-ia64/sn/types.h
Previous file: linux-2.4.22/include/asm-ia64/sn/sv.h
Back to the patch index
Back to the overall index
- Lines: 74
- Date:
1969-12-31 16:00:00.000000000 -0800
- Orig file:
linux-2.4.21/include/asm-ia64/sn/systeminfo.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.21/include/asm-ia64/sn/systeminfo.h linux-2.4.22/include/asm-ia64/sn/systeminfo.h
@@ -1,73 +0,0 @@
-/* $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_SYSTEMINFO_H
-#define _ASM_IA64_SN_SYSTEMINFO_H
-
-#include <linux/types.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define MAX_SERIAL_SIZE 16
-
-typedef struct module_info_s {
- uint64_t serial_num;
- int mod_num;
- char serial_str[MAX_SERIAL_SIZE];
-} module_info_t;
-
-
-
-/*
- * Commands to sysinfo()
- */
-
-#define SI_SYSNAME 1 /* return name of operating system */
-#define SI_HOSTNAME 2 /* return name of node */
-#define SI_RELEASE 3 /* return release of operating system */
-#define SI_VERSION 4 /* return version field of utsname */
-#define SI_MACHINE 5 /* return kind of machine */
-#define SI_ARCHITECTURE 6 /* return instruction set arch */
-#define SI_HW_SERIAL 7 /* return hardware serial number */
-#define SI_HW_PROVIDER 8 /* return hardware manufacturer */
-#define SI_SRPC_DOMAIN 9 /* return secure RPC domain */
-#define SI_INITTAB_NAME 10 /* return name of inittab file used */
-
-#define _MIPS_SI_VENDOR 100 /* return system provider */
-#define _MIPS_SI_OS_PROVIDER 101 /* return OS manufacturer */
-#define _MIPS_SI_OS_NAME 102 /* return OS name */
-#define _MIPS_SI_HW_NAME 103 /* return system name */
-#define _MIPS_SI_NUM_PROCESSORS 104 /* return number of processors */
-#define _MIPS_SI_HOSTID 105 /* return hostid */
-#define _MIPS_SI_OSREL_MAJ 106 /* return OS major release number */
-#define _MIPS_SI_OSREL_MIN 107 /* return OS minor release number */
-#define _MIPS_SI_OSREL_PATCH 108 /* return OS release number */
-#define _MIPS_SI_PROCESSORS 109 /* return CPU revison id */
-#define _MIPS_SI_AVAIL_PROCESSORS 110 /* return number of available processors */
-#define _MIPS_SI_SERIAL 111
-/*
- * These commands are unpublished interfaces to sysinfo().
- */
-#define SI_SET_HOSTNAME 258 /* set name of node */
- /* -unpublished option */
-#define SI_SET_SRPC_DOMAIN 265 /* set secure RPC domain */
- /* -unpublished option */
-
-#if !defined(__KERNEL__)
-int sysinfo(int, char *, long);
-int get_num_modules(void);
-int get_module_info(int, module_info_t *, size_t);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _ASM_IA64_SN_SYSTEMINFO_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)