Writing to the DTR register on KA60 resets the TCR register behind our back.
authormiod <miod@openbsd.org>
Sun, 24 Aug 2008 14:51:22 +0000 (14:51 +0000)
committermiod <miod@openbsd.org>
Sun, 24 Aug 2008 14:51:22 +0000 (14:51 +0000)
commit2c6cde36080b06a7e3f6484d1771f0fa7f348ccb
treeac7dae5819825c8b9a9a5e4c3d988402325719f6
parent3142205501d197bf68a979b0957d35f5242f402e
Writing to the DTR register on KA60 resets the TCR register behind our back.
Preserve it explicitely in dzmctl() and restore it after the DTR update.
(This problem was a real PITA to track down)
sys/arch/vax/qbus/dz.c