Source-Changes-HG archive

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

[src/trunk]: src Remove the de(4) driver, which has long since been supplante...



details:   https://anonhg.NetBSD.org/src/rev/f9dee32d7ce3
branches:  trunk
changeset: 467295:f9dee32d7ce3
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jan 19 17:53:14 2020 +0000

description:
Remove the de(4) driver, which has long since been supplanted by the
tlp(4) driver, which supports more chips and more board variants.

diffstat:

 distrib/sets/lists/man/mi |     8 +-
 share/man/man4/Makefile   |     4 +-
 share/man/man4/de.4       |   125 -
 sys/dev/pci/files.pci     |     7 +-
 sys/dev/pci/if_de.c       |  5882 ---------------------------------------------
 sys/dev/pci/if_devar.h    |  1115 --------
 6 files changed, 7 insertions(+), 7134 deletions(-)

diffs (truncated from 7209 to 300 lines):

diff -r b04f8a914aac -r f9dee32d7ce3 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sun Jan 19 17:36:57 2020 +0000
+++ b/distrib/sets/lists/man/mi Sun Jan 19 17:53:14 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1671 2020/01/19 10:50:26 martin Exp $
+# $NetBSD: mi,v 1.1672 2020/01/19 17:53:15 thorpej Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1017,7 +1017,7 @@
 ./usr/share/man/cat4/dbcool.0                  man-sys-catman          .cat
 ./usr/share/man/cat4/ddb.0                     man-sys-catman          .cat
 ./usr/share/man/cat4/ddc.0                     man-sys-catman          .cat
-./usr/share/man/cat4/de.0                      man-sys-catman          .cat
+./usr/share/man/cat4/de.0                      man-obsolete            obsolete
 ./usr/share/man/cat4/depca.0                   man-sys-catman          .cat
 ./usr/share/man/cat4/dge.0                     man-sys-catman          .cat
 ./usr/share/man/cat4/dk.0                      man-sys-catman          .cat
@@ -4201,7 +4201,7 @@
 ./usr/share/man/html4/dbcool.html              man-sys-htmlman         html
 ./usr/share/man/html4/ddb.html                 man-sys-htmlman         html
 ./usr/share/man/html4/ddc.html                 man-sys-htmlman         html
-./usr/share/man/html4/de.html                  man-sys-htmlman         html
+./usr/share/man/html4/de.html                  man-obsolete            obsolete
 ./usr/share/man/html4/depca.html               man-sys-htmlman         html
 ./usr/share/man/html4/dge.html                 man-sys-htmlman         html
 ./usr/share/man/html4/dk.html                  man-sys-htmlman         html
@@ -7157,7 +7157,7 @@
 ./usr/share/man/man4/dbcool.4                  man-sys-man             .man
 ./usr/share/man/man4/ddb.4                     man-sys-man             .man
 ./usr/share/man/man4/ddc.4                     man-sys-man             .man
-./usr/share/man/man4/de.4                      man-sys-man             .man
+./usr/share/man/man4/de.4                      man-obsolete            obsolete
 ./usr/share/man/man4/depca.4                   man-sys-man             .man
 ./usr/share/man/man4/dge.4                     man-sys-man             .man
 ./usr/share/man/man4/dk.4                      man-sys-man             .man
diff -r b04f8a914aac -r f9dee32d7ce3 share/man/man4/Makefile
--- a/share/man/man4/Makefile   Sun Jan 19 17:36:57 2020 +0000
+++ b/share/man/man4/Makefile   Sun Jan 19 17:53:14 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.695 2020/01/19 01:25:03 thorpej Exp $
+#      $NetBSD: Makefile,v 1.696 2020/01/19 17:53:15 thorpej Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/18/93
 
 MAN=   aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -19,7 +19,7 @@
        cec.4 cgd.4 cfb.4 ch.4 chipsfb.4 ciphy.4 ciss.4 clcs.4 clct.4 \
        clockctl.4 cmdide.4 cmpci.4 cms.4 cnw.4 \
        com.4 coram.4 crypto.4 cs80bus.4 cuda.4 cypide.4 cxdtv.4 \
