summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1998-02-22 20:34:03 +0000
committerniklas <niklas@openbsd.org>1998-02-22 20:34:03 +0000
commit3db8c465dc81f0d792edb0f71b7cbfc40b21bb87 (patch)
tree75d0dff29c3aab69daf93a7d4347a9c74ecb60fa
parentsome ansi (diff)
downloadwireguard-openbsd-3db8c465dc81f0d792edb0f71b7cbfc40b21bb87.tar.xz
wireguard-openbsd-3db8c465dc81f0d792edb0f71b7cbfc40b21bb87.zip
provide a global to hold the current speed of the internal
serial port for use by SCSI drivers to limit their DMA length when the port is in high speed. This can limit loss of input. From NetBSD (mhitch)
-rw-r--r--sys/arch/amiga/amiga/machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c
index 7087bc5266d..0989e1edb22 100644
--- a/sys/arch/amiga/amiga/machdep.c
+++ b/sys/arch/amiga/amiga/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.27 1997/10/07 10:57:14 niklas Exp $ */
+/* $OpenBSD: machdep.c,v 1.28 1998/02/22 20:34:03 niklas Exp $ */
/* $NetBSD: machdep.c,v 1.95 1997/08/27 18:31:17 is Exp $ */
/*
@@ -287,6 +287,12 @@ redo_ipl:
#endif
/*
+ * current open serial device speed; used by some SCSI drivers to reduce
+ * DMA transfer lengths.
+ */
+int ser_open_speed;
+
+/*
* Console initialization: called early on from main,
* before vm init or startup. Do enough configuration
* to choose and initialize a console.