summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1999-12-03 07:29:57 +0000
committerthorpej <thorpej@NetBSD.org>1999-12-03 07:29:57 +0000
commit0aa48d5c55053478749ebe658b6f541eb4a224b6 (patch)
treefbd8fc4bddd076f621a0a92f51eafcf5763a8d60 /sys/dev/microcode
parentfafcf62fd682e6ae4433179f3b51a7729fc45707 (diff)
New delay(), more carefully coded:
- Use explicit assembly; don't want the compiler optimizing things too much here. - Subtract 2 for each iteration of the loop, rather than 3. The loop consists of only 2 instructions (even the C version compiled to a loop of 2 instructions). The latter change has squashed a fairly annoying timing bug in the mii_bitbang module as used by the `ex' driver on my AlphaStation 500. XXX delay() should maybe be rewritten again, to use the rpcc instruction.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions