xref: /netbsd-src/sys/arch/mvme68k/stand/libbug/getbrdid.c (revision a07f7c80690d0af05ca7630aebc638f51f3185e1)
1 /*	$NetBSD: getbrdid.c,v 1.3 2008/01/12 09:54:31 tsutsui Exp $	*/
2 
3 /*
4  * bug routines -- assumes that the necessary sections of memory
5  * are preserved.
6  */
7 #include <sys/types.h>
8 #include <machine/prom.h>
9 
10 #include "libbug.h"
11 
12 /* BUG - query board routines */
13 struct mvmeprom_brdid *
mvmeprom_getbrdid(void)14 mvmeprom_getbrdid(void)
15 {
16 	struct mvmeprom_brdid *id;
17 
18 	MVMEPROM_NOARG();
19 	MVMEPROM_CALL(MVMEPROM_GETBRDID);
20 	MVMEPROM_RETURN(id);
21 }
22