Source-Changes-HG archive

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

[src/trunk]: src Retire the 'midway' driver. Discussed on tech-net@ recently ...



details:   https://anonhg.NetBSD.org/src/rev/88aa54df3e63
branches:  trunk
changeset: 433287:88aa54df3e63
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Sep 06 05:36:49 2018 +0000

description:
Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.

diffstat:

 distrib/sets/lists/man/mi            |     4 +-
 share/man/man4/Makefile              |     4 +-
 share/man/man4/en.4                  |    83 -
 sys/arch/algor/conf/P4032            |     5 +-
 sys/arch/algor/conf/P5064            |     5 +-
 sys/arch/algor/conf/P6032            |     5 +-
 sys/arch/alpha/conf/GENERIC          |     5 +-
 sys/arch/alpha/conf/INSTALL          |     3 +-
 sys/arch/alpha/conf/RAWHIDE          |     3 +-
 sys/arch/amd64/conf/ALL              |     5 +-
 sys/arch/amd64/conf/GENERIC          |     5 +-
 sys/arch/amd64/conf/XEN3_DOM0        |     5 +-
 sys/arch/arc/conf/GENERIC            |     5 +-
 sys/arch/cats/conf/GENERIC           |     3 +-
 sys/arch/cats/conf/INSTALL           |     3 +-
 sys/arch/cobalt/conf/GENERIC         |     5 +-
 sys/arch/cobalt/conf/INSTALL         |     5 +-
 sys/arch/evbarm/conf/IXDP425         |     3 +-
 sys/arch/evbarm/conf/ZAO425          |     3 +-
 sys/arch/evbmips/conf/MALTA          |     5 +-
 sys/arch/evbppc/conf/PMPPC           |     3 +-
 sys/arch/hppa/conf/GENERIC           |     6 +-
 sys/arch/i386/conf/ALL               |     5 +-
 sys/arch/i386/conf/GENERIC           |     5 +-
 sys/arch/i386/conf/GENERIC_TINY      |     3 +-
 sys/arch/i386/conf/INSTALL_FLOPPY    |     3 +-
 sys/arch/i386/conf/INSTALL_TINY      |     3 +-
 sys/arch/i386/conf/XEN3PAE_DOM0      |     3 +-
 sys/arch/iyonix/conf/GENERIC         |     5 +-
 sys/arch/sgimips/conf/GENERIC32_IP3x |     5 +-
 sys/arch/sparc/conf/GENERIC          |     7 +-
 sys/arch/sparc/conf/INSTALL          |     5 +-
 sys/arch/sparc64/conf/GENERIC        |     5 +-
 sys/conf/files                       |     7 +-
 sys/dev/ic/midway.c                  |  3895 ----------------------------------
 sys/dev/ic/midwayreg.h               |   303 --
 sys/dev/ic/midwayvar.h               |   218 -
 sys/dev/pci/files.pci                |     7 +-
 sys/dev/pci/if_en_pci.c              |   396 ---
 sys/dev/sbus/files.sbus              |     7 +-
 sys/dev/sbus/if_en.c                 |   129 -
 41 files changed, 55 insertions(+), 5129 deletions(-)

diffs (truncated from 5822 to 300 lines):

diff -r 34bf9d0ab80c -r 88aa54df3e63 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Thu Sep 06 00:44:43 2018 +0000
+++ b/distrib/sets/lists/man/mi Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1612 2018/08/25 20:12:21 rin Exp $
+# $NetBSD: mi,v 1.1613 2018/09/06 05:36:49 maxv Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -7131,7 +7131,7 @@
 ./usr/share/man/man4/emips/enic.4              man-sys-man             .man
 ./usr/share/man/man4/emips/intro.4             man-sys-man             .man
 ./usr/share/man/man4/emuxki.4                  man-sys-man             .man
-./usr/share/man/man4/en.4                      man-sys-man             .man
+./usr/share/man/man4/en.4                      man-obsolete            obsolete
 ./usr/share/man/man4/envsys.4                  man-sys-man             .man
 ./usr/share/man/man4/ep.4                      man-sys-man             .man
 ./usr/share/man/man4/epic.4                    man-sys-man             .man
diff -r 34bf9d0ab80c -r 88aa54df3e63 share/man/man4/Makefile
--- a/share/man/man4/Makefile   Thu Sep 06 00:44:43 2018 +0000
+++ b/share/man/man4/Makefile   Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.665 2018/08/25 20:12:21 rin Exp $
+#      $NetBSD: Makefile,v 1.666 2018/09/06 05:36:49 maxv Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/18/93
 
 MAN=   aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -21,7 +21,7 @@
        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 \
        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 en.4 envsys.4 ep.4 esh.4 \
+       eap.4 ebus.4 edc.4 elmc.4 emuxki.4 envsys.4 ep.4 esh.4 \
        esa.4 esiop.4 esm.4 eso.4 et.4 etphy.4 exphy.4 \
        fd.4 filemon.4 finsio.4 flash.4 fpa.4 fms.4 fss.4 \
        fujbp.4 full.4 fxp.4 \