-       ddb.4 ddc.4 de.4 dge.4 dk.4 dm.4 dmoverio.4 \
+       ddb.4 ddc.4 dge.4 dk.4 dm.4 dmoverio.4 \
        dmphy.4 dpt.4 dpti.4 drm.4 drum.4 drvctl.4 dtv.4 dtviic.4 dwctwo.4 \
        eap.4 ebus.4 edc.4 elmc.4 emuxki.4 ena.4 envsys.4 ep.4 esh.4 \
        esa.4 esiop.4 esm.4 eso.4 et.4 etphy.4 exphy.4 \
diff -r b04f8a914aac -r f9dee32d7ce3 share/man/man4/de.4
--- a/share/man/man4/de.4       Sun Jan 19 17:36:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-.\"    $NetBSD: de.4,v 1.10 2012/03/13 19:25:39 njoly Exp $
-.Dd February 11, 2000
-.Dt DE 4
-.Os
-.Sh NAME
-.Nm de
-.Nd
-.Tn DECchip
-21040, 21140, 21141, 21142, and 21143
-.Tn PCI
-.Tn Ethernet
-interface driver
-.Sh SYNOPSIS
-.Cd "de* at pci? dev ? function ?"
-.Pp
-Configuration of PHYs may also be necessary.
-See
-.Xr mii 4 .
-.Sh DESCRIPTION
-The
-.Nm
-driver supports
-.Tn Ethernet
-and Fast
-.Tn Ethernet
-interfaces based on the Digital Equipment Corporation
-.Tn DECchip
-21040, 21140, 21141, 21142, and 21143 model controllers for
-.Tn PCI
-bus.
-.Pp
-.Bl -hang -compact
-.It 21040
-10BASE-T and AUI/BNC
-.It 21140
-10BASE-T and 100BASE-TX
-.It 21141
-10BASE-T and 100BASE-TX
-.It 21142
-10BASE-T and 100BASE-TX
-.It 21143
-10BASE-T and 100BASE-TX
-.El
-.Pp
-Supported Network Interface Cards (NIC) include, but are not limited to:
-.Pp
-.Bl -hang -compact
-.It Tn Accton EN1207i
-.It Tn Cogent EM100
-.It Tn Asante AsanteFAST
-.It Tn DEC DE435
-.It Tn DEC DE450
-.It Tn DEC DE500
-.It Tn SMC 9332
-.It Tn Znyx NetBlaster ZX340 series (345, 348, 346)
-.El
-.Pp
-Generally, if the NIC is for
-.Tn PCI
-bus, and the major controller chip has the
-.Tn DIGITAL
-logo on it, with one of the model numbers above, the
-.Nm
-driver should recognize and control it.
-Beware, however, that many NIC manufacturers change the
-.Tn Ethernet
-controller chip without changing the product model number, and
-a physical inspection of the NIC, or a probe of the NIC with a
-.Tn PCI
-diagnostic tool is the only way to tell if a real
-.Tn DEC
-.Tn TULIP
-controller is present.
-.Pp
-Multi-port interfaces are typically configured as a
-.Tn PCI Ns \- Ns Tn PCI
-bridge with multiple
-.Nm
-instances on the
-.Tn PCI
-bus on the other side of the bridge.
-.Pp
-.Tn DEC
-sold its semiconductor division to
-.Tn Intel .
-In addition, there are many "knock-offs" of the
-.Tn DEC
-.Tn TULIP
-.Tn Ethernet
-controller chips; NICs based on these chips are handled by the
-.Xr tlp 4
-driver.
-.Pp
-This
-.Nm
-driver should not be confused with the
-.Nx
-.Tn VAX
-.Nm
-driver for the
-.Tn DEC
-.Tn DEUNA/DELUA
-.Tn Ethernet
-controller for
-.Tn UniBus .
-.Sh SEE ALSO
-.Xr ifmedia 4 ,
-.Xr intro 4 ,
-.Xr mii 4 ,
-.Xr pci 4 ,
-.Xr tlp 4 ,
-.Xr ifconfig 8
-.Pp
-.Lk http://www.adaptec.com/ "Adaptec",
-.Lk http://www.asante.com/ "Asante" ,
-.Lk http://www.smc.com/ "SMC Networks" ,
-.Lk http://www.znyx.com/ "ZNYX Networks"
-.Sh HISTORY
-The
-.Nm
-driver first appeared in
-.Nx 1.1
-.Sh AUTHORS
-Matt Thomas
-.Aq matt%3am-software.com@localhost .
diff -r b04f8a914aac -r f9dee32d7ce3 sys/dev/pci/files.pci
--- a/sys/dev/pci/files.pci     Sun Jan 19 17:36:57 2020 +0000
+++ b/sys/dev/pci/files.pci     Sun Jan 19 17:53:14 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pci,v 1.422 2020/01/19 06:55:21 thorpej Exp $
+#      $NetBSD: files.pci,v 1.423 2020/01/19 17:53:15 thorpej Exp $
 #
 # Config file and device description for machine-independent PCI code.
 # Included by ports that need it.  Requires that the SCSI files be
