Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Remove uyap, USB YAP phone firmware loader.



details:   https://anonhg.NetBSD.org/src/rev/f8e8341f01f0
branches:  trunk
changeset: 932798:f8e8341f01f0
user:      maya <maya%NetBSD.org@localhost>
date:      Sat May 16 13:46:10 2020 +0000

description:
Remove uyap, USB YAP phone firmware loader.

And the associated ezload EZ-USB code, which is only used by uyap.
It could theoretically be used by other drivers, but none of them are
in tree.

I suspect that this device isn't in use, as phone technology has improved
a lot since 2001 when uyap(4) was added to the tree.

Proposed with no objections on netbsd-users on 13 April 2020

diffstat:

 distrib/sets/lists/man/mi              |     8 +-
 share/man/man4/Makefile                |     4 +-
 share/man/man4/usb.4                   |     6 +-
 share/man/man4/uyap.4                  |    57 -
 sys/arch/algor/conf/P4032              |     7 +-
 sys/arch/algor/conf/P5064              |     7 +-
 sys/arch/algor/conf/P6032              |     7 +-
 sys/arch/alpha/conf/GENERIC            |     7 +-
 sys/arch/amd64/conf/ALL                |     7 +-
 sys/arch/amd64/conf/XEN3_DOM0          |     7 +-
 sys/arch/cats/conf/GENERIC             |     5 +-
 sys/arch/evbarm/conf/HDL_G             |     5 +-
 sys/arch/evbarm/conf/HPT5325           |     5 +-
 sys/arch/evbarm/conf/MINI2440          |     5 +-
 sys/arch/evbarm/conf/MMNET_GENERIC     |     7 +-
 sys/arch/evbarm/conf/MPCSA_GENERIC     |     7 +-
 sys/arch/evbarm/conf/POGO              |     1 -
 sys/arch/evbarm/conf/SHEEVAPLUG        |     5 +-
 sys/arch/evbarm/conf/SMDK2410          |     5 +-
 sys/arch/evbarm/conf/TS7200            |     5 +-
 sys/arch/evbarm/conf/TWINTAIL          |     5 +-
 sys/arch/evbppc/conf/OPENBLOCKS266_OPT |     5 +-
 sys/arch/evbppc/conf/PMPPC             |     5 +-
 sys/arch/hpcmips/conf/GENERIC          |     7 +-
 sys/arch/hpcmips/conf/TX3922           |     5 +-
 sys/arch/hpcmips/conf/VR41XX           |     7 +-
 sys/arch/hppa/conf/GENERIC             |     7 +-
 sys/arch/i386/conf/ALL                 |     7 +-
 sys/arch/i386/conf/GENERIC_TINY        |     5 +-
 sys/arch/i386/conf/INSTALL_FLOPPY      |     5 +-
 sys/arch/i386/conf/XEN3PAE_DOM0        |     5 +-
 sys/arch/landisk/conf/GENERIC          |     7 +-
 sys/arch/ofppc/conf/GENERIC            |     5 +-
 sys/arch/playstation2/conf/DEBUG       |     5 +-
 sys/arch/prep/conf/GENERIC             |     7 +-
 sys/arch/x68k/conf/GENERIC             |     7 +-
 sys/dev/DEVNAMES                       |     4 +-
 sys/dev/usb/FILES                      |     4 -
 sys/dev/usb/TODO.usbmp                 |     3 +-
 sys/dev/usb/ezload.c                   |   166 ----
 sys/dev/usb/ezload.h                   |    40 -
 sys/dev/usb/files.usb                  |    12 +-
 sys/dev/usb/usbdevices.config          |     5 +-
 sys/dev/usb/uyap.c                     |   123 ---
 sys/dev/usb/uyap_firmware.h            |  1230 --------------------------------
 45 files changed, 59 insertions(+), 1789 deletions(-)

diffs (truncated from 2584 to 300 lines):

diff -r 8638b91ad831 -r f8e8341f01f0 distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sat May 16 12:54:27 2020 +0000
+++ b/distrib/sets/lists/man/mi Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1687 2020/04/12 01:10:53 simonb Exp $
+# $NetBSD: mi,v 1.1688 2020/05/16 13:46:10 maya Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1958,7 +1958,7 @@
 ./usr/share/man/cat4/uvisor.0                  man-sys-catman          .cat
 ./usr/share/man/cat4/uvscom.0                  man-sys-catman          .cat
 ./usr/share/man/cat4/uxrcom.0                  man-sys-catman          .cat
-./usr/share/man/cat4/uyap.0                    man-sys-catman          .cat
+./usr/share/man/cat4/uyap.0                    man-obsolete            obsolete
 ./usr/share/man/cat4/uyurex.0                  man-obsolete            obsolete
 ./usr/share/man/cat4/vald.0                    man-sys-catman          .cat
 ./usr/share/man/cat4/valz.0                    man-sys-catman          .cat
