Index: if_fxp.c =================================================================== RCS file: /data/ncvs/src/sys/dev/fxp/if_fxp.c,v retrieving revision 1.151 diff -u -r1.151 if_fxp.c --- if_fxp.c 8 Mar 2003 21:44:21 -0000 1.151 +++ if_fxp.c 10 Apr 2003 18:42:18 -0000 @@ -258,6 +258,10 @@ static int fxp_rnr; SYSCTL_INT(_hw, OID_AUTO, fxp_rnr, CTLFLAG_RW, &fxp_rnr, 0, "fxp rnr events"); +static int fxp_noflow; +SYSCTL_INT(_hw, OID_AUTO, fxp_noflow, CTLFLAG_RW, &fxp_noflow, 0, "fxp flow control disabled"); +TUNABLE_INT("hw.fxp_noflow", &fxp_noflow); + /* * Inline function to copy a 16-bit aligned 32-bit quantity. */ @@ -1831,7 +1835,7 @@ cbp->mc_all = sc->flags & FXP_FLAG_ALL_MCAST ? 1 : 0; cbp->gamla_rx = sc->flags & FXP_FLAG_EXT_RFA ? 1 : 0; - if (sc->revision == FXP_REV_82557) { + if (fxp_noflow || sc->revision == FXP_REV_82557) { /* * The 82557 has no hardware flow control, the values * below are the defaults for the chip.