diff options
author | jlemon <jlemon@FreeBSD.org> | 2001-10-25 19:36:44 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2001-10-25 19:36:44 +0000 |
commit | baeb0b6eb6a2b0a2af475b77541826d32192f270 (patch) | |
tree | 637c9d389ea8ceaab486eb212f59727f44ff2d74 /sys/dev/fxp | |
parent | 6eb4ba0b09b58e078bc1b4648c0d9e3b2c1771f2 (diff) | |
download | FreeBSD-src-baeb0b6eb6a2b0a2af475b77541826d32192f270.zip FreeBSD-src-baeb0b6eb6a2b0a2af475b77541826d32192f270.tar.gz |
Aargh. I really shouldn't do late night commits. Remove a floating point
multiply, and replace it with a close equivalent. 1.488 =~ 1.5
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 2d0837f..fe1c891 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -2117,7 +2117,7 @@ fxp_load_ucode(struct fxp_softc *sc) memcpy(cbp->ucode, uc->ucode, uc->length); if (uc->int_delay_offset) *(u_short *)&cbp->ucode[uc->int_delay_offset] = - sc->tunable_int_delay * 1.4881; + sc->tunable_int_delay + sc->tunable_int_delay / 2; if (uc->bundle_max_offset) *(u_short *)&cbp->ucode[uc->bundle_max_offset] = sc->tunable_bundle_max; |