summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-26 19:24:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-26 19:24:04 +0000
commitb03fe615fd708a39a5cef60d1a03e0b0918544b7 (patch)
treeaf26d77d626f6019961818554d2f642504ecf34d /sys/arch/mvme88k
parente195ac1144d292de7e5fd53f9b1b905382505dfd (diff)
A few more BUG syscall definitions and structures. Fix (not used yet)
mvmeprom_netctrl definition while there.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/include/prom.h28
1 files changed, 23 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/include/prom.h b/sys/arch/mvme88k/include/prom.h
index d7aa62e8b64..8f8f7b3ab2f 100644
--- a/sys/arch/mvme88k/include/prom.h
+++ b/sys/arch/mvme88k/include/prom.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: prom.h,v 1.12 2003/10/11 22:08:57 miod Exp $ */
+/* $OpenBSD: prom.h,v 1.13 2004/01/26 19:24:03 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -38,14 +38,15 @@
#define MVMEPROM_INLN 0x02
#define MVMEPROM_READSTR 0x03
#define MVMEPROM_READLN 0x04
-#define MVMEPROM_OUTCHR 0x20
-#define MVMEPROM_OUTSTR 0x21
#define MVMEPROM_DSKRD 0x10
#define MVMEPROM_DSKWR 0x11
#define MVMEPROM_DSKCFIG 0x12
#define MVMEPROM_DSKFMT 0x14
#define MVMEPROM_DSKCTRL 0x15
+#define MVMEPROM_NETFOPEN 0x1b
+#define MVMEPROM_NETFREAD 0x1c
#define MVMEPROM_NETCTRL 0x1d
+#define MVMEPROM_OUTCHR 0x20
#define MVMEPROM_OUTSTR 0x21
#define MVMEPROM_OUTSTRCRLF 0x22
#define MVMEPROM_WRITE 0x23
@@ -70,9 +71,9 @@
#define ENVIRONTYPE_MEMSIZE 5
#ifndef LOCORE
-struct prom_netctrl {
- u_char dev;
+struct mvmeprom_netctrl {
u_char ctrl;
+ u_char dev;
u_short status;
u_long cmd;
u_long addr;
@@ -80,6 +81,23 @@ struct prom_netctrl {
u_long flags;
};
+struct mvmeprom_netfopen {
+ u_char ctrl;
+ u_char dev;
+ u_short status;
+ char filename[64];
+};
+
+struct mvmeprom_netfread {
+ u_char ctrl;
+ u_char dev;
+ u_short status;
+ u_long addr;
+ u_short bytes;
+ u_short blk;
+ u_long timeout;
+};
+
struct prom_environ_hdr {
u_char type;
u_char len;