/* @(#)idprom.h 1.5 85/04/15 SMI */ /* * Copyright (c) 1985 by Sun Microsystems, Inc. */ /* * Structure declaration for ID prom in CPU and Ethernet boards */ struct idprom { unsigned char id_format; /* format identifier */ /* The following fields are valid only in format IDFORM_1. */ unsigned char id_machine; /* machine type */ unsigned char id_ether[6]; /* ethernet address */ long id_date; /* date of manufacture */ unsigned id_serial:24; /* serial number */ unsigned char id_xsum; /* xor checksum */ unsigned char id_undef[16]; /* undefined */ }; #define IDFORM_1 1 /* Format number for first ID proms */ /* * The machine type field assignments are constrained such that the * IDM_ARCH_MASK bits define the CPU architecture and the remaining bits * identify the individual implementation of that architecture. */ #define IDM_ARCH_MASK 0xf0 /* mask for architecture bits */ #define IDM_ARCH_SUN2 0x00 /* arch value for Sun-2 */ #define IDM_ARCH_SUN3 0x10 /* arch value for Sun-3 */ /* All possible values of the id_machine field (so far): */ #define IDM_SUN2_MULTI 1 /* Machine type for Multibus CPU board */ #define IDM_SUN2_VME 2 /* Machine type for VME CPU board */ #define IDM_SUN3_CARRERA 0x11 /* Carrera CPU */ #define IDM_SUN3_M25 0x12 /* M25 CPU */ #define IDM_SUN3_SIRIUS 0x13 /* Sirius CPU */