@@ -5103,7 +5103,7 @@
 ./usr/share/man/html4/uvisor.html              man-sys-htmlman         html
 ./usr/share/man/html4/uvscom.html              man-sys-htmlman         html
 ./usr/share/man/html4/uxrcom.html              man-sys-htmlman         html
-./usr/share/man/html4/uyap.html                        man-sys-htmlman         html
+./usr/share/man/html4/uyap.html                        man-obsolete            obsolete
 ./usr/share/man/html4/uyurex.html              man-obsolete            obsolete
 ./usr/share/man/html4/vald.html                        man-sys-htmlman         html
 ./usr/share/man/html4/valz.html                        man-sys-htmlman         html
@@ -8172,7 +8172,7 @@
 ./usr/share/man/man4/uvisor.4                  man-sys-man             .man
 ./usr/share/man/man4/uvscom.4                  man-sys-man             .man
 ./usr/share/man/man4/uxrcom.4                  man-sys-man             .man
-./usr/share/man/man4/uyap.4                    man-sys-man             .man
+./usr/share/man/man4/uyap.4                    man-obsolete            obsolete
 ./usr/share/man/man4/uyurex.4                  man-obsolete            obsolete
 ./usr/share/man/man4/vald.4                    man-sys-man             .man
 ./usr/share/man/man4/valz.4                    man-sys-man             .man
diff -r 8638b91ad831 -r f8e8341f01f0 share/man/man4/Makefile
--- a/share/man/man4/Makefile   Sat May 16 12:54:27 2020 +0000
+++ b/share/man/man4/Makefile   Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.704 2020/04/12 01:10:54 simonb Exp $
+#      $NetBSD: Makefile,v 1.705 2020/05/16 13:46:10 maya Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/18/93
 
 MAN=   aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -88,7 +88,7 @@
        uplcom.4 ure.4 url.4 urndis.4 urtw.4 urtwn.4 \
        usb.4 usbnet.4 uscanner.4 uslsa.4 usmsc.4 usscanner.4 \
        ustir.4 uthum.4 utoppy.4 uts.4 uvideo.4 uvisor.4 uvscom.4 uxrcom.4 \
-       uyap.4 xhci.4 \
+       xhci.4
 
 # Ir devices
 MAN+=  irframe.4 cir.4 irframetty.4 oboe.4
diff -r 8638b91ad831 -r f8e8341f01f0 share/man/man4/usb.4
--- a/share/man/man4/usb.4      Sat May 16 12:54:27 2020 +0000
+++ b/share/man/man4/usb.4      Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: usb.4,v 1.111 2020/01/29 18:39:04 maya Exp $
+.\" $NetBSD: usb.4,v 1.112 2020/05/16 13:46:10 maya Exp $
 .\"
 .\" Copyright (c) 1999-2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 29, 2020
+.Dd May 16, 2020
 .Dt USB 4
 .Os
 .Sh NAME
@@ -213,8 +213,6 @@
 SigmaTel STIr4200 USB IrDA bridges
 .It Xr utoppy 4
 Topfield TF5000PVR range of digital video recorders
-.It Xr uyap 4
-USB YAP phone firmware loader
 .El
 .Sh INTRODUCTION TO USB
 The USB 1.x is a 12 Mb/s serial bus with 1.5 Mb/s for low speed devices.
diff -r 8638b91ad831 -r f8e8341f01f0 share/man/man4/uyap.4
--- a/share/man/man4/uyap.4     Sat May 16 12:54:27 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-.\" $NetBSD: uyap.4,v 1.5 2016/08/28 05:14:35 wiz Exp $
-.\"
-.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Lennart Augustsson.
-.\"
-.\" 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 January 2, 2001
-.Dt UYAP 4
-.Os
-.Sh NAME
-.Nm uyap
-.Nd USB YAP phone firmware loader
-.Sh SYNOPSIS
-.Cd "uyap* at uhub?"
-.Sh DESCRIPTION
-The
-.Nm
-driver downloads firmware into a YAP phone.
-The device will then
-disconnect and reappear as a composite device with two audio pipes
-(handled by
-.Xr uaudio 4 )
-and a HID device (handled by
-.Xr uhid 4 ) .
-.Sh SEE ALSO
-.Xr uaudio 4 ,
-.Xr uhid 4 ,
-.Xr usb 4
-.Sh HISTORY
-The
-.Nm
-driver
-appeared in
-.Nx 1.6 .
diff -r 8638b91ad831 -r f8e8341f01f0 sys/arch/algor/conf/P4032
--- a/sys/arch/algor/conf/P4032 Sat May 16 12:54:27 2020 +0000
+++ b/sys/arch/algor/conf/P4032 Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P4032,v 1.81 2020/01/25 18:38:34 thorpej Exp $
+#      $NetBSD: P4032,v 1.82 2020/05/16 13:46:10 maya Exp $
 #
 # Algorithmics P-4032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P4032-$Revision: 1.81 $"
