Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/atari/dev Pull up revision 1.29 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/e6ecbfe07388
branches: netbsd-1-4
changeset: 469859:e6ecbfe07388
user: he <he%NetBSD.org@localhost>
date: Thu Dec 16 22:23:13 1999 +0000
description:
Pull up revision 1.29 (requested by leo):
Change the way that bits are cleared in the InterruptPending
register of the 68901, avoiding a read-modify-write cycle.
Solves a "hanging keyboard" problem.
diffstat:
sys/arch/atari/dev/fd.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 9ec1de846bd2 -r e6ecbfe07388 sys/arch/atari/dev/fd.c
--- a/sys/arch/atari/dev/fd.c Thu Dec 16 22:22:53 1999 +0000
+++ b/sys/arch/atari/dev/fd.c Thu Dec 16 22:23:13 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.28 1998/02/24 13:02:54 leo Exp $ */
+/* $NetBSD: fd.c,v 1.28.8.1 1999/12/16 22:23:13 he Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -297,9 +297,9 @@
/*
* enable disk related interrupts
*/
- MFP->mf_ierb |= IB_DINT;
- MFP->mf_iprb &= ~IB_DINT;
- MFP->mf_imrb |= IB_DINT;
+ MFP->mf_ierb |= IB_DINT;
+ MFP->mf_iprb = (u_int8_t)~IB_DINT;
+ MFP->mf_imrb |= IB_DINT;
}
}
Home |
Main Index |
Thread Index |
Old Index