diff -r 34bf9d0ab80c -r 88aa54df3e63 share/man/man4/en.4
--- a/share/man/man4/en.4       Thu Sep 06 00:44:43 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-.\"    $NetBSD: en.4,v 1.8 2008/04/30 13:10:54 martin Exp $
-.\"
-.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
-.\" NASA Ames Research Center.
-.\"
-.\" 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. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-.\" ``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 FOUNDATION OR CONTRIBUTORS
-.\" 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.
-.\"
-.Dd November 10, 1997
-.Dt EN 4
-.Os
-.Sh NAME
-.Nm en
-.Nd Midway-based ATM interfaces device driver
-.Sh SYNOPSIS
-.Cd "en* at pci? dev ? function ?"
-.Cd "en* at sbus? slot ? offset ?"
-.Sh DESCRIPTION
-The
-.Nm
-device driver supports Midway-based
-.Tn ATM
-interfaces including the
-Efficient Networks, Inc. ENI-155 and Adaptec 5900 and 5905.
-.Sh OPTIONS
-The Efficient Networks, Inc. and Adaptec interfaces use significantly
-different DMA engines.
-In order to reduce the size of the
-.Nm
-driver object, exactly one of the following options may be placed
-in the kernel configuration file:
-.Bl -tag -width MIDWAY_ADPONLY
-.It MIDWAY_ADPONLY
-Include support for Adaptec interfaces only.
-.It MIDWAY_ENIONLY
-Include support for Efficient Networks, Inc. interfaces only.
-.El
-.\" .Sh MEDIA SELECTION
-.\" .Sh DIAGNOSTICS
-.Sh HARDWARE
-Cards supported by the
-.Nm
-driver include:
-.Pp
-.Bl -item -compact
-.It
-Efficient Networks, Inc. ENI-155
-.It
-Adaptec 5900 and 5905
-.El
-.Sh SEE ALSO
-.Xr intro 4 ,
-.Xr pci 4 ,
-.Xr sbus 4 ,
-.Xr ifconfig 8
-.Sh BUGS
-The
-.Tn Sbus
-attachment of the
-.Nm
-driver only currently functions on sun4c class systems.
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/algor/conf/P4032
--- a/sys/arch/algor/conf/P4032 Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/algor/conf/P4032 Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P4032,v 1.76 2018/08/25 20:52:40 rin Exp $
+#      $NetBSD: P4032,v 1.77 2018/09/06 05:36:49 maxv Exp $
 #
 # Algorithmics P-4032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P4032-$Revision: 1.76 $"
+#ident                 "P4032-$Revision: 1.77 $"
 
 maxusers 32
 
@@ -130,7 +130,6 @@
 #cz*   at      pci? dev ? function ?           # Cyclades-Z (untested)
 #dpt*  at      pci? dev ? function ?           # DPT SmartCache/SmartRAID
 #eap*  at      pci? dev ? function ?           # Ensoniq AudioPCI
-#en*   at      pci? dev ? function ?           # ENI PCI ATM (untested)
 #ep*   at      pci? dev ? function ?           # 3COM 3c59x
 #epic* at      pci? dev ? function ?           # SMC EPIC/100 Ethernet
 #eso*  at      pci? dev ? function ?           # ESS Solo-1 PCI AudioDrive
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/algor/conf/P5064
--- a/sys/arch/algor/conf/P5064 Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/algor/conf/P5064 Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P5064,v 1.87 2018/08/25 20:52:40 rin Exp $
+#      $NetBSD: P5064,v 1.88 2018/09/06 05:36:49 maxv Exp $
 #
 # Algorithmics P-5064 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P5064-$Revision: 1.87 $"
+#ident                 "P5064-$Revision: 1.88 $"
 
 maxusers 32
 
@@ -126,7 +126,6 @@
 #cz*   at      pci? dev ? function ?           # Cyclades-Z (untested)
 #dpt*  at      pci? dev ? function ?           # DPT SmartCache/SmartRAID
 #eap*  at      pci? dev ? function ?           # Ensoniq AudioPCI
-#en*   at      pci? dev ? function ?           # ENI PCI ATM (untested)
 #ep*   at      pci? dev ? function ?           # 3COM 3c59x
 #epic* at      pci? dev ? function ?           # SMC EPIC/100 Ethernet
 #eso*  at      pci? dev ? function ?           # ESS Solo-1 PCI AudioDrive
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/algor/conf/P6032
--- a/sys/arch/algor/conf/P6032 Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/algor/conf/P6032 Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P6032,v 1.78 2018/08/25 20:52:40 rin Exp $
+#      $NetBSD: P6032,v 1.79 2018/09/06 05:36:49 maxv Exp $
 #
 # Algorithmics P-6032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P6032-$Revision: 1.78 $"
+#ident                 "P6032-$Revision: 1.79 $"
 
 maxusers 32
 
@@ -118,7 +118,6 @@
 #cz*   at      pci? dev ? function ?           # Cyclades-Z (untested)
 #dpt*  at      pci? dev ? function ?           # DPT SmartCache/SmartRAID
 #eap*  at      pci? dev ? function ?           # Ensoniq AudioPCI
