aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-02-04 11:44:15 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-02-04 11:44:15 +0000
commit001696da5b8435cb5516a7a86396d022c164ab0b (patch)
tree354902f05bec5f555ef6176623787bdb8d0a1b9d /sys/dev/fxp
parent33d14d8671c3ba0a73c924edc0b33c2541506160 (diff)
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 257c3ef2fbc4..8c16d6c58685 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -852,15 +852,15 @@ fxp_init(xsc)
cbp->cb_command = FXP_CB_COMMAND_CONFIG | FXP_CB_COMMAND_EL;
cbp->link_addr = -1; /* (no) next command */
cbp->byte_count = 22; /* (22) bytes to config */
- cbp->rx_fifo_limit = 8; /* rx fifo threshold */
- cbp->tx_fifo_limit = 0; /* tx fifo threshold */
+ 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 */
- cbp->rx_dma_bytecount = 16; /* (no) rx DMA max */
- cbp->tx_dma_bytecount = 16; /* (no) tx DMA max */
- cbp->dma_bce = 1; /* (enable) dma max counters */
+ cbp->rx_dma_bytecount = 0; /* (no) rx DMA max */
+ cbp->tx_dma_bytecount = 0; /* (no) tx DMA max */
+ cbp->dma_bce = 0; /* (disable) dma max counters */
cbp->late_scb = 0; /* (don't) defer SCB update */
cbp->tno_int = 0; /* (disable) tx not okay interrupt */
- cbp->ci_int = 0; /* (do) interrupt on CU not active */
+ cbp->ci_int = 0; /* interrupt on CU not active */
cbp->save_bf = prm; /* save bad frames */
cbp->disc_short_rx = !prm; /* discard short packets */
cbp->underrun_retry = 1; /* retry mode (1) on DMA underrun */
@@ -873,7 +873,7 @@ fxp_init(xsc)
cbp->interfrm_spacing = 6; /* (96 bits of) interframe spacing */
cbp->promiscuous = prm; /* promiscuous mode */
cbp->bcast_disable = 0; /* (don't) disable broadcasts */
- cbp->crscdt = 1; /* (CRS only) */
+ cbp->crscdt = 0; /* (CRS only) */
cbp->stripping = !prm; /* truncate rx packet to byte count */
cbp->padding = 1; /* (do) pad short tx packets */
cbp->rcv_crc_xfer = 0; /* (don't) xfer CRC to host */