/* * idprom.h: Macros and defines for idprom routines * * Copyright (C) 1995,1996 David S. Miller (davem@caip.rutgers.edu) */#include <linux/types.h>structidprom{u8id_format;/* Format identifier (always 0x01) */u8id_machtype;/* Machine type */u8id_ethaddr[6];/* Hardware ethernet address */s32id_date;/* Date of manufacture */u32id_sernum:24;/* Unique serial number */u8id_cksum;/* Checksum - xor of the data bytes */u8reserved[16];};externstructidprom*idprom;externvoididprom_init(void);