summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 20:34:04 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 20:34:04 +0000
commit5663e97b839894d378046dc157d06ade14923614 (patch)
tree400ae406212a81f0937c3f5a514aa344aa77da12 /sys/arch
parent917a1dcdfbfc25be146d6b9bfb0b98ec6644609f (diff)
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)
Diffstat (limited to 'sys/arch')
-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.