@@ -173,11 +173,6 @@
 file   dev/pci/if_aq.c                 aq
 defflag opt_if_aq.h    AQ_EVENT_COUNTERS
 
-# Ethernet driver for DC21040-based boards
-device de: ether, ifnet, arp
-attach de at pci
-file   dev/pci/if_de.c                 de
-
 # 3Com 3c590 and 3c595 Ethernet controllers
 # device declaration in sys/conf/files
 attach ep at pci with ep_pci
diff -r b04f8a914aac -r f9dee32d7ce3 sys/dev/pci/if_de.c
--- a/sys/dev/pci/if_de.c       Sun Jan 19 17:36:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5882 +0,0 @@
-/*     $NetBSD: if_de.c,v 1.165 2020/01/06 07:15:03 msaitoh Exp $      */
-
-/*-
- * Copyright (c) 1994-1997 Matt Thomas (matt%3am-software.com@localhost)
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. The name of the author may not be used to endorse or promote products
- *    derived from this software without specific prior written permission
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * Id: if_de.c,v 1.94 1997/07/03 16:55:07 thomas Exp
- *
- */
-
-/*
- * DEC 21040 PCI Ethernet Controller
- *
- * Written by Matt Thomas
- * BPF support code stolen directly from if_ec.c
- *
- *   This driver supports the DEC DE435 or any other PCI
- *   board which support 21040, 21041, or 21140 (mostly).
- */
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_de.c,v 1.165 2020/01/06 07:15:03 msaitoh Exp $");
-
-#define        TULIP_HDR_DATA
-
-#ifdef __NetBSD__
-#include "opt_inet.h"
-#endif
-
-#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/callout.h>
-#include <sys/mbuf.h>
-#include <sys/protosw.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <sys/errno.h>
-#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/proc.h>  /* only for declaration of wakeup() used by vm.h */
-#if defined(__FreeBSD__)
-#include <machine/clock.h>
-#elif defined(__bsdi__) || defined(__NetBSD__)
-#include <sys/device.h>
-#endif
-
-#if defined(__NetBSD__)
-#include <sys/rndsource.h>
-#endif
-
-#include <net/if.h>
-#if !defined(TULIP_NOIFMEDIA)
-#include <net/if_media.h>
-#endif
-#include <net/if_types.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-#include <net/netisr.h>
-#include <net/bpf.h>
-
-#if defined(__bsdi__) && _BSDI_VERSION >= 199701
-#include <dev/mii/mii.h>
-#include <dev/mii/miivar.h>
-#endif
-
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#endif
-
-#if defined(__FreeBSD__)
-#include <vm/vm.h>



Home | Main Index | Thread Index | Old Index