summaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2003-04-07 14:53:30 +0000
committerMaxime Henrion <mux@FreeBSD.org>2003-04-07 14:53:30 +0000
commit2c6c0947144175a777f310284d9e02188eb16d40 (patch)
treefcfbfd9f918e8edc9417ee0942717373ecef7eb0 /sys/dev/fxp
parent46ea68dd108014e4cbf9ee4157b22c7a52bb4836 (diff)
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 7ca98a7d001e..b4d07b69386e 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -1928,7 +1928,7 @@ fxp_init(void *xsc)
cbp->cb_command = htole16(FXP_CB_COMMAND_CONFIG |
FXP_CB_COMMAND_EL);
cbp->link_addr = 0xffffffff; /* (no) next command */
- cbp->byte_count = htole16(sc->flags & FXP_FLAG_EXT_RFA ? 32 : 22);
+ cbp->byte_count = sc->flags & FXP_FLAG_EXT_RFA ? 32 : 22;
cbp->rx_fifo_limit = 8; /* rx fifo threshold (32 bytes) */
cbp->tx_fifo_limit = 0; /* tx fifo threshold (0 bytes) */
cbp->adaptive_ifs = 0; /* (no) adaptive interframe spacing */