diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-11-13 23:36:18 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-11-13 23:36:18 +0000 |
commit | 08913a6d8efe3d99e465b70abc7152a781dcf3b5 (patch) | |
tree | 15a55f900447a498eee51077adae0a02ac5b9353 /distrib/hppa | |
parent | dfd58183003ce0acd489c41d0f31b2dcfd09b7a2 (diff) |
Writing a 1 to the MEF bit of the ERRSTS0 register of the 82443LX host bridge
when it is already cleared will trigger an NMI if the corresponding bit ini
the ERRCMD register is enabled. So instead of unconditionally writing 1 into
some of the bits, simply read the register and write back the value that we
just read. This will clear any status bits that were set (since they are R/WC)
and leave all other bits alone.
Tested by Karlis Mikelsons.
Diffstat (limited to 'distrib/hppa')
0 files changed, 0 insertions, 0 deletions