summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2002-05-14 21:28:45 +0000
committerjoerg <joerg@FreeBSD.org>2002-05-14 21:28:45 +0000
commiteb68e3aae2dbda29ad3463cd0ad85dcb6ce4158a (patch)
tree51f028686ba3c93a5d8e5e52d9d0b0cca45efcb8 /usr.sbin/pkg_install
parent23566a2f802e0c60a2e0b37e17366f15377c6378 (diff)
downloadFreeBSD-src-eb68e3aae2dbda29ad3463cd0ad85dcb6ce4158a.zip
FreeBSD-src-eb68e3aae2dbda29ad3463cd0ad85dcb6ce4158a.tar.gz
After some comments from bde, rewrite the loops to avoid turning the
previously used "micro-optimization" (count-down loop) into a pessimization. Now the loops are written in the more natural count-up form. Also, while being there, i made the logic in out_fdc() similar to the logic in in_fdc(). The old implementation was a bit bogus anyway since it first tested the DIO bit and only afterwards the RQM bit. However, according to the description of the i82077, the DIO bit is only guaranteed to be valid once the RQM bit is set. Thus, the old implementatoin would have had the chance to misbehave on a controller that is implemented in accordance with the i82077 description (but is not bug-for-bug compatible). MFC after: 3 days
Diffstat (limited to 'usr.sbin/pkg_install')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud