Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/route6d Remove very old IFF_NOTRAILERS flag.



details:   https://anonhg.NetBSD.org/src/rev/a5d59eba045b
branches:  trunk
changeset: 996585:a5d59eba045b
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Feb 05 06:17:00 2019 +0000

description:
Remove very old IFF_NOTRAILERS flag.

diffstat:

 share/man/man4/man4.vax/ec.4             |  17 ++---------------
 share/man/man4/man4.vax/en.4             |  19 ++-----------------
 share/man/man4/man4.vax/ex.4             |  17 ++---------------
 share/man/man4/man4.vax/ix.4             |  17 ++---------------
 share/man/man4/man4.vax/vv.4             |  27 ++-------------------------
 sys/arch/acorn32/podulebus/if_ie.c       |   6 +++---
 sys/arch/amiga/dev/if_es.c               |   7 +++----
 sys/arch/amiga/dev/if_qn.c               |   6 +++---
 sys/arch/arm/at91/at91emac.c             |   8 ++++----
 sys/arch/arm/ep93xx/epe.c                |   6 +++---
 sys/arch/emips/ebus/if_le_ebus.c         |   7 +++----
 sys/arch/mac68k/dev/if_mc.c              |   7 +++----
 sys/arch/mac68k/nubus/if_netdock_nubus.c |   7 +++----
 sys/arch/macppc/dev/am79c950.c           |   7 +++----
 sys/arch/macppc/dev/if_bm.c              |   7 +++----
 sys/arch/macppc/dev/if_gm.c              |   7 +++----
 sys/arch/mips/sibyte/dev/sbmac.c         |   7 +++----
 sys/arch/newsmips/apbus/if_sn.c          |   7 +++----
 sys/arch/next68k/dev/mb8795.c            |   7 +++----
 sys/arch/playstation2/dev/if_smap.c      |   7 +++----
 sys/arch/sgimips/hpc/if_sq.c             |   6 +++---
 sys/arch/sun2/dev/if_ec.c                |   6 +++---
 sys/arch/sun3/dev/if_ie.c                |   7 +++----
 sys/arch/xen/xen/if_xennet_xenbus.c      |   6 +++---
 sys/arch/xen/xen/xennetback_xenbus.c     |   7 +++----
 sys/dev/cadence/if_cemac.c               |   6 +++---
 sys/dev/ic/an.c                          |   6 +++---
 sys/dev/ic/atw.c                         |   7 +++----
 sys/dev/ic/awi.c                         |  10 +++-------
 sys/dev/ic/cs89x0.c                      |   7 +++----
 sys/dev/ic/dm9000.c                      |   5 ++---
 sys/dev/ic/dp8390.c                      |   7 +++----
 sys/dev/ic/elink3.c                      |   7 +++----
 sys/dev/ic/elinkxl.c                     |   7 +++----
 sys/dev/ic/gem.c                         |   7 +++----
 sys/dev/ic/hme.c                         |   7 +++----
 sys/dev/ic/i82586.c                      |   7 +++----
 sys/dev/ic/lance.c                       |   7 +++----
 sys/dev/ic/lemac.c                       |  10 +++-------
 sys/dev/ic/mb86950.c                     |   6 +++---
 sys/dev/ic/mb86960.c                     |   7 +++----
 sys/dev/ic/pdq_ifsubr.c                  |   9 +++------
 sys/dev/ic/rrunner.c                     |   6 +++---
 sys/dev/ic/rtw.c                         |   7 +++----
 sys/dev/ic/seeq8005.c                    |   6 +++---
 sys/dev/ic/smc90cx6.c                    |   6 +++---
 sys/dev/ic/smc91cxx.c                    |   7 +++----
 sys/dev/ic/tropic.c                      |   6 +++---
 sys/dev/ic/wi.c                          |   7 +++----
 sys/dev/isa/if_eg.c                      |   6 +++---
 sys/dev/isa/if_el.c                      |   6 +++---
 sys/dev/isa/if_iy.c                      |   7 +++----
 sys/dev/ofw/ofnet.c                      |   6 +++---
 sys/dev/pci/if_cas.c                     |   7 +++----
 sys/dev/pci/if_de.c                      |   9 +++------
 sys/dev/pci/if_devar.h                   |   3 +--
 sys/dev/pci/if_jme.c                     |   6 +++---
 sys/dev/pci/if_tl.c                      |   6 +++---
 sys/dev/pci/if_vte.c                     |   6 +++---
 sys/dev/pcmcia/if_cnw.c                  |   7 +++----
 sys/dev/pcmcia/if_xi.c                   |   7 +++----
 sys/dev/sbus/be.c                        |   7 +++----
 sys/dev/sbus/qe.c                        |   7 +++----
 sys/dev/scsipi/if_se.c                   |   7 +++----
 sys/net/if.h                             |   4 ++--
 sys/net/if_fddisubr.c                    |   7 ++-----
 sys/net/if_tokensubr.c                   |   7 ++-----
 usr.sbin/route6d/route6d.c               |   7 ++-----
 68 files changed, 193 insertions(+), 328 deletions(-)

