WIP FPC-III support
[linux/fpc-iii.git] / arch / sparc / include / asm / idprom.h
blob4c372199cd7053870923eaea8122d38afa362213
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * idprom.h: Macros and defines for idprom routines
5 * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu)
6 */
8 #ifndef _SPARC_IDPROM_H
9 #define _SPARC_IDPROM_H
11 #include <linux/types.h>
13 struct idprom {
14 u8 id_format; /* Format identifier (always 0x01) */
15 u8 id_machtype; /* Machine type */
16 u8 id_ethaddr[6]; /* Hardware ethernet address */
17 s32 id_date; /* Date of manufacture */
18 u32 id_sernum:24; /* Unique serial number */
19 u8 id_cksum; /* Checksum - xor of the data bytes */
20 u8 reserved[16];
23 extern struct idprom *idprom;
24 void idprom_init(void);
26 #endif /* !(_SPARC_IDPROM_H) */