diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-05-13 00:10:00 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-05-13 00:10:00 +0000 |
commit | 0a30dab16129be1b0576e0840d749613fa91e1db (patch) | |
tree | 725d61bf4df7b33cdb393825cb7d6e51c06de6d7 /sys | |
parent | 0232c40ca5774d591c3d5366438f7e921412c78a (diff) |
move IFQ_SET_MAXLEN to just above IFQ_SET_READY
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/fxp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index 83f7920ed3c..0bcfaf9bc74 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.69 2005/04/24 20:41:34 brad Exp $ */ +/* $OpenBSD: fxp.c,v 1.70 2005/05/13 00:09:59 brad Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -454,6 +454,7 @@ fxp_attach_common(sc, intrstr) ifp->if_ioctl = fxp_ioctl; ifp->if_start = fxp_start; ifp->if_watchdog = fxp_watchdog; + IFQ_SET_MAXLEN(&ifp->if_snd, FXP_NTXCB - 1); IFQ_SET_READY(&ifp->if_snd); /* @@ -526,11 +527,6 @@ fxp_attach_common(sc, intrstr) * Attach the interface. */ if_attach(ifp); - /* - * Let the system queue as many packets as we have available - * TX descriptors. - */ - IFQ_SET_MAXLEN(&ifp->if_snd, FXP_NTXCB - 1); ether_ifattach(ifp); /* |