git: Remove the old USB stack and related userland, etc.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Nov 10 02:51:15 PST 2014


commit 2a6179996e5a503bd61c641cef1e49ba5fb1576f
Author: Sascha Wildner <saw at online.de>
Date:   Mon Nov 10 11:49:03 2014 +0100

    Remove the old USB stack and related userland, etc.
    
    As detailed in UPDATING, users with a custom configuration file which
    was derived from a *GENERIC file before we made usb4bsd default (this
    happened in 3.6) might need to remove or comment out a couple of
    devices which are now unknown.

Summary of changes:
 Makefile_upgrade.inc                           |  591 +---
 UPDATING                                       |   25 +-
 etc/Makefile                                   |    2 +-
 etc/defaults/rc.conf                           |    2 -
 etc/mtree/BSD.include.dist                     |    2 -
 etc/rc.d/Makefile                              |    2 +-
 etc/rc.d/syscons                               |    2 +-
 etc/rc.d/usbd                                  |   21 -
 etc/usbd.conf                                  |   54 -
 include/Makefile                               |    8 +-
 lib/Makefile                                   |   11 +-
 lib/libusbhid/Makefile                         |   25 -
 lib/libusbhid/data.c                           |   94 -
 lib/libusbhid/descr.c                          |   79 -
 lib/libusbhid/parse.c                          |  440 ---
 lib/libusbhid/usage.c                          |  237 --
 lib/libusbhid/usbhid.3                         |  225 --
 lib/libusbhid/usbhid.h                         |  109 -
 lib/libusbhid/usbvar.h                         |   37 -
 share/examples/etc/README.examples             |    1 -
 share/man/man4/Makefile                        |   66 +-
 share/man/man4/lgue.4                          |   62 -
 share/man/man4/rue.4                           |  155 -
 share/man/man4/snd_uaudio.4                    |    4 +-
 share/man/man4/ural.4                          |  175 --
 share/man/man5/make.conf.5                     |    5 -
 share/man/man5/rc.conf.5                       |   17 -
 sys/bus/Makefile                               |    8 +-
 sys/bus/pci/pci.c                              |   11 -
 sys/bus/usb/FILES                              |   58 -
 sys/bus/usb/Makefile                           |    7 -
 sys/bus/usb/dsbr100io.h                        |   42 -
 sys/bus/usb/ehci.c                             | 3201 ---------------------
 sys/bus/usb/ehci/Makefile                      |   11 -
 sys/bus/usb/ehci_pci.c                         |  569 ----
 sys/bus/usb/ehcireg.h                          |  301 --
 sys/bus/usb/ehcivar.h                          |  173 --
 sys/bus/usb/hid.c                              |  461 ---
 sys/bus/usb/hid.h                              |   94 -
 sys/bus/usb/kue_fw.h                           |  686 -----
 sys/bus/usb/ohci.c                             | 3616 -----------------------
 sys/bus/usb/ohci_pci.c                         |  399 ---
 sys/bus/usb/ohcireg.h                          |  250 --
 sys/bus/usb/ohcivar.h                          |  166 --
 sys/bus/usb/rio500_usb.h                       |   44 -
 sys/bus/usb/ugraphire_rdesc.h                  |   95 -
 sys/bus/usb/uhci.c                             | 3497 -----------------------
 sys/bus/usb/uhci_pci.c                         |  496 ----
 sys/bus/usb/uhcireg.h                          |  194 --
 sys/bus/usb/uhcivar.h                          |  201 --
 sys/bus/usb/uhub.c                             |  739 -----
 sys/bus/usb/usb.c                              |  996 -------
 sys/bus/usb/usb.h                              |  702 -----
 sys/bus/usb/usb/Makefile                       |   25 -
 sys/bus/usb/usb_ethersubr.c                    |  110 -
 sys/bus/usb/usb_ethersubr.h                    |   47 -
 sys/bus/usb/usb_if.m                           |   43 -
 sys/bus/usb/usb_mem.c                          |  297 --
 sys/bus/usb/usb_mem.h                          |   61 -
 sys/bus/usb/usb_port.h                         |  191 --
 sys/bus/usb/usb_quirks.c                       |  197 --
 sys/bus/usb/usb_quirks.h                       |   64 -
 sys/bus/usb/usb_subr.c                         | 1275 ---------
 sys/bus/usb/usbcdc.h                           |  184 --
 sys/bus/usb/usbdi.c                            | 1245 --------
 sys/bus/usb/usbdi.h                            |  280 --
 sys/bus/usb/usbdi_util.c                       |  564 ----
 sys/bus/usb/usbdi_util.h                       |   99 -
 sys/bus/usb/usbdivar.h                         |  293 --
 sys/bus/usb/usbhid.h                           |  190 --
 sys/conf/files                                 |   50 -
 sys/conf/kmod.mk                               |    8 +-
 sys/config/GENERIC                             |   18 +-
 sys/config/LINT                                |   35 -
 sys/config/LINT64                              |   35 -
 sys/config/SOEKRIS                             |   13 +-
 sys/config/X86_64_GENERIC                      |   18 +-
 sys/dev/Makefile                               |    4 -
 sys/dev/disk/nata/Makefile                     |    4 -
 sys/dev/disk/nata/ata-usb.c                    |  989 -------
 sys/dev/disk/nata/natausb/Makefile             |    9 -
 sys/dev/netif/Makefile                         |    4 -
 sys/dev/netif/aue/Makefile                     |    8 -
 sys/dev/netif/aue/if_aue.c                     | 1482 ----------
 sys/dev/netif/aue/if_auereg.h                  |  250 --
 sys/dev/netif/axe/Makefile                     |    7 -
 sys/dev/netif/axe/if_axe.c                     | 1069 -------
 sys/dev/netif/axe/if_axereg.h                  |  158 -
 sys/dev/netif/cue/Makefile                     |    7 -
 sys/dev/netif/cue/if_cue.c                     | 1150 --------
 sys/dev/netif/cue/if_cuereg.h                  |  180 --
 sys/dev/netif/kue/Makefile                     |    8 -
 sys/dev/netif/kue/if_kue.c                     | 1105 -------
 sys/dev/netif/kue/if_kuereg.h                  |  181 --
 sys/dev/netif/lgue/Makefile                    |   10 -
 sys/dev/netif/lgue/if_lgue.c                   |  864 ------
 sys/dev/netif/lgue/if_lgue.h                   |   57 -
 sys/dev/netif/ndis/Makefile                    |   10 +-
 sys/dev/netif/ndis/if_ndis.c                   |   28 -
 sys/dev/netif/ndis/if_ndis_pccard.c            |    7 -
 sys/dev/netif/ndis/if_ndis_pci.c               |    7 -
 sys/dev/netif/ndis/if_ndis_usb.c               |  263 --
 sys/dev/netif/ndis/if_ndisvar.h                |   46 -
 sys/dev/netif/rue/Makefile                     |    8 -
 sys/dev/netif/rue/if_rue.c                     | 1380 ---------
 sys/dev/netif/rue/if_ruereg.h                  |  228 --
 sys/dev/sound/driver/Makefile                  |    4 -
 sys/dev/sound/driver/uaudio/Makefile           |   10 -
 sys/dev/sound/usb/uaudio.c                     | 3146 --------------------
 sys/dev/sound/usb/uaudio.h                     |   54 -
 sys/dev/sound/usb/uaudio_pcm.c                 |  417 ---
 sys/dev/sound/usb/uaudioreg.h                  |  405 ---
 sys/dev/usbmisc/Makefile                       |    8 -
 sys/dev/usbmisc/moscom/Makefile                |    9 -
 sys/dev/usbmisc/moscom/moscom.c                |  449 ---
 sys/dev/usbmisc/uark/Makefile                  |    8 -
 sys/dev/usbmisc/uark/uark.c                    |  371 ---
 sys/dev/usbmisc/ubsa/Makefile                  |    9 -
 sys/dev/usbmisc/ubsa/ubsa.c                    |  713 -----
 sys/dev/usbmisc/ubt/Makefile                   |    6 -
 sys/dev/usbmisc/ubt/ubt.c                      | 1669 -----------
 sys/dev/usbmisc/uchcom/Makefile                |    9 -
 sys/dev/usbmisc/uchcom/uchcom.c                | 1028 -------
 sys/dev/usbmisc/ucom/Makefile                  |   10 -
 sys/dev/usbmisc/ucom/ucom.c                    | 1299 ---------
 sys/dev/usbmisc/ucom/ucomvar.h                 |  186 --
 sys/dev/usbmisc/ufm/Makefile                   |    8 -
 sys/dev/usbmisc/ufm/ufm.c                      |  380 ---
 sys/dev/usbmisc/uftdi/Makefile                 |   10 -
 sys/dev/usbmisc/uftdi/uftdi.c                  |  999 -------
 sys/dev/usbmisc/uftdi/uftdireg.h               |  341 ---
 sys/dev/usbmisc/ugen/Makefile                  |    8 -
 sys/dev/usbmisc/ugen/ugen.c                    | 1564 ----------
 sys/dev/usbmisc/ugen/ugenbuf.c                 |   96 -
 sys/dev/usbmisc/ugen/ugenbuf.h                 |   40 -
 sys/dev/usbmisc/ugensa/Makefile                |    8 -
 sys/dev/usbmisc/ugensa/ugensa.c                |  477 ----
 sys/dev/usbmisc/uhid/Makefile                  |    8 -
 sys/dev/usbmisc/uhid/uhid.c                    |  747 -----
 sys/dev/usbmisc/ukbd/Makefile                  |   14 -
 sys/dev/usbmisc/ukbd/ukbd.c                    | 1540 ----------
 sys/dev/usbmisc/ulpt/Makefile                  |    8 -
 sys/dev/usbmisc/ulpt/ulpt.c                    |  758 -----
 sys/dev/usbmisc/umass/Makefile                 |   11 -
 sys/dev/usbmisc/umass/umass.c                  | 3636 ------------------------
 sys/dev/usbmisc/umct/Makefile                  |    9 -
 sys/dev/usbmisc/umct/umct.c                    |  501 ----
 sys/dev/usbmisc/umodem/Makefile                |    8 -
 sys/dev/usbmisc/umodem/umodem.c                |  774 -----
 sys/dev/usbmisc/ums/Makefile                   |    8 -
 sys/dev/usbmisc/ums/ums.c                      |  839 ------
 sys/dev/usbmisc/uplcom/Makefile                |    9 -
 sys/dev/usbmisc/uplcom/uplcom.c                |  984 -------
 sys/dev/usbmisc/urio/urio.c                    |  560 ----
 sys/dev/usbmisc/uscanner/Makefile              |    8 -
 sys/dev/usbmisc/uscanner/uscanner.c            |  678 -----
 sys/dev/usbmisc/uslcom/Makefile                |    8 -
 sys/dev/usbmisc/uslcom/uslcom.c                |  480 ----
 sys/dev/usbmisc/uticom/Makefile                |   10 -
 sys/dev/usbmisc/uticom/uticom.c                |  971 -------
 sys/dev/usbmisc/uticom/uticom_fw3410.h         |  303 --
 sys/dev/usbmisc/uvisor/Makefile                |    9 -
 sys/dev/usbmisc/uvisor/uvisor.c                |  532 ----
 sys/dev/usbmisc/uvscom/Makefile                |    9 -
 sys/dev/usbmisc/uvscom/uvscom.c                |  865 ------
 sys/emulation/ndis/Makefile                    |   10 +-
 sys/emulation/ndis/kern_ndis.c                 |   11 -
 sys/emulation/ndis/kern_windrv.c               |   11 -
 sys/emulation/ndis/ntoskrnl_var.h              |   10 -
 sys/emulation/ndis/subr_ndis.c                 |    7 -
 sys/emulation/ndis/subr_usbd.c                 | 1207 --------
 sys/platform/pc32/conf/files                   |    2 -
 sys/platform/pc64/conf/files                   |    2 -
 tools/tools/convert_usb_ids/convert_usb_ids.sh |  155 -
 usr.bin/Makefile                               |   11 +-
 usr.bin/usbhidctl/Makefile                     |   12 -
 usr.bin/usbhidctl/usbhid.c                     |  343 ---
 usr.bin/usbhidctl/usbhidctl.1                  |   98 -
 usr.sbin/Makefile                              |   14 +-
 usr.sbin/usbd/Makefile                         |    7 -
 usr.sbin/usbd/usbd.8                           |  144 -
 usr.sbin/usbd/usbd.c                           | 1128 --------
 usr.sbin/usbd/usbd.conf.5                      |  163 --
 usr.sbin/usbdevs/Makefile                      |    9 -
 usr.sbin/usbdevs/usbdevs.8                     |   74 -
 usr.sbin/usbdevs/usbdevs.c                     |  227 --
 186 files changed, 111 insertions(+), 65895 deletions(-)
 delete mode 100644 etc/rc.d/usbd
 delete mode 100644 etc/usbd.conf
 delete mode 100644 lib/libusbhid/Makefile
 delete mode 100644 lib/libusbhid/data.c
 delete mode 100644 lib/libusbhid/descr.c
 delete mode 100644 lib/libusbhid/parse.c
 delete mode 100644 lib/libusbhid/usage.c
 delete mode 100644 lib/libusbhid/usbhid.3
 delete mode 100644 lib/libusbhid/usbhid.h
 delete mode 100644 lib/libusbhid/usbvar.h
 delete mode 100644 share/man/man4/lgue.4
 delete mode 100644 share/man/man4/rue.4
 delete mode 100644 share/man/man4/ural.4
 delete mode 100644 sys/bus/usb/FILES
 delete mode 100644 sys/bus/usb/Makefile
 delete mode 100644 sys/bus/usb/dsbr100io.h
 delete mode 100644 sys/bus/usb/ehci.c
 delete mode 100644 sys/bus/usb/ehci/Makefile
 delete mode 100644 sys/bus/usb/ehci_pci.c
 delete mode 100644 sys/bus/usb/ehcireg.h
 delete mode 100644 sys/bus/usb/ehcivar.h
 delete mode 100644 sys/bus/usb/hid.c
 delete mode 100644 sys/bus/usb/hid.h
 delete mode 100644 sys/bus/usb/kue_fw.h
 delete mode 100644 sys/bus/usb/ohci.c
 delete mode 100644 sys/bus/usb/ohci_pci.c
 delete mode 100644 sys/bus/usb/ohcireg.h
 delete mode 100644 sys/bus/usb/ohcivar.h
 delete mode 100644 sys/bus/usb/rio500_usb.h
 delete mode 100644 sys/bus/usb/ugraphire_rdesc.h
 delete mode 100644 sys/bus/usb/uhci.c
 delete mode 100644 sys/bus/usb/uhci_pci.c
 delete mode 100644 sys/bus/usb/uhcireg.h
 delete mode 100644 sys/bus/usb/uhcivar.h
 delete mode 100644 sys/bus/usb/uhub.c
 delete mode 100644 sys/bus/usb/usb.c
 delete mode 100644 sys/bus/usb/usb.h
 delete mode 100644 sys/bus/usb/usb/Makefile
 delete mode 100644 sys/bus/usb/usb_ethersubr.c
 delete mode 100644 sys/bus/usb/usb_ethersubr.h
 delete mode 100644 sys/bus/usb/usb_if.m
 delete mode 100644 sys/bus/usb/usb_mem.c
 delete mode 100644 sys/bus/usb/usb_mem.h
 delete mode 100644 sys/bus/usb/usb_port.h
 delete mode 100644 sys/bus/usb/usb_quirks.c
 delete mode 100644 sys/bus/usb/usb_quirks.h
 delete mode 100644 sys/bus/usb/usb_subr.c
 delete mode 100644 sys/bus/usb/usbcdc.h
 delete mode 100644 sys/bus/usb/usbdi.c
 delete mode 100644 sys/bus/usb/usbdi.h
 delete mode 100644 sys/bus/usb/usbdi_util.c
 delete mode 100644 sys/bus/usb/usbdi_util.h
 delete mode 100644 sys/bus/usb/usbdivar.h
 delete mode 100644 sys/bus/usb/usbhid.h
 delete mode 100644 sys/dev/disk/nata/ata-usb.c
 delete mode 100644 sys/dev/disk/nata/natausb/Makefile
 delete mode 100644 sys/dev/netif/aue/Makefile
 delete mode 100644 sys/dev/netif/aue/if_aue.c
 delete mode 100644 sys/dev/netif/aue/if_auereg.h
 delete mode 100644 sys/dev/netif/axe/Makefile
 delete mode 100644 sys/dev/netif/axe/if_axe.c
 delete mode 100644 sys/dev/netif/axe/if_axereg.h
 delete mode 100644 sys/dev/netif/cue/Makefile
 delete mode 100644 sys/dev/netif/cue/if_cue.c
 delete mode 100644 sys/dev/netif/cue/if_cuereg.h
 delete mode 100644 sys/dev/netif/kue/Makefile
 delete mode 100644 sys/dev/netif/kue/if_kue.c
 delete mode 100644 sys/dev/netif/kue/if_kuereg.h
 delete mode 100644 sys/dev/netif/lgue/Makefile
 delete mode 100644 sys/dev/netif/lgue/if_lgue.c
 delete mode 100644 sys/dev/netif/lgue/if_lgue.h
 delete mode 100644 sys/dev/netif/ndis/if_ndis_usb.c
 delete mode 100644 sys/dev/netif/rue/Makefile
 delete mode 100644 sys/dev/netif/rue/if_rue.c
 delete mode 100644 sys/dev/netif/rue/if_ruereg.h
 delete mode 100644 sys/dev/sound/driver/uaudio/Makefile
 delete mode 100644 sys/dev/sound/usb/uaudio.c
 delete mode 100644 sys/dev/sound/usb/uaudio.h
 delete mode 100644 sys/dev/sound/usb/uaudio_pcm.c
 delete mode 100644 sys/dev/sound/usb/uaudioreg.h
 delete mode 100644 sys/dev/usbmisc/Makefile
 delete mode 100644 sys/dev/usbmisc/moscom/Makefile
 delete mode 100644 sys/dev/usbmisc/moscom/moscom.c
 delete mode 100644 sys/dev/usbmisc/uark/Makefile
 delete mode 100644 sys/dev/usbmisc/uark/uark.c
 delete mode 100644 sys/dev/usbmisc/ubsa/Makefile
 delete mode 100644 sys/dev/usbmisc/ubsa/ubsa.c
 delete mode 100644 sys/dev/usbmisc/ubt/Makefile
 delete mode 100644 sys/dev/usbmisc/ubt/ubt.c
 delete mode 100644 sys/dev/usbmisc/uchcom/Makefile
 delete mode 100644 sys/dev/usbmisc/uchcom/uchcom.c
 delete mode 100644 sys/dev/usbmisc/ucom/Makefile
 delete mode 100644 sys/dev/usbmisc/ucom/ucom.c
 delete mode 100644 sys/dev/usbmisc/ucom/ucomvar.h
 delete mode 100644 sys/dev/usbmisc/ufm/Makefile
 delete mode 100644 sys/dev/usbmisc/ufm/ufm.c
 delete mode 100644 sys/dev/usbmisc/uftdi/Makefile
 delete mode 100644 sys/dev/usbmisc/uftdi/uftdi.c
 delete mode 100644 sys/dev/usbmisc/uftdi/uftdireg.h
 delete mode 100644 sys/dev/usbmisc/ugen/Makefile
 delete mode 100644 sys/dev/usbmisc/ugen/ugen.c
 delete mode 100644 sys/dev/usbmisc/ugen/ugenbuf.c
 delete mode 100644 sys/dev/usbmisc/ugen/ugenbuf.h
 delete mode 100644 sys/dev/usbmisc/ugensa/Makefile
 delete mode 100644 sys/dev/usbmisc/ugensa/ugensa.c
 delete mode 100644 sys/dev/usbmisc/uhid/Makefile
 delete mode 100644 sys/dev/usbmisc/uhid/uhid.c
 delete mode 100644 sys/dev/usbmisc/ukbd/Makefile
 delete mode 100644 sys/dev/usbmisc/ukbd/ukbd.c
 delete mode 100644 sys/dev/usbmisc/ulpt/Makefile
 delete mode 100644 sys/dev/usbmisc/ulpt/ulpt.c
 delete mode 100644 sys/dev/usbmisc/umass/Makefile
 delete mode 100644 sys/dev/usbmisc/umass/umass.c
 delete mode 100644 sys/dev/usbmisc/umct/Makefile
 delete mode 100644 sys/dev/usbmisc/umct/umct.c
 delete mode 100644 sys/dev/usbmisc/umodem/Makefile
 delete mode 100644 sys/dev/usbmisc/umodem/umodem.c
 delete mode 100644 sys/dev/usbmisc/ums/Makefile
 delete mode 100644 sys/dev/usbmisc/ums/ums.c
 delete mode 100644 sys/dev/usbmisc/uplcom/Makefile
 delete mode 100644 sys/dev/usbmisc/uplcom/uplcom.c
 delete mode 100644 sys/dev/usbmisc/urio/urio.c
 delete mode 100644 sys/dev/usbmisc/uscanner/Makefile
 delete mode 100644 sys/dev/usbmisc/uscanner/uscanner.c
 delete mode 100644 sys/dev/usbmisc/uslcom/Makefile
 delete mode 100644 sys/dev/usbmisc/uslcom/uslcom.c
 delete mode 100644 sys/dev/usbmisc/uticom/Makefile
 delete mode 100644 sys/dev/usbmisc/uticom/uticom.c
 delete mode 100644 sys/dev/usbmisc/uticom/uticom_fw3410.h
 delete mode 100644 sys/dev/usbmisc/uvisor/Makefile
 delete mode 100644 sys/dev/usbmisc/uvisor/uvisor.c
 delete mode 100644 sys/dev/usbmisc/uvscom/Makefile
 delete mode 100644 sys/dev/usbmisc/uvscom/uvscom.c
 delete mode 100644 sys/emulation/ndis/subr_usbd.c
 delete mode 100644 tools/tools/convert_usb_ids/convert_usb_ids.sh
 delete mode 100644 usr.bin/usbhidctl/Makefile
 delete mode 100644 usr.bin/usbhidctl/usbhid.c
 delete mode 100644 usr.bin/usbhidctl/usbhidctl.1
 delete mode 100644 usr.sbin/usbd/Makefile
 delete mode 100644 usr.sbin/usbd/usbd.8
 delete mode 100644 usr.sbin/usbd/usbd.c
 delete mode 100644 usr.sbin/usbd/usbd.conf.5
 delete mode 100644 usr.sbin/usbdevs/Makefile
 delete mode 100644 usr.sbin/usbdevs/usbdevs.8
 delete mode 100644 usr.sbin/usbdevs/usbdevs.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a6179996e5a503bd61c641cef1e49ba5fb1576f


-- 
DragonFly BSD source repository



More information about the Commits mailing list