diff options
| author | thorpej <thorpej@NetBSD.org> | 1999-12-03 07:29:57 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 1999-12-03 07:29:57 +0000 |
| commit | 0aa48d5c55053478749ebe658b6f541eb4a224b6 (patch) | |
| tree | fbd8fc4bddd076f621a0a92f51eafcf5763a8d60 /sys/dev/microcode | |
| parent | fafcf62fd682e6ae4433179f3b51a7729fc45707 (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
