diff options
Diffstat (limited to 'sys/arch/mvme88k/dev/bugio.c')
-rw-r--r-- | sys/arch/mvme88k/dev/bugio.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/dev/bugio.c b/sys/arch/mvme88k/dev/bugio.c index a8ae21fcf9f..6aa80ba0dc3 100644 --- a/sys/arch/mvme88k/dev/bugio.c +++ b/sys/arch/mvme88k/dev/bugio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bugio.c,v 1.10 2003/09/01 19:14:01 miod Exp $ */ +/* $OpenBSD: bugio.c,v 1.11 2004/01/04 01:14:04 miod Exp $ */ /* Copyright (c) 1998 Steve Murphree, Jr. */ #include <sys/param.h> @@ -173,3 +173,12 @@ bugbrdid(struct mvmeprom_brdid *id) bcopy(ptr, id, sizeof(struct mvmeprom_brdid)); } + +void +bugdiskrd(struct mvmeprom_dskio *dio) +{ + BUGCTXT(); + __asm__ __volatile__ ("or r2, r0, %0" : : "r" (dio)); + MVMEPROM_CALL(MVMEPROM_DSKRD); + OSCTXT(); +} |