diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-12-08 13:34:23 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-12-08 13:34:23 +0000 |
commit | 6d2ca37b400006a980e7149d8617abe3af34a0c2 (patch) | |
tree | 4b1106d6b8c0a9b78c62b2198902e4e15c1c1c1d /sys/dev | |
parent | bdcbac7240964dfba99d1f26fd71ed841f237e63 (diff) |
No trailers has been the default and only option for 20 years, yet some
drivers still set IFF_NOTRAILERS while others do not. Remove all usage of
the flag from the drivers which in ancient times used it (and the modern
drivers which blindly copied it from those drivers of yore).
suggested by guenther. ok mpi
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/ath.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/atw.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/dp8390.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/elink3.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/gem.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/hme.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/i82596.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/lance.c | 4 | ||||
-rw-r--r-- | sys/dev/ic/lemac.c | 8 | ||||
-rw-r--r-- | sys/dev/ic/rtw.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/smc91cxx.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/if_ef_isapnp.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/if_eg.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/if_el.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/if_ie.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_cas.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_de.c | 4 | ||||
-rw-r--r-- | sys/dev/pcmcia/if_cnw.c | 4 | ||||
-rw-r--r-- | sys/dev/pcmcia/if_xe.c | 4 | ||||
-rw-r--r-- | sys/dev/sbus/be.c | 4 | ||||
-rw-r--r-- | sys/dev/sbus/qe.c | 4 |
21 files changed, 42 insertions, 49 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index f207ee09ac7..e1a9dfa93db 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.108 2015/11/25 03:09:58 dlg Exp $ */ +/* $OpenBSD: ath.c,v 1.109 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -350,8 +350,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) } ifp->if_softc = sc; - ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST - | IFF_NOTRAILERS; + ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST; ifp->if_start = ath_start; ifp->if_watchdog = ath_watchdog; ifp->if_ioctl = ath_ioctl; diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c index c1003a4a327..0c14ff8d805 100644 --- a/sys/dev/ic/atw.c +++ b/sys/dev/ic/atw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atw.c,v 1.91 2015/11/25 03:09:58 dlg Exp $ */ +/* $OpenBSD: atw.c,v 1.92 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */ /*- @@ -786,8 +786,7 @@ atw_attach(struct atw_softc *sc) memcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ); ifp->if_softc = sc; - ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST | - IFF_NOTRAILERS; + ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST; ifp->if_ioctl = atw_ioctl; ifp->if_start = atw_start; ifp->if_watchdog = atw_watchdog; diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c index 32b6b1b104a..0d44b6da31d 100644 --- a/sys/dev/ic/dp8390.c +++ b/sys/dev/ic/dp8390.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dp8390.c,v 1.58 2015/11/25 03:09:58 dlg Exp $ */ +/* $OpenBSD: dp8390.c,v 1.59 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */ /* @@ -115,7 +115,7 @@ dp8390_config(struct dp8390_softc *sc) if (!ifp->if_watchdog) ifp->if_watchdog = dp8390_watchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); ifp->if_capabilities = IFCAP_VLAN_MTU; diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index 3bcc6010ae9..ee33a4daf8f 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3.c,v 1.92 2015/11/25 11:20:38 mpi Exp $ */ +/* $OpenBSD: elink3.c,v 1.93 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */ /* @@ -332,7 +332,7 @@ epconfig(struct ep_softc *sc, u_short chipset, u_int8_t *enaddr) ifp->if_ioctl = epioctl; ifp->if_watchdog = epwatchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; /* 64 packets are around 100ms on 10Mbps */ IFQ_SET_MAXLEN(&ifp->if_snd, 64); IFQ_SET_READY(&ifp->if_snd); diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c index a09a83e174b..a1277d164a6 100644 --- a/sys/dev/ic/gem.c +++ b/sys/dev/ic/gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gem.c,v 1.118 2015/11/28 09:42:10 jmatthew Exp $ */ +/* $OpenBSD: gem.c,v 1.119 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -218,7 +218,7 @@ gem_config(struct gem_softc *sc) strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, sizeof ifp->if_xname); ifp->if_softc = sc; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_start = gem_start; ifp->if_ioctl = gem_ioctl; ifp->if_watchdog = gem_watchdog; diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c index ffa9ff2ba8b..caff8aad9e0 100644 --- a/sys/dev/ic/hme.c +++ b/sys/dev/ic/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.78 2015/11/25 03:09:58 dlg Exp $ */ +/* $OpenBSD: hme.c,v 1.79 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */ /*- @@ -215,7 +215,7 @@ hme_config(struct hme_softc *sc) ifp->if_ioctl = hme_ioctl; ifp->if_watchdog = hme_watchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); ifp->if_capabilities = IFCAP_VLAN_MTU; diff --git a/sys/dev/ic/i82596.c b/sys/dev/ic/i82596.c index 82202463b3a..f5b19aa407e 100644 --- a/sys/dev/ic/i82596.c +++ b/sys/dev/ic/i82596.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82596.c,v 1.49 2015/11/25 11:12:53 mpi Exp $ */ +/* $OpenBSD: i82596.c,v 1.50 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: i82586.c,v 1.18 1998/08/15 04:42:42 mycroft Exp $ */ /*- @@ -290,7 +290,7 @@ i82596_attach(struct ie_softc *sc, const char *name, u_int8_t *etheraddr, #ifdef I82596_DEBUG IFF_DEBUG | #endif - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); /* Initialize media goo. */ diff --git a/sys/dev/ic/lance.c b/sys/dev/ic/lance.c index d8d0203d6e5..62fd3a21db9 100644 --- a/sys/dev/ic/lance.c +++ b/sys/dev/ic/lance.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lance.c,v 1.10 2015/11/25 03:09:58 dlg Exp $ */ +/* $OpenBSD: lance.c,v 1.11 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: lance.c,v 1.46 2012/02/02 19:43:03 tls Exp $ */ /*- @@ -175,7 +175,7 @@ lance_config(struct lance_softc *sc) ifp->if_ioctl = lance_ioctl; ifp->if_watchdog = lance_watchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; #ifdef LANCE_REVC_BUG ifp->if_flags &= ~IFF_MULTICAST; #endif diff --git a/sys/dev/ic/lemac.c b/sys/dev/ic/lemac.c index 7c7756cfaa8..461d42a1a1b 100644 --- a/sys/dev/ic/lemac.c +++ b/sys/dev/ic/lemac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lemac.c,v 1.27 2015/11/25 11:20:38 mpi Exp $ */ +/* $OpenBSD: lemac.c,v 1.28 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: lemac.c,v 1.20 2001/06/13 10:46:02 wiz Exp $ */ /*- @@ -989,11 +989,7 @@ lemac_ifattach(struct lemac_softc *sc) ifp->if_start = lemac_ifstart; ifp->if_ioctl = lemac_ifioctl; - ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX -#ifdef IFF_NOTRAILERS - | IFF_NOTRAILERS -#endif - | IFF_MULTICAST; + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; if (sc->sc_flags & LEMAC_ALIVE) { uint64_t media; diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c index 8ceda1ec8ca..62639a9bd2e 100644 --- a/sys/dev/ic/rtw.c +++ b/sys/dev/ic/rtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtw.c,v 1.94 2015/11/25 03:09:58 dlg Exp $ */ +/* $OpenBSD: rtw.c,v 1.95 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */ /*- @@ -3996,8 +3996,7 @@ rtw_attach(struct rtw_softc *sc) ifp = &sc->sc_if; (void)memcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ); ifp->if_softc = sc; - ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST | - IFF_NOTRAILERS; + ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST; ifp->if_ioctl = rtw_ioctl; ifp->if_start = rtw_start; ifp->if_watchdog = rtw_watchdog; diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c index c4f404f9255..d2972b3d5d8 100644 --- a/sys/dev/ic/smc91cxx.c +++ b/sys/dev/ic/smc91cxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc91cxx.c,v 1.44 2015/11/25 03:09:58 dlg Exp $ */ +/* $OpenBSD: smc91cxx.c,v 1.45 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */ /*- @@ -249,7 +249,7 @@ smc91cxx_attach(sc, myea) ifp->if_ioctl = smc91cxx_ioctl; ifp->if_watchdog = smc91cxx_watchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); /* Attach the interface. */ diff --git a/sys/dev/isa/if_ef_isapnp.c b/sys/dev/isa/if_ef_isapnp.c index 1e8045ec6da..a6fe54f70d6 100644 --- a/sys/dev/isa/if_ef_isapnp.c +++ b/sys/dev/isa/if_ef_isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ef_isapnp.c,v 1.36 2015/11/25 11:20:38 mpi Exp $ */ +/* $OpenBSD: if_ef_isapnp.c,v 1.37 2015/12/08 13:34:22 tedu Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -199,7 +199,7 @@ ef_isapnp_attach(parent, self, aux) ifp->if_ioctl = efioctl; ifp->if_watchdog = efwatchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); sc->sc_mii.mii_ifp = ifp; diff --git a/sys/dev/isa/if_eg.c b/sys/dev/isa/if_eg.c index 874d93184c3..11b82d754e4 100644 --- a/sys/dev/isa/if_eg.c +++ b/sys/dev/isa/if_eg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eg.c,v 1.44 2015/11/25 11:20:38 mpi Exp $ */ +/* $OpenBSD: if_eg.c,v 1.45 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: if_eg.c,v 1.26 1996/05/12 23:52:27 mycroft Exp $ */ /* @@ -419,7 +419,7 @@ egattach(struct device *parent, struct device *self, void *aux) ifp->if_start = egstart; ifp->if_ioctl = egioctl; ifp->if_watchdog = egwatchdog; - ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS; + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX; IFQ_SET_READY(&ifp->if_snd); /* Now we can attach the interface. */ diff --git a/sys/dev/isa/if_el.c b/sys/dev/isa/if_el.c index c2128770433..74381f3de00 100644 --- a/sys/dev/isa/if_el.c +++ b/sys/dev/isa/if_el.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_el.c,v 1.31 2015/11/25 03:09:59 dlg Exp $ */ +/* $OpenBSD: if_el.c,v 1.32 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: if_el.c,v 1.39 1996/05/12 23:52:32 mycroft Exp $ */ /* @@ -178,7 +178,7 @@ elattach(parent, self, aux) ifp->if_start = elstart; ifp->if_ioctl = elioctl; ifp->if_watchdog = elwatchdog; - ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS; + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX; IFQ_SET_READY(&ifp->if_snd); /* Now we can attach the interface. */ diff --git a/sys/dev/isa/if_ie.c b/sys/dev/isa/if_ie.c index 9a99ee0ee93..79a0e731040 100644 --- a/sys/dev/isa/if_ie.c +++ b/sys/dev/isa/if_ie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ie.c,v 1.48 2015/11/25 11:20:38 mpi Exp $ */ +/* $OpenBSD: if_ie.c,v 1.49 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: if_ie.c,v 1.51 1996/05/12 23:52:48 mycroft Exp $ */ /*- @@ -774,7 +774,7 @@ ieattach(parent, self, aux) ifp->if_ioctl = ieioctl; ifp->if_watchdog = iewatchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); /* Attach the interface. */ diff --git a/sys/dev/pci/if_cas.c b/sys/dev/pci/if_cas.c index 2f773dca723..5606a9aa7ff 100644 --- a/sys/dev/pci/if_cas.c +++ b/sys/dev/pci/if_cas.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cas.c,v 1.48 2015/12/06 11:32:54 jsg Exp $ */ +/* $OpenBSD: if_cas.c,v 1.49 2015/12/08 13:34:22 tedu Exp $ */ /* * @@ -489,7 +489,7 @@ cas_config(struct cas_softc *sc) strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, sizeof ifp->if_xname); ifp->if_softc = sc; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_start = cas_start; ifp->if_ioctl = cas_ioctl; ifp->if_watchdog = cas_watchdog; diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c index e4ef7d4059d..75fdc8ca06d 100644 --- a/sys/dev/pci/if_de.c +++ b/sys/dev/pci/if_de.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_de.c,v 1.133 2015/12/08 06:12:56 dlg Exp $ */ +/* $OpenBSD: if_de.c,v 1.134 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */ /*- @@ -4571,7 +4571,7 @@ tulip_attach(struct device * const parent, struct device * const self, void * co intrstr, ether_sprintf(sc->tulip_enaddr)); } - ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST; + ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_MULTICAST; ifp->if_ioctl = tulip_ifioctl; ifp->if_start = tulip_ifstart; ifp->if_watchdog = tulip_ifwatchdog; diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c index 1e8cdd8984d..1ce6b3295c4 100644 --- a/sys/dev/pcmcia/if_cnw.c +++ b/sys/dev/pcmcia/if_cnw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cnw.c,v 1.34 2015/11/24 17:11:40 mpi Exp $ */ +/* $OpenBSD: if_cnw.c,v 1.35 2015/12/08 13:34:22 tedu Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -418,7 +418,7 @@ cnw_attach(parent, self, aux) ifp->if_start = cnw_start; ifp->if_ioctl = cnw_ioctl; ifp->if_watchdog = cnw_watchdog; - ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS; + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX; IFQ_SET_READY(&ifp->if_snd); /* Attach the interface */ diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c index 76e62545a2f..c0dbbe7e89a 100644 --- a/sys/dev/pcmcia/if_xe.c +++ b/sys/dev/pcmcia/if_xe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xe.c,v 1.56 2015/11/25 03:09:59 dlg Exp $ */ +/* $OpenBSD: if_xe.c,v 1.57 2015/12/08 13:34:22 tedu Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas @@ -358,7 +358,7 @@ xe_pcmcia_attach(parent, self, aux) bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ); ifp->if_softc = sc; ifp->if_flags = - IFF_BROADCAST | IFF_NOTRAILERS | IFF_SIMPLEX | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = xe_ioctl; ifp->if_start = xe_start; ifp->if_watchdog = xe_watchdog; diff --git a/sys/dev/sbus/be.c b/sys/dev/sbus/be.c index 690a91213ac..d123f48efad 100644 --- a/sys/dev/sbus/be.c +++ b/sys/dev/sbus/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.39 2015/11/25 11:20:38 mpi Exp $ */ +/* $OpenBSD: be.c,v 1.40 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: be.c,v 1.26 2001/03/20 15:39:20 pk Exp $ */ /*- @@ -430,7 +430,7 @@ beattach(struct device *parent, struct device *self, void *aux) ifp->if_ioctl = beioctl; ifp->if_watchdog = bewatchdog; ifp->if_flags = - IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; + IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); /* Attach the interface. */ diff --git a/sys/dev/sbus/qe.c b/sys/dev/sbus/qe.c index 8dfa0988f21..c74c3066fbd 100644 --- a/sys/dev/sbus/qe.c +++ b/sys/dev/sbus/qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qe.c,v 1.37 2015/11/25 11:20:38 mpi Exp $ */ +/* $OpenBSD: qe.c,v 1.38 2015/12/08 13:34:22 tedu Exp $ */ /* $NetBSD: qe.c,v 1.16 2001/03/30 17:30:18 christos Exp $ */ /*- @@ -293,7 +293,7 @@ qeattach(parent, self, aux) ifp->if_start = qestart; ifp->if_ioctl = qeioctl; ifp->if_watchdog = qewatchdog; - ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | + ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; IFQ_SET_READY(&ifp->if_snd); |