Source-Changes-HG archive

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

[src/trunk]: src Retire the LMC driver, and its associated lmcconfig tool. LM...



details:   https://anonhg.NetBSD.org/src/rev/b79030352325
branches:  trunk
changeset: 446594:b79030352325
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Dec 12 07:04:05 2018 +0000

description:
Retire the LMC driver, and its associated lmcconfig tool. LMC has been
mentioned repeatedly as a non-MP-safe driver that is hard to maintain,
and no one is taking care of it.

LMC was removed from OpenBSD three years ago, and from FreeBSD a few
months ago.

diffstat:

 distrib/sets/lists/base/mi        |     4 +-
 distrib/sets/lists/base/rescue.mi |     4 +-
 distrib/sets/lists/comp/mi        |     4 +-
 distrib/sets/lists/debug/mi       |     4 +-
 distrib/sets/lists/man/mi         |    14 +-
 share/man/man4/Makefile           |     4 +-
 share/man/man4/lmc.4              |   686 ----
 share/man/man4/pci.4              |     7 +-
 sys/dev/DEVNAMES                  |     3 +-
 sys/dev/pci/Makefile              |     4 +-
 sys/dev/pci/files.pci             |     7 +-
 sys/dev/pci/if_lmc.c              |  5531 -------------------------------------
 sys/dev/pci/if_lmc.h              |  1396 ---------
 usr.sbin/Makefile                 |     4 +-
 usr.sbin/lmcconfig/Makefile       |    13 -
 usr.sbin/lmcconfig/lmcconfig.8    |   804 -----
 usr.sbin/lmcconfig/lmcconfig.c    |  2589 -----------------
 17 files changed, 25 insertions(+), 11053 deletions(-)

diffs (truncated from 11304 to 300 lines):

diff -r f3acaeddfa4b -r b79030352325 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi        Wed Dec 12 06:36:13 2018 +0000
+++ b/distrib/sets/lists/base/mi        Wed Dec 12 07:04:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1193 2018/11/09 21:33:50 abs Exp $
+# $NetBSD: mi,v 1.1194 2018/12/12 07:04:05 maxv Exp $
 #
 # Note:        Don't delete entries from here - mark them as "obsolete" instead,
 #      unless otherwise stated below.
@@ -1762,7 +1762,7 @@
 ./usr/sbin/ldpd                                        base-router-bin
 ./usr/sbin/link                                        base-sysutil-bin
 ./usr/sbin/linkfarm                            base-obsolete           obsolete
-./usr/sbin/lmcconfig                           base-netutil-bin
+./usr/sbin/lmcconfig                           base-obsolete           obsolete
 ./usr/sbin/lmtp                                        base-obsolete           obsolete
 ./usr/sbin/lockstat                            base-sysutil-bin
 ./usr/sbin/lpc                                 base-lpr-bin
diff -r f3acaeddfa4b -r b79030352325 distrib/sets/lists/base/rescue.mi
--- a/distrib/sets/lists/base/rescue.mi Wed Dec 12 06:36:13 2018 +0000
+++ b/distrib/sets/lists/base/rescue.mi Wed Dec 12 07:04:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rescue.mi,v 1.43 2018/09/23 07:24:19 maxv Exp $
+# $NetBSD: rescue.mi,v 1.44 2018/12/12 07:04:05 maxv Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -67,7 +67,7 @@
 ./rescue/ldd                                   base-rescue-root
 ./rescue/less                                  base-rescue-root
 ./rescue/lfs_cleanerd                          base-rescue-root
-./rescue/lmcconfig                             base-rescue-root
+./rescue/lmcconfig                             base-obsolete   obsolete
 ./rescue/lmcctl                                        base-obsolete   obsolete
 ./rescue/ln                                    base-rescue-root
 ./rescue/ls                                    base-rescue-root
