|
|
1.1 ! root 1: /* @(#)idprom.h 1.5 85/04/15 SMI */ ! 2: ! 3: /* ! 4: * Copyright (c) 1985 by Sun Microsystems, Inc. ! 5: */ ! 6: ! 7: /* ! 8: * Structure declaration for ID prom in CPU and Ethernet boards ! 9: */ ! 10: struct idprom { ! 11: unsigned char id_format; /* format identifier */ ! 12: /* The following fields are valid only in format IDFORM_1. */ ! 13: unsigned char id_machine; /* machine type */ ! 14: unsigned char id_ether[6]; /* ethernet address */ ! 15: long id_date; /* date of manufacture */ ! 16: unsigned id_serial:24; /* serial number */ ! 17: unsigned char id_xsum; /* xor checksum */ ! 18: unsigned char id_undef[16]; /* undefined */ ! 19: }; ! 20: ! 21: #define IDFORM_1 1 /* Format number for first ID proms */ ! 22: ! 23: /* ! 24: * The machine type field assignments are constrained such that the ! 25: * IDM_ARCH_MASK bits define the CPU architecture and the remaining bits ! 26: * identify the individual implementation of that architecture. ! 27: */ ! 28: #define IDM_ARCH_MASK 0xf0 /* mask for architecture bits */ ! 29: #define IDM_ARCH_SUN2 0x00 /* arch value for Sun-2 */ ! 30: #define IDM_ARCH_SUN3 0x10 /* arch value for Sun-3 */ ! 31: ! 32: /* All possible values of the id_machine field (so far): */ ! 33: #define IDM_SUN2_MULTI 1 /* Machine type for Multibus CPU board */ ! 34: #define IDM_SUN2_VME 2 /* Machine type for VME CPU board */ ! 35: #define IDM_SUN3_CARRERA 0x11 /* Carrera CPU */ ! 36: #define IDM_SUN3_M25 0x12 /* M25 CPU */ ! 37: #define IDM_SUN3_SIRIUS 0x13 /* Sirius CPU */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.