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.15 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/bd4d8f05e822
branches:  netbsd-1-4
changeset: 469856:bd4d8f05e822
user:      he <he%NetBSD.org@localhost>
date:      Thu Dec 16 22:22:05 1999 +0000

description:
Pull up revision 1.15 (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/hdfd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ab2f53bb5f39 -r bd4d8f05e822 sys/arch/atari/dev/hdfd.c
--- a/sys/arch/atari/dev/hdfd.c Thu Dec 16 22:07:54 1999 +0000
+++ b/sys/arch/atari/dev/hdfd.c Thu Dec 16 22:22:05 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hdfd.c,v 1.13.4.1 1999/12/04 19:53:12 he Exp $ */
+/*     $NetBSD: hdfd.c,v 1.13.4.2 1999/12/16 22:22:05 he Exp $ */
 
 /*-
  * Copyright (c) 1996 Leo Weppelman
@@ -389,7 +389,7 @@
        /*
         * Setup the interrupt logic.
         */
-       MFP2->mf_iprb &= ~IB_DCHG;
+       MFP2->mf_iprb  = (u_int8_t)~IB_DCHG;
        MFP2->mf_imrb |= IB_DCHG;
        MFP2->mf_aer  |= 0x10; /* fdc int low->high */
 



Home | Main Index | Thread Index | Old Index