+#ident                 "P4032-$Revision: 1.82 $"
 
 maxusers 32
 
@@ -292,9 +292,6 @@
 # USB scanners
 #uscanner* at uhub? port ?
 
-# Y@P firmware loader
-#uyap* at uhub? port ?
-
 # USB Generic driver
 #ugen* at uhub? port ?
 
diff -r 8638b91ad831 -r f8e8341f01f0 sys/arch/algor/conf/P5064
--- a/sys/arch/algor/conf/P5064 Sat May 16 12:54:27 2020 +0000
+++ b/sys/arch/algor/conf/P5064 Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P5064,v 1.92 2020/01/25 18:38:34 thorpej Exp $
+#      $NetBSD: P5064,v 1.93 2020/05/16 13:46:10 maya Exp $
 #
 # Algorithmics P-5064 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P5064-$Revision: 1.92 $"
+#ident                 "P5064-$Revision: 1.93 $"
 
 maxusers 32
 
@@ -357,9 +357,6 @@
 # USB scanners
 #uscanner* at uhub? port ?
 
-# Y@P firmware loader
-#uyap* at uhub? port ?
-
 # USB Generic driver
 #ugen* at uhub? port ?
 
diff -r 8638b91ad831 -r f8e8341f01f0 sys/arch/algor/conf/P6032
--- a/sys/arch/algor/conf/P6032 Sat May 16 12:54:27 2020 +0000
+++ b/sys/arch/algor/conf/P6032 Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P6032,v 1.82 2020/01/20 18:38:19 thorpej Exp $
+#      $NetBSD: P6032,v 1.83 2020/05/16 13:46:10 maya Exp $
 #
 # Algorithmics P-6032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P6032-$Revision: 1.82 $"
+#ident                 "P6032-$Revision: 1.83 $"
 
 maxusers 32
 
@@ -361,9 +361,6 @@
 # USB scanners
 #uscanner* at uhub? port ?
 
-# Y@P firmware loader
-#uyap* at uhub? port ?
-
 # USB Generic driver
 #ugen* at uhub? port ?
 
diff -r 8638b91ad831 -r f8e8341f01f0 sys/arch/alpha/conf/GENERIC
--- a/sys/arch/alpha/conf/GENERIC       Sat May 16 12:54:27 2020 +0000
+++ b/sys/arch/alpha/conf/GENERIC       Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.401 2020/03/25 17:06:17 jdolecek Exp $
+# $NetBSD: GENERIC,v 1.402 2020/05/16 13:46:10 maya 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.401 $"
+ident          "GENERIC-$Revision: 1.402 $"
 
 maxusers 32
 
@@ -627,9 +627,6 @@
 # USB scanners
 #uscanner* at uhub? port ?
 
-# Y@P firmware loader
-uyap* at uhub? port ?
-
 # D-Link DSB-R100 USB FM radio tuner
 udsbr* at uhub? port ?
 radio* at udsbr?
diff -r 8638b91ad831 -r f8e8341f01f0 sys/arch/amd64/conf/ALL
--- a/sys/arch/amd64/conf/ALL   Sat May 16 12:54:27 2020 +0000
+++ b/sys/arch/amd64/conf/ALL   Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.149 2020/04/25 12:41:57 simonb Exp $
+# $NetBSD: ALL,v 1.150 2020/05/16 13:46:10 maya 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.149 $"
+#ident         "ALL-$Revision: 1.150 $"
 
 maxusers       64              # estimated number of users
 
@@ -1318,9 +1318,6 @@
 # Topfield TF5000PVR range of DVB recorders
 utoppy* at uhub? port ?
 
-# Y@P firmware loader
-uyap* at uhub? port ?
-
 # D-Link DSB-R100 USB radio
 udsbr* at uhub? port ?
 radio* at udsbr?
diff -r 8638b91ad831 -r f8e8341f01f0 sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Sat May 16 12:54:27 2020 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Sat May 16 13:46:10 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.178 2020/05/13 08:42:01 bouyer Exp $
+# $NetBSD: XEN3_DOM0,v 1.179 2020/05/16 13:46:10 maya Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -12,7 +12,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOM0-$Revision: 1.178 $"
+#ident         "XEN3_DOM0-$Revision: 1.179 $"
 
 maxusers       32              # estimated number of users
 



Home | Main Index | Thread Index | Old Index