Remove very old IFF_NOTRAILERS flag.
This commit is contained in:
parent
acfd4d5491
commit
091e15265d
|
@ -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 @@ interface employs the address resolution protocol described in
|
|||
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
|
||||
|
|
|
@ -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 @@ the two's complement of the value).
|
|||
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.
|
||||
|
|
|
@ -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 @@ interface employs the address resolution protocol described in
|
|||
.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."
|
||||
|
|
|
@ -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 @@ interface employs the address resolution protocol described in
|
|||
.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."
|
||||
|
|
|
@ -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 @@ instead of the new address of
|
|||
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 @@ The
|
|||
.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.
|
||||
|
|
|
@ -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 @@ ieattach(device_t parent, device_t self, void *aux)
|
|||
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);
|
||||
|
|
|
@ -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 @@ esattach(device_t parent, device_t self, void *aux)
|
|||
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);
|
||||
|
|
|
@ -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 @@ qnattach(device_t parent, device_t self, void *aux)
|
|||
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. */
|
||||
|
|
|
@ -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 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: at91emac.c,v 1.23 2019/01/22 03:42:24 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: at91emac.c,v 1.24 2019/02/05 06:17:00 msaitoh Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -479,7 +479,7 @@ emac_init(struct emac_softc *sc)
|
|||
sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
|
||||
|
||||
strcpy(ifp->if_xname, device_xname(sc->sc_dev));
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = emac_ifioctl;
|
||||
ifp->if_start = emac_ifstart;
|
||||
ifp->if_watchdog = emac_ifwatchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: epe.c,v 1.39 2019/01/22 03:42:25 msaitoh Exp $ */
|
||||
/* $NetBSD: epe.c,v 1.40 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 Jesse Off
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.39 2019/01/22 03:42:25 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.40 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -429,7 +429,7 @@ epe_init(struct epe_softc *sc)
|
|||
sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
|
||||
|
||||
strcpy(ifp->if_xname, device_xname(sc->sc_dev));
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = epe_ifioctl;
|
||||
ifp->if_start = epe_ifstart;
|
||||
ifp->if_watchdog = epe_ifwatchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_le_ebus.c,v 1.16 2018/06/26 06:47:58 msaitoh Exp $ */
|
||||
/* $NetBSD: if_le_ebus.c,v 1.17 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_le_ebus.c,v 1.16 2018/06/26 06:47:58 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_le_ebus.c,v 1.17 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -190,8 +190,7 @@ enic_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_watchdog = enic_watchdog;
|
||||
ifp->if_init = enic_init;
|
||||
ifp->if_stop = enic_stop;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Initialize ifmedia structures. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_mc.c,v 1.48 2018/09/03 16:29:25 riastradh Exp $ */
|
||||
/* $NetBSD: if_mc.c,v 1.49 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 David Huang <khym@azeotrope.org>
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.48 2018/09/03 16:29:25 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.49 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_inet.h"
|
||||
|
@ -151,8 +151,7 @@ mcsetup(struct mc_softc *sc, u_int8_t *lladdr)
|
|||
ifp->if_softc = sc;
|
||||
ifp->if_ioctl = mcioctl;
|
||||
ifp->if_start = mcstart;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_watchdog = mcwatchdog;
|
||||
|
||||
if_attach(ifp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_netdock_nubus.c,v 1.28 2018/09/03 16:29:25 riastradh Exp $ */
|
||||
/* $NetBSD: if_netdock_nubus.c,v 1.29 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000,2002 Daishi Kato <daishi@axlight.com>
|
||||
|
@ -43,7 +43,7 @@
|
|||
/***********************/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_netdock_nubus.c,v 1.28 2018/09/03 16:29:25 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_netdock_nubus.c,v 1.29 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/device.h>
|
||||
|
@ -361,8 +361,7 @@ netdock_setup(struct netdock_softc *sc, u_int8_t *lladdr)
|
|||
ifp->if_softc = sc;
|
||||
ifp->if_ioctl = netdock_ioctl;
|
||||
ifp->if_start = netdock_start;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_watchdog = netdock_watchdog;
|
||||
|
||||
if_attach(ifp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: am79c950.c,v 1.41 2018/09/03 16:29:25 riastradh Exp $ */
|
||||
/* $NetBSD: am79c950.c,v 1.42 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 David Huang <khym@bga.com>
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: am79c950.c,v 1.41 2018/09/03 16:29:25 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: am79c950.c,v 1.42 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -151,8 +151,7 @@ mcsetup(struct mc_softc *sc, u_int8_t *lladdr)
|
|||
ifp->if_softc = sc;
|
||||
ifp->if_ioctl = mcioctl;
|
||||
ifp->if_start = mcstart;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_watchdog = mcwatchdog;
|
||||
|
||||
/* initialize ifmedia structures */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_bm.c,v 1.56 2019/01/22 03:42:25 msaitoh Exp $ */
|
||||
/* $NetBSD: if_bm.c,v 1.57 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1998, 1999, 2000 Tsubai Masanari. All rights reserved.
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bm.c,v 1.56 2019/01/22 03:42:25 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_bm.c,v 1.57 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -236,8 +236,7 @@ bmac_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_softc = sc;
|
||||
ifp->if_ioctl = bmac_ioctl;
|
||||
ifp->if_start = bmac_start;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_watchdog = bmac_watchdog;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_gm.c,v 1.51 2019/01/22 03:42:25 msaitoh Exp $ */
|
||||
/* $NetBSD: if_gm.c,v 1.52 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Tsubai Masanari. All rights reserved.
|
||||
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_gm.c,v 1.51 2019/01/22 03:42:25 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_gm.c,v 1.52 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -226,8 +226,7 @@ gmac_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_ioctl = gmac_ioctl;
|
||||
ifp->if_start = gmac_start;
|
||||
ifp->if_watchdog = gmac_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
mii->mii_ifp = ifp;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sbmac.c,v 1.53 2019/01/23 07:40:05 msaitoh Exp $ */
|
||||
/* $NetBSD: sbmac.c,v 1.54 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001, 2004
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sbmac.c,v 1.53 2019/01/23 07:40:05 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sbmac.c,v 1.54 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_ns.h"
|
||||
|
@ -2314,8 +2314,7 @@ sbmac_attach(device_t parent, device_t self, void *aux)
|
|||
|
||||
ifp->if_softc = sc;
|
||||
memcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST |
|
||||
IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = sbmac_ioctl;
|
||||
ifp->if_start = sbmac_start;
|
||||
ifp->if_watchdog = sbmac_watchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_sn.c,v 1.43 2018/10/14 00:10:11 tsutsui Exp $ */
|
||||
/* $NetBSD: if_sn.c,v 1.44 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* National Semiconductor DP8393X SONIC Driver
|
||||
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.43 2018/10/14 00:10:11 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.44 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -210,8 +210,7 @@ snsetup(struct sn_softc *sc, uint8_t *lladdr)
|
|||
ifp->if_softc = sc;
|
||||
ifp->if_ioctl = snioctl;
|
||||
ifp->if_start = snstart;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_watchdog = snwatchdog;
|
||||
if_attach(ifp);
|
||||
if_deferred_start_init(ifp, NULL);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mb8795.c,v 1.60 2018/06/26 06:47:59 msaitoh Exp $ */
|
||||
/* $NetBSD: mb8795.c,v 1.61 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1998 Darrin B. Jewell
|
||||
* All rights reserved.
|
||||
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mb8795.c,v 1.60 2018/06/26 06:47:59 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mb8795.c,v 1.61 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -108,8 +108,7 @@ mb8795_config(struct mb8795_softc *sc, int *media, int nmedia, int defmedia)
|
|||
ifp->if_start = mb8795_start;
|
||||
ifp->if_ioctl = mb8795_ioctl;
|
||||
ifp->if_watchdog = mb8795_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST;
|
||||
|
||||
/* Initialize media goo. */
|
||||
ifmedia_init(&sc->sc_media, 0, mb8795_mediachange,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_smap.c,v 1.27 2018/06/26 06:47:59 msaitoh Exp $ */
|
||||
/* $NetBSD: if_smap.c,v 1.28 2019/02/05 06:17:01 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_smap.c,v 1.27 2018/06/26 06:47:59 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_smap.c,v 1.28 2019/02/05 06:17:01 msaitoh Exp $");
|
||||
|
||||
#include "debug_playstation2.h"
|
||||
|
||||
|
@ -220,8 +220,7 @@ smap_attach(struct device *parent, struct device *self, void *aux)
|
|||
ifp->if_init = smap_init;
|
||||
ifp->if_stop = smap_stop;
|
||||
ifp->if_watchdog= smap_watchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS |
|
||||
IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* ifmedia setup. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_sq.c,v 1.49 2018/06/26 06:47:59 msaitoh Exp $ */
|
||||
/* $NetBSD: if_sq.c,v 1.50 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Rafal K. Boni
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.49 2018/06/26 06:47:59 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.50 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -320,7 +320,7 @@ sq_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_start = sq_start;
|
||||
ifp->if_ioctl = sq_ioctl;
|
||||
ifp->if_watchdog = sq_watchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
if_attach(ifp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_ec.c,v 1.30 2018/09/03 16:29:28 riastradh Exp $ */
|
||||
/* $NetBSD: if_ec.c,v 1.31 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ec.c,v 1.30 2018/09/03 16:29:28 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ec.c,v 1.31 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_ns.h"
|
||||
|
@ -219,7 +219,7 @@ ec_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_ioctl = ec_ioctl;
|
||||
ifp->if_init = ec_init;
|
||||
ifp->if_watchdog = ec_watchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Initialize ifmedia structures. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_ie.c,v 1.66 2018/09/03 16:29:28 riastradh Exp $ */
|
||||
/* $NetBSD: if_ie.c,v 1.67 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
|
||||
|
@ -98,7 +98,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.66 2018/09/03 16:29:28 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.67 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_ns.h"
|
||||
|
@ -343,8 +343,7 @@ ie_attach(struct ie_softc *sc)
|
|||
ifp->if_start = iestart;
|
||||
ifp->if_ioctl = ieioctl;
|
||||
ifp->if_watchdog = iewatchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
|
||||
/* Attach the interface. */
|
||||
if_attach(ifp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_xennet_xenbus.c,v 1.83 2019/02/02 12:32:55 cherry Exp $ */
|
||||
/* $NetBSD: if_xennet_xenbus.c,v 1.84 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Manuel Bouyer.
|
||||
|
@ -84,7 +84,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.83 2019/02/02 12:32:55 cherry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.84 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_xen.h"
|
||||
#include "opt_nfs_boot.h"
|
||||
|
@ -370,7 +370,7 @@ xennet_xenbus_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_watchdog = xennet_watchdog;
|
||||
ifp->if_init = xennet_init;
|
||||
ifp->if_stop = xennet_stop;
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_timer = 0;
|
||||
ifp->if_snd.ifq_maxlen = uimax(ifqmaxlen, NET_TX_RING_SIZE * 2);
|
||||
ifp->if_capabilities = IFCAP_CSUM_TCPv4_Tx | IFCAP_CSUM_UDPv4_Tx;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xennetback_xenbus.c,v 1.73 2018/12/24 14:55:42 cherry Exp $ */
|
||||
/* $NetBSD: xennetback_xenbus.c,v 1.74 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006 Manuel Bouyer.
|
||||
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.73 2018/12/24 14:55:42 cherry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: xennetback_xenbus.c,v 1.74 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_xen.h"
|
||||
|
||||
|
@ -298,8 +298,7 @@ xennetback_xenbus_create(struct xenbus_device *xbusd)
|
|||
aprint_verbose_ifnet(ifp, "Ethernet address %s\n",
|
||||
ether_sprintf(xneti->xni_enaddr));
|
||||
xneti->xni_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_snd.ifq_maxlen =
|
||||
uimax(ifqmaxlen, NET_TX_RING_SIZE * 2);
|
||||
ifp->if_capabilities = IFCAP_CSUM_TCPv4_Tx | IFCAP_CSUM_UDPv4_Tx;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_cemac.c,v 1.15 2019/01/22 03:42:26 msaitoh Exp $ */
|
||||
/* $NetBSD: if_cemac.c,v 1.16 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015 Genetec Corporation. All rights reserved.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_cemac.c,v 1.15 2019/01/22 03:42:26 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_cemac.c,v 1.16 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -605,7 +605,7 @@ cemac_init(struct cemac_softc *sc)
|
|||
sc->sc_ethercom.ec_capabilities |= ETHERCAP_VLAN_MTU;
|
||||
|
||||
strcpy(ifp->if_xname, device_xname(sc->sc_dev));
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = cemac_ifioctl;
|
||||
ifp->if_start = cemac_ifstart;
|
||||
ifp->if_watchdog = cemac_ifwatchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: an.c,v 1.69 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: an.c,v 1.70 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1997, 1998, 1999
|
||||
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
|
||||
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: an.c,v 1.69 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: an.c,v 1.70 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -258,7 +258,7 @@ an_attach(struct an_softc *sc)
|
|||
memcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
|
||||
|
||||
ifp->if_softc = sc;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_NOTRAILERS | IFF_SIMPLEX |
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX |
|
||||
IFF_MULTICAST | IFF_ALLMULTI;
|
||||
ifp->if_ioctl = an_ioctl;
|
||||
ifp->if_start = an_start;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: atw.c,v 1.164 2018/06/26 06:48:00 msaitoh Exp $ */
|
||||
/* $NetBSD: atw.c,v 1.165 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.164 2018/06/26 06:48:00 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.165 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -766,8 +766,7 @@ atw_attach(struct atw_softc *sc)
|
|||
|
||||
memcpy(ifp->if_xname, device_xname(sc->sc_dev), 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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: awi.c,v 1.94 2018/06/26 06:48:00 msaitoh Exp $ */
|
||||
/* $NetBSD: awi.c,v 1.95 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999,2000,2001 The NetBSD Foundation, Inc.
|
||||
|
@ -78,7 +78,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: awi.c,v 1.94 2018/06/26 06:48:00 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: awi.c,v 1.95 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -217,11 +217,7 @@ awi_attach(struct awi_softc *sc)
|
|||
return error;
|
||||
}
|
||||
ifp->if_softc = sc;
|
||||
ifp->if_flags =
|
||||
#ifdef IFF_NOTRAILERS
|
||||
IFF_NOTRAILERS |
|
||||
#endif
|
||||
IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
|
||||
ifp->if_ioctl = awi_ioctl;
|
||||
ifp->if_start = awi_start;
|
||||
ifp->if_watchdog = awi_watchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cs89x0.c,v 1.41 2018/06/26 06:48:00 msaitoh Exp $ */
|
||||
/* $NetBSD: cs89x0.c,v 1.42 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 Christopher Gilbert
|
||||
|
@ -212,7 +212,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.41 2018/06/26 06:48:00 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.42 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -399,8 +399,7 @@ cs_attach(struct cs_softc *sc, u_int8_t *enaddr, int *media,
|
|||
ifp->if_ioctl = cs_ioctl;
|
||||
ifp->if_stop = cs_stop;
|
||||
ifp->if_watchdog = NULL; /* no watchdog at this stage */
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_NOTRAILERS |
|
||||
IFF_BROADCAST | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Initialize ifmedia structures. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: dm9000.c,v 1.15 2018/06/26 06:48:00 msaitoh Exp $ */
|
||||
/* $NetBSD: dm9000.c,v 1.16 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Paul Fleischer
|
||||
|
@ -435,8 +435,7 @@ dme_attach(struct dme_softc *sc, const uint8_t *enaddr)
|
|||
ifp->if_ioctl = dme_ioctl;
|
||||
ifp->if_stop = dme_stop;
|
||||
ifp->if_watchdog = NULL; /* no watchdog at this stage */
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_NOTRAILERS | IFF_BROADCAST |
|
||||
IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Initialize ifmedia structures. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: dp8390.c,v 1.91 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: dp8390.c,v 1.92 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
|
||||
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.91 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dp8390.c,v 1.92 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -126,8 +126,7 @@ dp8390_config(struct dp8390_softc *sc)
|
|||
ifp->if_ioctl = dp8390_ioctl;
|
||||
if (ifp->if_watchdog == NULL)
|
||||
ifp->if_watchdog = dp8390_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Print additional info when attached. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: elink3.c,v 1.145 2019/02/03 03:19:27 mrg Exp $ */
|
||||
/* $NetBSD: elink3.c,v 1.146 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -62,7 +62,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: elink3.c,v 1.145 2019/02/03 03:19:27 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: elink3.c,v 1.146 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -396,8 +396,7 @@ epconfig(struct ep_softc *sc, u_short chipset, u_int8_t *enaddr)
|
|||
ifp->if_watchdog = epwatchdog;
|
||||
ifp->if_init = epinit;
|
||||
ifp->if_stop = epstop;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
if_attach(ifp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: elinkxl.c,v 1.126 2019/01/22 03:42:26 msaitoh Exp $ */
|
||||
/* $NetBSD: elinkxl.c,v 1.127 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: elinkxl.c,v 1.126 2019/01/22 03:42:26 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: elinkxl.c,v 1.127 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -404,8 +404,7 @@ ex_config(struct ex_softc *sc)
|
|||
ifp->if_watchdog = ex_watchdog;
|
||||
ifp->if_init = ex_init;
|
||||
ifp->if_stop = ex_stop;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
sc->sc_if_flags = ifp->if_flags;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: gem.c,v 1.113 2019/01/22 03:42:26 msaitoh Exp $ */
|
||||
/* $NetBSD: gem.c,v 1.114 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.113 2019/01/22 03:42:26 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.114 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -534,8 +534,7 @@ gem_attach(struct gem_softc *sc, const uint8_t *enaddr)
|
|||
/* Initialize ifnet structure. */
|
||||
strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
|
||||
ifp->if_softc = sc;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
sc->sc_if_flags = ifp->if_flags;
|
||||
#if 0
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: hme.c,v 1.101 2019/01/22 03:42:26 msaitoh Exp $ */
|
||||
/* $NetBSD: hme.c,v 1.102 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.101 2019/01/22 03:42:26 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.102 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
/* #define HMEDEBUG */
|
||||
|
||||
|
@ -232,8 +232,7 @@ hme_config(struct hme_softc *sc)
|
|||
ifp->if_ioctl = hme_ioctl;
|
||||
ifp->if_init = hme_init;
|
||||
ifp->if_watchdog = hme_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
sc->sc_if_flags = ifp->if_flags;
|
||||
ifp->if_capabilities |=
|
||||
IFCAP_CSUM_TCPv4_Tx | IFCAP_CSUM_TCPv4_Rx |
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: i82586.c,v 1.79 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: i82586.c,v 1.80 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -137,7 +137,7 @@ Mode of operation:
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.79 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.80 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -242,8 +242,7 @@ i82586_attach(struct ie_softc *sc, const char *name, u_int8_t *etheraddr,
|
|||
ifp->if_init = i82586_init;
|
||||
ifp->if_stop = i82586_stop;
|
||||
ifp->if_watchdog = i82586_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Initialize media goo. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lance.c,v 1.54 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: lance.c,v 1.55 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -65,7 +65,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.54 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.55 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -175,8 +175,7 @@ lance_config(struct lance_softc *sc)
|
|||
ifp->if_watchdog = lance_watchdog;
|
||||
ifp->if_init = lance_init;
|
||||
ifp->if_stop = lance_stop;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
#ifdef LANCE_REVC_BUG
|
||||
ifp->if_flags &= ~IFF_MULTICAST;
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lemac.c,v 1.49 2018/06/26 06:48:00 msaitoh Exp $ */
|
||||
/* $NetBSD: lemac.c,v 1.50 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994, 1995, 1997 Matt Thomas <matt@3am-software.com>
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: lemac.c,v 1.49 2018/06/26 06:48:00 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: lemac.c,v 1.50 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -985,11 +985,7 @@ lemac_ifattach(
|
|||
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) {
|
||||
int media;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mb86950.c,v 1.28 2018/06/26 06:48:00 msaitoh Exp $ */
|
||||
/* $NetBSD: mb86950.c,v 1.29 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
|
||||
|
@ -67,7 +67,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mb86950.c,v 1.28 2018/06/26 06:48:00 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mb86950.c,v 1.29 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
/*
|
||||
* Device driver for Fujitsu mb86950 based Ethernet cards.
|
||||
|
@ -270,7 +270,7 @@ mb86950_config(struct mb86950_softc *sc, int *media,
|
|||
ifp->if_start = mb86950_start;
|
||||
ifp->if_ioctl = mb86950_ioctl;
|
||||
ifp->if_watchdog = mb86950_watchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
|
||||
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mb86960.c,v 1.88 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: mb86960.c,v 1.89 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* All Rights Reserved, Copyright (C) Fujitsu Limited 1995
|
||||
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mb86960.c,v 1.88 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mb86960.c,v 1.89 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
/*
|
||||
* Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards.
|
||||
|
@ -188,8 +188,7 @@ mb86960_config(struct mb86960_softc *sc, int *media, int nmedia, int defmedia)
|
|||
ifp->if_start = mb86960_start;
|
||||
ifp->if_ioctl = mb86960_ioctl;
|
||||
ifp->if_watchdog = mb86960_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
#if FE_DEBUG >= 3
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pdq_ifsubr.c,v 1.61 2019/02/03 03:19:27 mrg Exp $ */
|
||||
/* $NetBSD: pdq_ifsubr.c,v 1.62 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1996 Matt Thomas <matt@3am-software.com>
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pdq_ifsubr.c,v 1.61 2019/02/03 03:19:27 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pdq_ifsubr.c,v 1.62 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#include "opt_inet.h"
|
||||
|
@ -470,9 +470,6 @@ pdq_ifioctl(
|
|||
return error;
|
||||
}
|
||||
|
||||
#ifndef IFF_NOTRAILERS
|
||||
#define IFF_NOTRAILERS 0
|
||||
#endif
|
||||
|
||||
void
|
||||
pdq_ifattach(
|
||||
|
@ -481,7 +478,7 @@ pdq_ifattach(
|
|||
{
|
||||
struct ifnet *ifp = &sc->sc_if;
|
||||
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
|
||||
#if (defined(__FreeBSD__) && BSD >= 199506) || defined(__NetBSD__)
|
||||
ifp->if_watchdog = pdq_ifwatchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rrunner.c,v 1.88 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: rrunner.c,v 1.89 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rrunner.c,v 1.88 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rrunner.c,v 1.89 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -405,7 +405,7 @@ eshconfig(struct esh_softc *sc)
|
|||
ifp->if_start = eshstart;
|
||||
ifp->if_ioctl = eshioctl;
|
||||
ifp->if_watchdog = eshwatchdog;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_NOTRAILERS | IFF_NOARP;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_NOARP;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
if_attach(ifp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rtw.c,v 1.129 2019/02/03 03:19:27 mrg Exp $ */
|
||||
/* $NetBSD: rtw.c,v 1.130 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2004, 2005, 2006, 2007 David Young. All rights
|
||||
* reserved.
|
||||
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.129 2019/02/03 03:19:27 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.130 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -3817,8 +3817,7 @@ rtw_setifprops(struct ifnet *ifp, const char *dvname, void *softc)
|
|||
{
|
||||
(void)strlcpy(ifp->if_xname, dvname, IFNAMSIZ);
|
||||
ifp->if_softc = softc;
|
||||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: seeq8005.c,v 1.60 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: seeq8005.c,v 1.61 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000, 2001 Ben Harris
|
||||
|
@ -61,7 +61,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: seeq8005.c,v 1.60 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: seeq8005.c,v 1.61 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -261,7 +261,7 @@ seeq8005_attach(struct seeq8005_softc *sc, const u_int8_t *myaddr, int *media,
|
|||
ifp->if_init = ea_init;
|
||||
ifp->if_stop = ea_stop;
|
||||
ifp->if_watchdog = ea_watchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST;
|
||||
if (sc->sc_variant == SEEQ_8004)
|
||||
ifp->if_flags |= IFF_SIMPLEX;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: smc90cx6.c,v 1.73 2018/06/26 06:48:00 msaitoh Exp $ */
|
||||
/* $NetBSD: smc90cx6.c,v 1.74 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994, 1995, 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: smc90cx6.c,v 1.73 2018/06/26 06:48:00 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: smc90cx6.c,v 1.74 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
/* #define BAHSOFTCOPY */
|
||||
#define BAHRETRANSMIT /**/
|
||||
|
@ -191,7 +191,7 @@ bah_attach_subr(struct bah_softc *sc)
|
|||
ifp->if_watchdog = bah_watchdog;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
|
||||
|
||||
ifp->if_mtu = ARCMTU;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: smc91cxx.c,v 1.98 2019/01/22 03:42:26 msaitoh Exp $ */
|
||||
/* $NetBSD: smc91cxx.c,v 1.99 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -71,7 +71,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.98 2019/01/22 03:42:26 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: smc91cxx.c,v 1.99 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -300,8 +300,7 @@ smc91cxx_attach(struct smc91cxx_softc *sc, u_int8_t *myea)
|
|||
ifp->if_start = smc91cxx_start;
|
||||
ifp->if_ioctl = smc91cxx_ioctl;
|
||||
ifp->if_watchdog = smc91cxx_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Attach the interface. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tropic.c,v 1.51 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: tropic.c,v 1.52 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Ported to NetBSD by Onno van der Linden
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tropic.c,v 1.51 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tropic.c,v 1.52 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -329,7 +329,7 @@ tr_attach(struct tr_softc *sc)
|
|||
ifp->if_start = tr_start;
|
||||
else
|
||||
ifp->if_start = tr_oldstart;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST;
|
||||
ifp->if_watchdog = tr_watchdog;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wi.c,v 1.249 2018/11/15 10:56:29 maxv Exp $ */
|
||||
/* $NetBSD: wi.c,v 1.250 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004 The NetBSD Foundation, Inc.
|
||||
|
@ -99,7 +99,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.249 2018/11/15 10:56:29 maxv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.250 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#define WI_HERMES_AUTOINC_WAR /* Work around data write autoinc bug. */
|
||||
#define WI_HERMES_STATS_WAR /* Work around stats counter bug. */
|
||||
|
@ -417,8 +417,7 @@ wi_attach(struct wi_softc *sc, const u_int8_t *macaddr)
|
|||
ifp->if_watchdog = wi_watchdog;
|
||||
ifp->if_init = wi_init;
|
||||
ifp->if_stop = wi_stop;
|
||||
ifp->if_flags =
|
||||
IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_SIMPLEX | IFF_BROADCAST | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
ic->ic_ifp = ifp;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_eg.c,v 1.95 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: if_eg.c,v 1.96 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993 Dean Huxley <dean@fsa.ca>
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_eg.c,v 1.95 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_eg.c,v 1.96 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -452,7 +452,7 @@ egattach(device_t parent, device_t 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. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_el.c,v 1.97 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: if_el.c,v 1.98 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, Matthew E. Kimmel. Permission is hereby granted
|
||||
|
@ -19,7 +19,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_el.c,v 1.97 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_el.c,v 1.98 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -236,7 +236,7 @@ elattach(device_t parent, device_t self, void *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. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_iy.c,v 1.103 2018/09/03 16:29:31 riastradh Exp $ */
|
||||
/* $NetBSD: if_iy.c,v 1.104 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
/* #define IYDEBUG */
|
||||
/* #define IYMEMDEBUG */
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_iy.c,v 1.103 2018/09/03 16:29:31 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_iy.c,v 1.104 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -308,8 +308,7 @@ iyattach(device_t parent, device_t self, void *aux)
|
|||
strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
|
||||
ifp->if_softc = sc;
|
||||
ifp->if_start = iystart;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS
|
||||
| IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
|
||||
sc->doing_mc_setup = 0;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ofnet.c,v 1.61 2018/09/03 16:29:32 riastradh Exp $ */
|
||||
/* $NetBSD: ofnet.c,v 1.62 2019/02/05 06:17:02 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -32,7 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofnet.c,v 1.61 2018/09/03 16:29:32 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofnet.c,v 1.62 2019/02/05 06:17:02 msaitoh Exp $");
|
||||
|
||||
#include "ofnet.h"
|
||||
#include "opt_inet.h"
|
||||
|
@ -132,7 +132,7 @@ ofnet_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_start = ofnet_start;
|
||||
ifp->if_ioctl = ofnet_ioctl;
|
||||
ifp->if_watchdog = ofnet_watchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
if_attach(ifp);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_cas.c,v 1.30 2019/01/22 03:42:27 msaitoh Exp $ */
|
||||
/* $NetBSD: if_cas.c,v 1.31 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
/* $OpenBSD: if_cas.c,v 1.29 2009/11/29 16:19:38 kettenis Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -44,7 +44,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.30 2019/01/22 03:42:27 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.31 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#ifndef _MODULE
|
||||
#include "opt_inet.h"
|
||||
|
@ -514,8 +514,7 @@ cas_config(struct cas_softc *sc, const uint8_t *enaddr)
|
|||
/* Initialize ifnet structure. */
|
||||
strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
|
||||
ifp->if_softc = sc;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_start = cas_start;
|
||||
ifp->if_ioctl = cas_ioctl;
|
||||
ifp->if_watchdog = cas_watchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_de.c,v 1.157 2019/01/08 06:17:40 msaitoh Exp $ */
|
||||
/* $NetBSD: if_de.c,v 1.158 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
|
||||
|
@ -37,7 +37,7 @@
|
|||
* board which support 21040, 21041, or 21140 (mostly).
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_de.c,v 1.157 2019/01/08 06:17:40 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_de.c,v 1.158 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#define TULIP_HDR_DATA
|
||||
|
||||
|
@ -5007,16 +5007,13 @@ tulip_ifwatchdog_wrapper(int unit)
|
|||
#ifdef printf
|
||||
#undef printf
|
||||
#endif
|
||||
#if !defined(IFF_NOTRAILERS)
|
||||
#define IFF_NOTRAILERS 0
|
||||
#endif
|
||||
|
||||
static void
|
||||
tulip_attach(tulip_softc_t * const sc)
|
||||
{
|
||||
struct ifnet * const ifp = &sc->tulip_if;
|
||||
|
||||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_devar.h,v 1.61 2019/01/08 06:17:40 msaitoh Exp $ */
|
||||
/* $NetBSD: if_devar.h,v 1.62 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
|
||||
|
@ -942,7 +942,6 @@ static tulip_softc_t *tulips[TULIP_MAX_DEVICES];
|
|||
#define TULIP_IFP_TO_SOFTC(ifp) ((tulip_softc_t *)((ifp)->if_softc))
|
||||
#define tulip_intrfunc_t void
|
||||
#define TULIP_VOID_INTRFUNC
|
||||
#define IFF_NOTRAILERS 0
|
||||
#define CLBYTES PAGE_SIZE
|
||||
#if 0
|
||||
#define TULIP_KVATOPHYS(sc, va) kvtop(va)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_jme.c,v 1.37 2019/01/22 03:42:27 msaitoh Exp $ */
|
||||
/* $NetBSD: if_jme.c,v 1.38 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008 Manuel Bouyer. All rights reserved.
|
||||
|
@ -58,7 +58,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_jme.c,v 1.37 2019/01/22 03:42:27 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_jme.c,v 1.38 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -481,7 +481,7 @@ jme_pci_attach(device_t parent, device_t self, void *aux)
|
|||
|
||||
|
||||
strlcpy(ifp->if_xname, device_xname(self), IFNAMSIZ);
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = jme_ifioctl;
|
||||
ifp->if_start = jme_ifstart;
|
||||
ifp->if_watchdog = jme_ifwatchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_tl.c,v 1.111 2019/01/22 03:42:27 msaitoh Exp $ */
|
||||
/* $NetBSD: if_tl.c,v 1.112 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
|
||||
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.111 2019/01/22 03:42:27 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.112 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#undef TLDEBUG
|
||||
#define TL_PRIV_STATS
|
||||
|
@ -448,7 +448,7 @@ tl_pci_attach(device_t parent, device_t self, void *aux)
|
|||
sc->tl_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
|
||||
|
||||
strlcpy(ifp->if_xname, device_xname(self), IFNAMSIZ);
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = tl_ifioctl;
|
||||
ifp->if_start = tl_ifstart;
|
||||
ifp->if_watchdog = tl_ifwatchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_vte.c,v 1.22 2019/01/22 03:42:27 msaitoh Exp $ */
|
||||
/* $NetBSD: if_vte.c,v 1.23 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 Manuel Bouyer. All rights reserved.
|
||||
|
@ -55,7 +55,7 @@
|
|||
/* Driver for DM&P Electronics, Inc, Vortex86 RDC R6040 FastEthernet. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vte.c,v 1.22 2019/01/22 03:42:27 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_vte.c,v 1.23 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -258,7 +258,7 @@ vte_attach(device_t parent, device_t self, void *aux)
|
|||
sc->vte_ec.ec_capabilities |= ETHERCAP_VLAN_MTU;
|
||||
|
||||
strlcpy(ifp->if_xname, device_xname(self), IFNAMSIZ);
|
||||
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = vte_ifioctl;
|
||||
ifp->if_start = vte_ifstart;
|
||||
ifp->if_watchdog = vte_ifwatchdog;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_cnw.c,v 1.64 2018/09/03 16:29:33 riastradh Exp $ */
|
||||
/* $NetBSD: if_cnw.c,v 1.65 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
|
||||
|
@ -105,7 +105,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_cnw.c,v 1.64 2018/09/03 16:29:33 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_cnw.c,v 1.65 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -550,8 +550,7 @@ cnw_attach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_start = cnw_start;
|
||||
ifp->if_ioctl = cnw_ioctl;
|
||||
ifp->if_watchdog = cnw_watchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_SIMPLEX |
|
||||
IFF_NOTRAILERS;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST | IFF_SIMPLEX;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Attach the interface */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_xi.c,v 1.85 2019/01/22 03:42:27 msaitoh Exp $ */
|
||||
/* $NetBSD: if_xi.c,v 1.86 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
/* OpenBSD: if_xe.c,v 1.9 1999/09/16 11:28:42 niklas Exp */
|
||||
|
||||
/*
|
||||
|
@ -55,7 +55,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xi.c,v 1.85 2019/01/22 03:42:27 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xi.c,v 1.86 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
|
@ -210,8 +210,7 @@ xi_attach(struct xi_softc *sc, uint8_t *myea)
|
|||
ifp->if_start = xi_start;
|
||||
ifp->if_ioctl = xi_ioctl;
|
||||
ifp->if_watchdog = xi_watchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_NOTRAILERS | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* 802.1q capability */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: be.c,v 1.90 2019/01/22 03:42:28 msaitoh Exp $ */
|
||||
/* $NetBSD: be.c,v 1.91 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -57,7 +57,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: be.c,v 1.90 2019/01/22 03:42:28 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: be.c,v 1.91 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_inet.h"
|
||||
|
@ -441,8 +441,7 @@ beattach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_watchdog = bewatchdog;
|
||||
ifp->if_init = beinit;
|
||||
ifp->if_stop = bestop;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* claim 802.1q capability */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: qe.c,v 1.70 2018/09/03 16:29:33 riastradh Exp $ */
|
||||
/* $NetBSD: qe.c,v 1.71 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: qe.c,v 1.70 2018/09/03 16:29:33 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: qe.c,v 1.71 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#define QEDEBUG
|
||||
|
||||
|
@ -300,8 +300,7 @@ qeattach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_start = qestart;
|
||||
ifp->if_ioctl = qeioctl;
|
||||
ifp->if_watchdog = qewatchdog;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS |
|
||||
IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Attach the interface. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_se.c,v 1.98 2018/09/03 16:29:33 riastradh Exp $ */
|
||||
/* $NetBSD: if_se.c,v 1.99 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Ian W. Dall <ian.dall@dsto.defence.gov.au>
|
||||
|
@ -59,7 +59,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.98 2018/09/03 16:29:33 riastradh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.99 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
|
@ -357,8 +357,7 @@ seattach(device_t parent, device_t self, void *aux)
|
|||
ifp->if_start = se_ifstart;
|
||||
ifp->if_ioctl = se_ioctl;
|
||||
ifp->if_watchdog = sewatchdog;
|
||||
ifp->if_flags =
|
||||
IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
IFQ_SET_READY(&ifp->if_snd);
|
||||
|
||||
/* Attach the interface. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if.h,v 1.266 2018/10/18 11:34:54 knakahara Exp $ */
|
||||
/* $NetBSD: if.h,v 1.267 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -412,7 +412,7 @@ typedef struct ifnet {
|
|||
#define IFF_DEBUG 0x0004 /* turn on debugging */
|
||||
#define IFF_LOOPBACK 0x0008 /* is a loopback net */
|
||||
#define IFF_POINTOPOINT 0x0010 /* interface is point-to-point link */
|
||||
#define IFF_NOTRAILERS 0x0020 /* avoid use of trailers */
|
||||
/* 0x0020 was IFF_NOTRAILERS */
|
||||
#define IFF_RUNNING 0x0040 /* resources allocated */
|
||||
#define IFF_NOARP 0x0080 /* no address resolution protocol */
|
||||
#define IFF_PROMISC 0x0100 /* receive all packets */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_fddisubr.c,v 1.110 2019/02/03 03:19:28 mrg Exp $ */
|
||||
/* $NetBSD: if_fddisubr.c,v 1.111 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
|
@ -96,7 +96,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_fddisubr.c,v 1.110 2019/02/03 03:19:28 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_fddisubr.c,v 1.111 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_gateway.h"
|
||||
|
@ -626,9 +626,6 @@ fddi_ifattach(struct ifnet *ifp, void *lla)
|
|||
ifp->if_output = fddi_output;
|
||||
ifp->_if_input = fddi_input;
|
||||
ifp->if_baudrate = IF_Mbps(100);
|
||||
#ifdef IFF_NOTRAILERS
|
||||
ifp->if_flags |= IFF_NOTRAILERS;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Update the max_linkhdr
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_tokensubr.c,v 1.83 2018/05/09 06:35:10 maxv Exp $ */
|
||||
/* $NetBSD: if_tokensubr.c,v 1.84 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1989, 1993
|
||||
|
@ -92,7 +92,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.83 2018/05/09 06:35:10 maxv Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.84 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_inet.h"
|
||||
|
@ -512,9 +512,6 @@ token_ifattach(struct ifnet *ifp, void *lla)
|
|||
ifp->if_output = token_output;
|
||||
ifp->_if_input = token_input;
|
||||
ifp->if_broadcastaddr = tokenbroadcastaddr;
|
||||
#ifdef IFF_NOTRAILERS
|
||||
ifp->if_flags |= IFF_NOTRAILERS;
|
||||
#endif
|
||||
|
||||
if_set_sadl(ifp, lla, ISO88025_ADDR_LEN, true);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: route6d.c,v 1.72 2018/06/14 16:17:18 christos Exp $ */
|
||||
/* $NetBSD: route6d.c,v 1.73 2019/02/05 06:17:03 msaitoh Exp $ */
|
||||
/* $KAME: route6d.c,v 1.94 2002/10/26 20:08:55 itojun Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: route6d.c,v 1.72 2018/06/14 16:17:18 christos Exp $");
|
||||
__RCSID("$NetBSD: route6d.c,v 1.73 2019/02/05 06:17:03 msaitoh Exp $");
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
|
@ -2326,9 +2326,6 @@ do { \
|
|||
IFFLAG("DEBUG", IFF_DEBUG);
|
||||
IFFLAG("LOOPBACK", IFF_LOOPBACK);
|
||||
IFFLAG("POINTOPOINT", IFF_POINTOPOINT);
|
||||
#ifdef IFF_NOTRAILERS
|
||||
IFFLAG("NOTRAILERS", IFF_NOTRAILERS);
|
||||
#endif
|
||||
#ifdef IFF_SMART
|
||||
IFFLAG("SMART", IFF_SMART);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue