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/pcmcia | |
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/pcmcia')
-rw-r--r-- | sys/dev/pcmcia/if_cnw.c | 4 | ||||
-rw-r--r-- | sys/dev/pcmcia/if_xe.c | 4 |
2 files changed, 4 insertions, 4 deletions
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; |