diff -r f3acaeddfa4b -r b79030352325 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Wed Dec 12 06:36:13 2018 +0000
+++ b/distrib/sets/lists/comp/mi        Wed Dec 12 07:04:05 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.2240 2018/12/01 02:43:43 kamil Exp $
+#      $NetBSD: mi,v 1.2241 2018/12/12 07:04:05 maxv Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.comp                           comp-sys-root
@@ -643,7 +643,7 @@
 ./usr/include/dev/pci/if_fxpreg.h              comp-obsolete           obsolete
 ./usr/include/dev/pci/if_fxpvar.h              comp-obsolete           obsolete
 ./usr/include/dev/pci/if_levar.h               comp-obsolete           obsolete
-./usr/include/dev/pci/if_lmc.h                 comp-c-include
+./usr/include/dev/pci/if_lmc.h                 comp-obsolete           obsolete
 ./usr/include/dev/pci/if_lmc_types.h           comp-obsolete           obsolete
 ./usr/include/dev/pci/if_lmcioctl.h            comp-obsolete           obsolete
 ./usr/include/dev/pci/if_lmcvar.h              comp-obsolete           obsolete
diff -r f3acaeddfa4b -r b79030352325 distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Wed Dec 12 06:36:13 2018 +0000
+++ b/distrib/sets/lists/debug/mi       Wed Dec 12 07:04:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.269 2018/10/01 08:23:53 jmcneill Exp $
+# $NetBSD: mi,v 1.270 2018/12/12 07:04:05 maxv Exp $
 ./etc/mtree/set.debug                           comp-sys-root
 ./usr/lib                                      comp-sys-usr            compatdir
 ./usr/lib/i18n/libBIG5_g.a                     comp-c-debuglib         debuglib,compatfile
@@ -1124,7 +1124,7 @@
 ./usr/libdata/debug/usr/sbin/lastlogin.debug   comp-sysutil-debug      debug
 ./usr/libdata/debug/usr/sbin/ldpd.debug                comp-router-debug       debug
 ./usr/libdata/debug/usr/sbin/link.debug                comp-sysutil-debug      debug
-./usr/libdata/debug/usr/sbin/lmcconfig.debug   comp-netutil-debug      debug
+./usr/libdata/debug/usr/sbin/lmcconfig.debug   comp-obsolete           obsolete
 ./usr/libdata/debug/usr/sbin/lockstat.debug    comp-sysutil-debug      debug
 ./usr/libdata/debug/usr/sbin/lpc.debug         comp-lpr-debug          debug
 ./usr/libdata/debug/usr/sbin/lpd.debug         comp-lpr-debug          debug
diff -r f3acaeddfa4b -r b79030352325 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Wed Dec 12 06:36:13 2018 +0000
+++ b/distrib/sets/lists/man/mi Wed Dec 12 07:04:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1630 2018/12/08 01:47:21 sevan Exp $
+# $NetBSD: mi,v 1.1631 2018/12/12 07:04:05 maxv Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1386,7 +1386,7 @@
 ./usr/share/man/cat4/lii.0                     man-sys-catman          .cat
 ./usr/share/man/cat4/lkm.0                     man-obsolete            obsolete
 ./usr/share/man/cat4/lm.0                      man-sys-catman          .cat
-./usr/share/man/cat4/lmc.0                     man-sys-catman          .cat
+./usr/share/man/cat4/lmc.0                     man-obsolete            obsolete
 ./usr/share/man/cat4/lmenv.0                   man-sys-catman          .cat
 ./usr/share/man/cat4/lmtemp.0                  man-sys-catman          .cat
 ./usr/share/man/cat4/lo.0                      man-sys-catman          .cat
@@ -2671,7 +2671,7 @@
 ./usr/share/man/cat8/ldpd.0                    man-router-catman       .cat
 ./usr/share/man/cat8/lfs_cleanerd.0            man-sysutil-catman      .cat
 ./usr/share/man/cat8/link.0                    man-sysutil-catman      .cat
-./usr/share/man/cat8/lmcconfig.0               man-sysutil-catman      .cat
+./usr/share/man/cat8/lmcconfig.0               man-obsolete            obsolete
 ./usr/share/man/cat8/lmcctl.0                  man-obsolete            obsolete
 ./usr/share/man/cat8/lmtp.0                    man-postfix-catman      postfix,.cat
 ./usr/share/man/cat8/local.0                   man-postfix-catman      postfix,.cat