diffs (truncated from 1945 to 300 lines):

diff -r ba1b7befedf8 -r a5d59eba045b share/man/man4/man4.vax/ec.4
--- a/share/man/man4/man4.vax/ec.4      Tue Feb 05 06:14:55 2019 +0000
+++ b/share/man/man4/man4.vax/ec.4      Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ec.4,v 1.15 2017/08/01 11:11:17 wiz Exp $
+.\"    $NetBSD: ec.4,v 1.16 2019/02/05 06:17:00 msaitoh Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     from: @(#)ec.4 8.1 (Berkeley) 6/5/93
 .\"
-.Dd June 5, 1993
+.Dd February 5, 2019
 .Dt EC 4 vax
 .Os
 .Sh NAME
@@ -70,19 +70,6 @@
 to dynamically map between Internet and Ethernet addresses on the local
 network.
 .Pp
-The interface normally tries to use a
-.Dq trailer
-encapsulation
-to minimize copying data on input and output.
-The use of trailers is negotiated with
-.Tn ARP .
-This negotiation may be disabled, on a per-interface basis,
-by setting the
-.Dv IFF_NOTRAILERS
-flag with an
-.Dv SIOCSIFFLAGS
-.Xr ioctl 2 .
-.Pp
 The interface software implements an exponential backoff algorithm
 when notified of a collision on the cable.
 This algorithm uses a 16-bit mask and the
diff -r ba1b7befedf8 -r a5d59eba045b share/man/man4/man4.vax/en.4
--- a/share/man/man4/man4.vax/en.4      Tue Feb 05 06:14:55 2019 +0000
+++ b/share/man/man4/man4.vax/en.4      Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: en.4,v 1.14 2017/08/01 11:11:17 wiz Exp $
+.\"    $NetBSD: en.4,v 1.15 2019/02/05 06:17:00 msaitoh Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     from: @(#)en.4 8.1 (Berkeley) 6/5/93
 .\"
-.Dd June 5, 1993
+.Dd February 5, 2019
 .Dt EN 4 vax
 .Os
 .Sh NAME
@@ -85,21 +85,6 @@
 Use the value calculated in step 3 to delay before retransmitting
 the packet.
 .El
-The interface handles both Internet and
-.Tn NS
-protocol families.
-It normally tries to use a
-.Dq trailer
-encapsulation
-to minimize copying data on input and output.
-The use of trailers is negotiated with
-.Tn ARP .
-This negotiation may be disabled, on a per-interface basis,
-by setting the
-.Dv IFF_NOTRAILERS
-flag with an
-.Dv SIOCSIFFLAGS
-.Xr ioctl 2 .
 .Sh DIAGNOSTICS
 .Bl -diag
 .It en%d: output error.
diff -r ba1b7befedf8 -r a5d59eba045b share/man/man4/man4.vax/ex.4
--- a/share/man/man4/man4.vax/ex.4      Tue Feb 05 06:14:55 2019 +0000
+++ b/share/man/man4/man4.vax/ex.4      Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ex.4,v 1.13 2017/08/01 11:11:17 wiz Exp $
+.\"    $NetBSD: ex.4,v 1.14 2019/02/05 06:17:00 msaitoh Exp $
 .\"
 .\" Copyright (c) 1986, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     from: @(#)ex.4 8.1 (Berkeley) 6/5/93
 .\"
