Home | History | Annotate | Line # | Download | only in libbug
diskrd.c revision 1.2
      1 /*	$NetBSD: diskrd.c,v 1.2 1996/05/17 19:50:35 chuck 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 /* returns 0: success, nonzero: error */
     13 int
     14 mvmeprom_diskrd(arg)
     15 	struct mvmeprom_dskio *arg;
     16 {
     17 	int ret;
     18 
     19 	MVMEPROM_ARG1(arg);
     20 	MVMEPROM_CALL(MVMEPROM_DSKRD);
     21 	MVMEPROM_STATRET(ret);
     22 }
     23