summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-01-29 23:13:20 +0000
committerrwatson <rwatson@FreeBSD.org>2005-01-29 23:13:20 +0000
commit3548352d6e449f7fa63a0d1026e8ebf0a1b898ae (patch)
tree2f1e4b13defb1a55e16c7c3079200d948b2eb1b9 /sys/dev/fxp
parentf489acaf0f5bae70444702cdcc02ab81d3b6b51a (diff)
downloadFreeBSD-src-3548352d6e449f7fa63a0d1026e8ebf0a1b898ae.zip
FreeBSD-src-3548352d6e449f7fa63a0d1026e8ebf0a1b898ae.tar.gz
Disable ethernet flow control in if_fxp by default, in order to prevent
unexpected surprises when a system panics or is left in the debugger. Requested by: kris MFC after: 3 days
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 8e736ff..7ed9a71 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -480,7 +480,7 @@ fxp_attach(device_t dev)
*/
sc->tunable_int_delay = TUNABLE_INT_DELAY;
sc->tunable_bundle_max = TUNABLE_BUNDLE_MAX;
- sc->tunable_noflow = 0;
+ sc->tunable_noflow = 1;
(void) resource_int_value(device_get_name(dev), device_get_unit(dev),
"int_delay", &sc->tunable_int_delay);
(void) resource_int_value(device_get_name(dev), device_get_unit(dev),
OpenPOWER on IntegriCloud