Home | History | Annotate | Download | only in libsa

Lines Matching refs:idprom

1 /*	$NetBSD: idprom.c,v 1.8 2020/06/20 18:44:17 riastradh Exp $	*/
37 #include <machine/idprom.h>
44 * This driver provides a soft copy of the IDPROM.
50 struct idprom identity_prom = { 0 };
78 /* Fetch a copy of the idprom. */
86 /* Copy the IDPROM contents and do the checksum. */
95 panic("idprom: bad version");
107 /* Copy the IDPROM contents and do the checksum. */
110 printf("idprom: bad checksum\n");
121 /* Copy the IDPROM contents and do the checksum. */
124 printf("idprom: bad checksum\n");
129 * Rather than do all the map-in/probe work to find the idprom,
131 * the IDPROM in its data page. All we have to do is find it.
143 printf("idprom: Sun3X search for soft copy...\n");
163 panic("idprom: not found in monitor data");
166 printf("idprom: copy found at 0x%x\n", (int)p);
167 memcpy(&identity_prom, p, sizeof(struct idprom));