]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When fiddling with options of which registers to copy out for
authormjacob <mjacob@FreeBSD.org>
Sat, 13 Jul 2013 21:24:25 +0000 (21:24 +0000)
committermjacob <mjacob@FreeBSD.org>
Sat, 13 Jul 2013 21:24:25 +0000 (21:24 +0000)
commit2bf9d2e61f167a0b4ed757d24e5cbf4be712bce4
treef97b066524ed568a6fc95766be53be42ddfd4b8b
parentb39f8344132db7671f6bb0129eca537f84d0cdcd
When fiddling with options of which registers to copy out for
a mailbox command and which registers to copy back in when
the command completes, the bits being set need to not only
specify what bits you want to add from the default from the
table but also what bits you want *subtract* (mask) from the
default from the table.

A failing ISP2200 command pointed this out.

Much appreciation to: marius, who persisted and narrowed down what
the failure delta was, and shamed me into actually fixing it.
MFC after: 1 week
sys/dev/isp/isp.c
sys/dev/isp/ispreg.h