-.Dd June 5, 1993
+.Dd February 5, 2019
 .Dt EX 4 vax
 .Os
 .Sh NAME
@@ -57,19 +57,6 @@
 .Xr arp 4
 to dynamically map between Internet and Ethernet addresses on the local
 network.
-.Pp
-The interface normally tries to use a
-.Dq trailer
-encapsulation
-to minimize copying data on input and output.
-The use of trailers is negotiated with
-.Tn ARP .
-This negotiation may be disabled, on a per-interface basis,
-by setting the
-.Dv IFF_NOTRAILERS
-flag with an
-.Dv SIOCSIFFLAGS
-.Xr ioctl 2 .
 .Sh DIAGNOSTICS
 .Bl -diag
 .It "ex%d: HW %c.%c, NX %c.%c, hardware address %s."
diff -r ba1b7befedf8 -r a5d59eba045b share/man/man4/man4.vax/ix.4
--- a/share/man/man4/man4.vax/ix.4      Tue Feb 05 06:14:55 2019 +0000
+++ b/share/man/man4/man4.vax/ix.4      Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ix.4,v 1.20 2017/08/01 11:11:17 wiz Exp $
+.\"    $NetBSD: ix.4,v 1.21 2019/02/05 06:17:00 msaitoh Exp $
 .\"
 .\" Copyright (c) 1986, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     from: @(#)ix.4 8.1 (Berkeley) 6/5/93
 .\"
-.Dd February 17, 2017
+.Dd February 5, 2019
 .Dt IX 4 vax
 .Os
 .Sh NAME
@@ -70,19 +70,6 @@
 .Xr arp 4
 to dynamically map between Internet and Ethernet addresses on the local
 network.
-.Pp
-The interface normally tries to use a
-.Dq trailer
-encapsulation
-to minimize copying data on input and output.
-The use of trailers is negotiated with
-.Tn ARP .
-This negotiation may be disabled, on a per-interface basis,
-by setting the
-.Dv IFF_NOTRAILERS
-flag with an
-.Dv SIOCSIFFLAGS
-.Xr ioctl 2 .
 .Sh DIAGNOSTICS
 .Bl -diag
 .It "ix%d: Req failed, cmd %x, stat %x, ust error %x,%x."
diff -r ba1b7befedf8 -r a5d59eba045b share/man/man4/man4.vax/vv.4
--- a/share/man/man4/man4.vax/vv.4      Tue Feb 05 06:14:55 2019 +0000
+++ b/share/man/man4/man4.vax/vv.4      Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: vv.4,v 1.14 2017/08/01 11:11:17 wiz Exp $
+.\"    $NetBSD: vv.4,v 1.15 2019/02/05 06:17:00 msaitoh Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     from: @(#)vv.4 8.1 (Berkeley) 6/5/93
 .\"
-.Dd June 5, 1993
+.Dd February 5, 2019
 .Dt VV 4 vax
 .Os
 .Sh NAME
@@ -73,17 +73,6 @@
 the define
 .Dv OLD_BROADCAST
 should be specified in the driver.
-.Pp
-The driver can use
-.Dq trailer
-encapsulation to minimize copying
-data on input and output.
-This may be disabled, on a per-interface basis,
-by setting the
-.Dv IFF_NOTRAILERS
-flag with an
-.Dv SIOCSIFFLAGS
-.Xr ioctl 2 .
 .Sh DIAGNOSTICS
 .Bl -diag
 .It vv%d: host %d.
@@ -120,15 +109,3 @@
 .Nm
 driver appeared in
 .Bx 4.2 .