@@ -4507,7 +4507,7 @@
 ./usr/share/man/html4/lii.html                 man-sys-htmlman         html
 ./usr/share/man/html4/lkm.html                 man-obsolete            obsolete
 ./usr/share/man/html4/lm.html                  man-sys-htmlman         html
-./usr/share/man/html4/lmc.html                 man-sys-htmlman         html
+./usr/share/man/html4/lmc.html                 man-obsolete            obsolete
 ./usr/share/man/html4/lmenv.html               man-sys-htmlman         html
 ./usr/share/man/html4/lmtemp.html              man-sys-htmlman         html
 ./usr/share/man/html4/lo.html                  man-sys-htmlman         html
@@ -5636,7 +5636,7 @@
 ./usr/share/man/html8/ldpd.html                        man-router-htmlman      html
 ./usr/share/man/html8/lfs_cleanerd.html                man-sysutil-htmlman     html
 ./usr/share/man/html8/link.html                        man-sysutil-htmlman     html
-./usr/share/man/html8/lmcconfig.html           man-sysutil-htmlman     html
+./usr/share/man/html8/lmcconfig.html           man-obsolete            obsolete
 ./usr/share/man/html8/lmtp.html                        man-postfix-htmlman     postfix,html
 ./usr/share/man/html8/local.html               man-postfix-htmlman     postfix,html
 ./usr/share/man/html8/locate.updatedb.html     man-sysutil-htmlman     html
@@ -7468,7 +7468,7 @@
 ./usr/share/man/man4/lii.4                     man-sys-man             .man
 ./usr/share/man/man4/lkm.4                     man-obsolete            obsolete
 ./usr/share/man/man4/lm.4                      man-sys-man             .man
-./usr/share/man/man4/lmc.4                     man-sys-man             .man
+./usr/share/man/man4/lmc.4                     man-obsolete            obsolete
 ./usr/share/man/man4/lmenv.4                   man-sys-man             .man
 ./usr/share/man/man4/lmtemp.4                  man-sys-man             .man
 ./usr/share/man/man4/lo.4                      man-sys-man             .man
@@ -8753,7 +8753,7 @@
 ./usr/share/man/man8/ldpd.8                    man-router-man          .man
 ./usr/share/man/man8/lfs_cleanerd.8            man-sysutil-man         .man
 ./usr/share/man/man8/link.8                    man-sysutil-man         .man
-./usr/share/man/man8/lmcconfig.8               man-sysutil-man         .man
+./usr/share/man/man8/lmcconfig.8               man-obsolete            obsolete
 ./usr/share/man/man8/lmcctl.8                  man-obsolete            obsolete
 ./usr/share/man/man8/lmtp.8                    man-postfix-man         postfix,.man
 ./usr/share/man/man8/local.8                   man-postfix-man         postfix,.man
diff -r f3acaeddfa4b -r b79030352325 share/man/man4/Makefile
--- a/share/man/man4/Makefile   Wed Dec 12 06:36:13 2018 +0000
+++ b/share/man/man4/Makefile   Wed Dec 12 07:04:05 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.674 2018/12/01 11:17:28 jdolecek Exp $
+#      $NetBSD: Makefile,v 1.675 2018/12/12 07:04:05 maxv Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/18/93
 
 MAN=   aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -105,7 +105,7 @@
 MAN+=  podulebus.4 ieee1394if.4 spi.4
 
 # machine-independent PCI devices
-MAN+=  cz.4 epic.4 lmc.4 viaenv.4
+MAN+=  cz.4 epic.4 viaenv.4
 
 # machine-independent ISA devices
 MAN+=  aha.4 ai.4 aic.4 ast.4 ate.4 boca.4 cs.4 cy.4 ec.4 ef.4 \
