summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-12-08 13:34:23 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-12-08 13:34:23 +0000
commit6d2ca37b400006a980e7149d8617abe3af34a0c2 (patch)
tree4b1106d6b8c0a9b78c62b2198902e4e15c1c1c1d /sys/dev/sbus
parentbdcbac7240964dfba99d1f26fd71ed841f237e63 (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/sbus')
-rw-r--r--sys/dev/sbus/be.c4
-rw-r--r--sys/dev/sbus/qe.c4
2 files changed, 4 insertions, 4 deletions
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);