-.Sh BUGS
-The encapsulation of trailer packets in the
-.Bx 4.2
-version of this driver
-was incorrect (the packet type was in
-.Tn VAX
-byte order).
-As a result, the trailer encapsulation in this version is not compatible
-with the
-.Bx 4.2
-.Tn VAX
-version.
diff -r ba1b7befedf8 -r a5d59eba045b sys/arch/acorn32/podulebus/if_ie.c
--- a/sys/arch/acorn32/podulebus/if_ie.c        Tue Feb 05 06:14:55 2019 +0000
+++ b/sys/arch/acorn32/podulebus/if_ie.c        Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ie.c,v 1.42 2018/06/26 06:47:57 msaitoh Exp $ */
+/* $NetBSD: if_ie.c,v 1.43 2019/02/05 06:17:00 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.42 2018/06/26 06:47:57 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.43 2019/02/05 06:17:00 msaitoh Exp $");
 
 #define IGNORE_ETHER1_IDROM_CHECKSUM
 
@@ -447,7 +447,7 @@
        ifp->if_start = iestart;
        ifp->if_ioctl = ieioctl;
        ifp->if_watchdog = iewatchdog;
-       ifp->if_flags = IFF_BROADCAST | IFF_NOTRAILERS;
+       ifp->if_flags = IFF_BROADCAST;
        
        /* Signed, dated then sent */
         if_attach (ifp);
diff -r ba1b7befedf8 -r a5d59eba045b sys/arch/amiga/dev/if_es.c
--- a/sys/arch/amiga/dev/if_es.c        Tue Feb 05 06:14:55 2019 +0000
+++ b/sys/arch/amiga/dev/if_es.c        Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_es.c,v 1.60 2018/09/03 16:29:22 riastradh Exp $ */
+/*     $NetBSD: if_es.c,v 1.61 2019/02/05 06:17:00 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1995 Michael L. Hitch
@@ -33,7 +33,7 @@
 #include "opt_ns.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_es.c,v 1.60 2018/09/03 16:29:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_es.c,v 1.61 2019/02/05 06:17:00 msaitoh Exp $");
 
 
 #include <sys/param.h>
@@ -174,8 +174,7 @@
        ifp->if_ioctl = esioctl;
        ifp->if_start = esstart;
        ifp->if_watchdog = eswatchdog;
-       ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS |
-           IFF_MULTICAST;
+       ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 
        ifmedia_init(&sc->sc_media, 0, esmediachange, esmediastatus);
        ifmedia_add(&sc->sc_media, IFM_ETHER|IFM_MANUAL, 0, NULL);
diff -r ba1b7befedf8 -r a5d59eba045b sys/arch/amiga/dev/if_qn.c
--- a/sys/arch/amiga/dev/if_qn.c        Tue Feb 05 06:14:55 2019 +0000
+++ b/sys/arch/amiga/dev/if_qn.c        Tue Feb 05 06:17:00 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_qn.c,v 1.46 2018/06/26 06:47:57 msaitoh Exp $ */
+/*     $NetBSD: if_qn.c,v 1.47 2019/02/05 06:17:00 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1995 Mika Kortelainen
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.46 2018/06/26 06:47:57 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_qn.c,v 1.47 2019/02/05 06:17:00 msaitoh Exp $");
 
 #include "qn.h"
 #if NQN > 0
@@ -230,7 +230,7 @@
        ifp->if_watchdog = qnwatchdog;
        ifp->if_start = qnstart;
        /* XXX IFF_MULTICAST */
-       ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS;
+       ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
        ifp->if_mtu = ETHERMTU;
 
        /* Attach the interface. */
diff -r ba1b7befedf8 -r a5d59eba045b sys/arch/arm/at91/at91emac.c
--- a/sys/arch/arm/at91/at91emac.c      Tue Feb 05 06:14:55 2019 +0000
+++ b/sys/arch/arm/at91/at91emac.c      Tue Feb 05 06:17:00 2019 +0000
@@ -1,5 +1,5 @@
-/*     $Id: at91emac.c,v 1.23 2019/01/22 03:42:24 msaitoh Exp $        */
-/*     $NetBSD: at91emac.c,v 1.23 2019/01/22 03:42:24 msaitoh Exp $    */
+/*     $Id: at91emac.c,v 1.24 2019/02/05 06:17:00 msaitoh Exp $        */
+/*     $NetBSD: at91emac.c,v 1.24 2019/02/05 06:17:00 msaitoh Exp $    */
 
 /*
  * Copyright (c) 2007 Embedtronics Oy
@@ -33,7 +33,7 @@



Home | Main Index | Thread Index | Old Index