-#en*   at      pci? dev ? function ?           # ENI PCI ATM (untested)
 #ep*   at      pci? dev ? function ?           # 3COM 3c59x
 #epic* at      pci? dev ? function ?           # SMC EPIC/100 Ethernet
 #eso*  at      pci? dev ? function ?           # ESS Solo-1 PCI AudioDrive
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/alpha/conf/GENERIC
--- a/sys/arch/alpha/conf/GENERIC       Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/alpha/conf/GENERIC       Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.385 2018/08/25 20:52:40 rin Exp $
+# $NetBSD: GENERIC,v 1.386 2018/09/06 05:36:49 maxv Exp $
 #
 # This machine description file is used to generate the default NetBSD
 # kernel.
@@ -19,7 +19,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-ident          "GENERIC-$Revision: 1.385 $"
+ident          "GENERIC-$Revision: 1.386 $"
 
 maxusers 32
 
@@ -304,7 +304,6 @@
 cz*    at      pci? dev ? function ?           # Cyclades-Z (untested)
 dpt*   at      pci? dev ? function ?           # DPT SmartCache/SmartRAID
 eap*   at      pci? dev ? function ?           # Ensoniq AudioPCI
-en*    at      pci? dev ? function ?           # ENI PCI ATM (untested)
 ep*    at      pci? dev ? function ?           # 3COM 3c59x/3c90x Ethernet
 epic*  at      pci? dev ? function ?           # SMC EPIC/100 Ethernet
 esh*   at      pci? dev ? function ?           # Essential HIPPI card
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/alpha/conf/INSTALL
--- a/sys/arch/alpha/conf/INSTALL       Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/alpha/conf/INSTALL       Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.110 2017/09/14 07:58:38 mrg Exp $
+# $NetBSD: INSTALL,v 1.111 2018/09/06 05:36:49 maxv Exp $
 #
 # Alpha INSTALL kernel.
 
@@ -185,7 +185,6 @@
 bha*   at      pci? dev ? function ?           # BusLogic 9xx SCSI (untested)
 cac*   at      pci? dev ? function ?           # Compaq array controller (untested)
 dpt*   at      pci? dev ? function ?           # DPT SmartCache/SmartRAID
-en*    at      pci? dev ? function ?           # ENI PCI ATM (untested)
 ep*    at      pci? dev ? function ?           # 3COM 3c59x/3c90x Ethernet
 epic*  at      pci? dev ? function ?           # SMC EPIC/100 Ethernet
 ex*    at      pci? dev ? function ?           # 3COM 3c90x[BC] Ethernet
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/alpha/conf/RAWHIDE
--- a/sys/arch/alpha/conf/RAWHIDE       Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/alpha/conf/RAWHIDE       Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: RAWHIDE,v 1.42 2018/08/01 20:04:09 maxv Exp $
+# $NetBSD: RAWHIDE,v 1.43 2018/09/06 05:36:49 maxv Exp $
 #
 # Alpha 4100 stripped for action server kernel.
 #
@@ -59,7 +59,6 @@
 ahc*   at      pci? dev ? function ?           # Adaptec [23]94x, aic78x0 SCSI
 bha*   at      pci? dev ? function ?           # BusLogic 9xx SCSI (untested)
 cy*    at      pci? dev ? function ?           # Cyclades Cyclom-Y (untested)
-en*    at      pci? dev ? function ?           # ENI PCI ATM (untested)
 ep*    at      pci? dev ? function ?           # 3COM 3c59x/3c90x Ethernet
 esh*   at      pci? dev ? function ?           # Essential HIPPI card
 fpa*   at      pci? dev ? function ?           # DEC DEFPA FDDI
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/amd64/conf/ALL
--- a/sys/arch/amd64/conf/ALL   Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/amd64/conf/ALL   Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.100 2018/08/27 16:30:51 riastradh Exp $
+# $NetBSD: ALL,v 1.101 2018/09/06 05:36:49 maxv Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.100 $"
+#ident         "ALL-$Revision: 1.101 $"
 
 maxusers       64              # estimated number of users
 
@@ -951,7 +951,6 @@
 bwi*   at pci? dev ? function ?        # Broadcom BCM43xx wireless
 cas*   at pci? dev ? function ?        # Sun Cassini/Cassini+ Ethernet
 dge*   at pci? dev ? function ?        # Intel 82597 10GbE LR
-en*    at pci? dev ? function ?        # ENI/Adaptec ATM
 ena*   at pci? dev ? function ?        # NOT WORKING - Amazon Elastic Network Adapter
 ep*    at pci? dev ? function ?        # 3Com 3c59x
 epic*  at pci? dev ? function ?        # SMC EPIC/100 Ethernet
diff -r 34bf9d0ab80c -r 88aa54df3e63 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Thu Sep 06 00:44:43 2018 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Thu Sep 06 05:36:49 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.504 2018/08/20 15:04:51 maxv Exp $
+# $NetBSD: GENERIC,v 1.505 2018/09/06 05:36:49 maxv Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 



Home | Main Index | Thread Index | Old Index