diff -r f3acaeddfa4b -r b79030352325 share/man/man4/lmc.4
--- a/share/man/man4/lmc.4      Wed Dec 12 06:36:13 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,686 +0,0 @@
-.\"-
-.\" Copyright (c) 2002-2006 David Boggs. (boggs%boggs.palo-alto.ca.us@localhost)
-.\" All rights reserved.  I wrote this man page from scratch.
-.\"
-.\" BSD License:
-.\"
-.\" 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 AUTHOR 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 AUTHOR 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.
-.\"
-.\" GNU General Public License:
-.\"
-.\" This program is free software; you can redistribute it and/or modify it
-.\" under the terms of the GNU General Public License as published by the Free
-.\" Software Foundation; either version 2 of the License, or (at your option)
-.\" any later version.
-.\"
-.\" This program is distributed in the hope that it will be useful, but WITHOUT
-.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-.\" more details.
-.\"
-.\" You should have received a copy of the GNU General Public License along with
-.\" this program; if not, write to the Free Software Foundation, Inc., 59
-.\" Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-.\"
-.\"                   * * * * * * * * * * * * *
-.\"                   * ATTENTION MDOC POLICE *
-.\"   * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-.\"   * This device driver works on FIVE OSs with NO changes. *
-.\"   * IFDEFS are used to ignore C and Groff code that is    *
-.\"   *  not relevant to a particular Operating System.       *
-.\"   * Author will merge local changes and re-sync copies.   *
-.\"   * Please feel free to correct my groff usage, but...    *
-.\"   * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-.\"           *  PLEASE DO NOT "UN-IFDEF" THIS FILE!  *
-.\"           * * * * * * * * * * * * * * * * * * * * *
-.\"
-.\" $NetBSD: lmc.4,v 1.22 2014/03/18 18:20:39 riastradh Exp $
-.\"
-.Dd April 11, 2006
-.Dt LMC 4
-.Os
-.Sh NAME
-.Nm lmc
-.Nd device driver for
-.Tn LMC
-(and some
-.Tn SBE )
-wide-area network interface cards
-.Sh SYNOPSIS
-This driver is built into the GENERIC kernel so it should "just work".
-.Pp
-The driver can be built into a kernel by adding the following to
-.Pa /sys/arch/ARCH/conf/YOURKERNEL :
-.Bd -unfilled -offset indent -compact
-.Cd lmc*               at pci?
-.Cd options    ALTQ
-.Cd options    ALTQ_HFSC  # for altq example
-.Cd pseudo-device sppp
-.Cd pseudo-device bpfilter
-.Ed
-.Pp
-The driver can send and receive raw IP packets even if
-SPPP is not configured into the kernel.
-.Sh DESCRIPTION
-This is an open-source
-.Tn Unix
-device driver for PCI-bus wide-area network interface cards.
-It sends and receives packets
-in HDLC frames over synchronous circuits.
-A computer plus
-.Ux
-plus some
-.Tn LMC
-cards makes an
-.Em open
-wide-area network router.
-.Pp
-The
-.Nm
-driver works with
-.Fx ,
-.Nx ,
-.Ox ,
-.Tn BSD/OS ,
-and
-.Tn Linux
-OSs.
-It has been tested on
-.Tn i386
-(SMP 32-bit little-end),
-.Tn PowerPC
-(32-bit big-end),
-.Tn Alpha
-(64-bit little-end), and
-.Tn Sparc
-(64-bit big-end) architectures.
-.Pp
-The
-.Nm
-driver works with the following cards:
-.Bl -tag -width "LMC5200" -offset indent
-.It Sy LMC5200
-HSSI\[em]High Speed Serial Interface,
-.Bd -unfilled -compact
-EIA612/613, 50-pin connector,
-0 to 52 Mb/s, DTE only.
-.Ed
-.It Sy LMC5245
-T3, 2xBNC conns, 75 ohm
-.Bd -unfilled -compact
-C-Parity or M13 Framing,
-DSX-3 up to 910 ft.
-.Ed
-.It Sy LMC1000
-SSI\[em]Synchronous Serial Interface,
-.Bd -unfilled -compact
-V.35, X.21, EIA449, EIA530(A), EIA232,
-0 to 10 Mb/s, DTE or DCE.
-.Ed
-.It Sy LMC1200
-T1/E1, RJ45 conn, 100 or 120 ohms,
-.Bd -unfilled -compact
-T1-B8ZS-ESF, T1-AMI-SF, E1-HDB3-many,
-DSX-1 up to 1500 ft; CSU up to 6 Kft.



Home | Main Index | Thread Index | Old Index