summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
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/arch/sparc/dev
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/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/be.c4
-rw-r--r--sys/arch/sparc/dev/hme.c4
-rw-r--r--sys/arch/sparc/dev/if_ie.c4
-rw-r--r--sys/arch/sparc/dev/qe.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c
index 8f2f832af83..5390da48b1e 100644
--- a/sys/arch/sparc/dev/be.c
+++ b/sys/arch/sparc/dev/be.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: be.c,v 1.58 2015/11/25 11:20:38 mpi Exp $ */
+/* $OpenBSD: be.c,v 1.59 2015/12/08 13:34:22 tedu Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt and Jason L. Wright.
@@ -209,7 +209,7 @@ beattach(parent, self, aux)
ifp->if_start = bestart;
ifp->if_ioctl = beioctl;
ifp->if_watchdog = bewatchdog;
- ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS |
+ ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX |
IFF_MULTICAST;
IFQ_SET_MAXLEN(&ifp->if_snd, BE_TX_RING_SIZE);
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c
index 463bb808ddf..3400d3ca057 100644
--- a/sys/arch/sparc/dev/hme.c
+++ b/sys/arch/sparc/dev/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.77 2015/11/25 11:20:38 mpi Exp $ */
+/* $OpenBSD: hme.c,v 1.78 2015/12/08 13:34:22 tedu Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -235,7 +235,7 @@ hmeattach(parent, self, aux)
ifp->if_ioctl = hmeioctl;
ifp->if_watchdog = hmewatchdog;
ifp->if_flags =
- IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
+ IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_capabilities = IFCAP_VLAN_MTU;
IFQ_SET_MAXLEN(&ifp->if_snd, HME_TX_RING_SIZE);
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/arch/sparc/dev/if_ie.c b/sys/arch/sparc/dev/if_ie.c
index fd7f914428d..406b1b696d6 100644
--- a/sys/arch/sparc/dev/if_ie.c
+++ b/sys/arch/sparc/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.60 2015/11/25 11:20:38 mpi Exp $ */
+/* $OpenBSD: if_ie.c,v 1.61 2015/12/08 13:34:22 tedu Exp $ */
/* $NetBSD: if_ie.c,v 1.33 1997/07/29 17:55:38 fair Exp $ */
/*-
@@ -639,7 +639,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;
/* Attach the interface. */
if_attach(ifp);
diff --git a/sys/arch/sparc/dev/qe.c b/sys/arch/sparc/dev/qe.c
index 291aad8e10a..664cc2687a1 100644
--- a/sys/arch/sparc/dev/qe.c
+++ b/sys/arch/sparc/dev/qe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qe.c,v 1.48 2015/11/25 11:20:38 mpi Exp $ */
+/* $OpenBSD: qe.c,v 1.49 2015/12/08 13:34:22 tedu Exp $ */
/*
* Copyright (c) 1998, 2000 Jason L. Wright.
@@ -149,7 +149,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;
ifmedia_init(&sc->sc_ifmedia, IFM_IMASK,