[OpenWrt-Devel] [PATCH 1/9] adm5120: Remove unmaintained target

Hauke Mehrtens hauke at hauke-m.de
Mon Mar 25 11:28:47 EDT 2019


This target only supports kernel 3.18, which is not supported in OpenWrt
any more for multiple releases. It also looks like there is no active
maintainer for this target.
Remove the code and all the packages which are only used by this target.

To add this target to OpenWrt again port it to a recent and supported
kernel version.

Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/acx-mac80211/Makefile          |    3 +-
 package/utils/admswconfig/Makefile            |   53 -
 package/utils/admswconfig/files/admswconfig   |   68 -
 .../utils/admswconfig/files/admswswitch.sh    |   28 -
 .../admswconfig/patches/001-matrix.patch      |   15 -
 .../admswconfig/patches/002-fix-musl.patch    |   11 -
 target/linux/adm5120/Makefile                 |   24 -
 .../adm5120/base-files/etc/board.d/01_leds    |   17 -
 .../adm5120/base-files/etc/config/network     |   39 -
 target/linux/adm5120/base-files/etc/diag.sh   |   22 -
 target/linux/adm5120/base-files/etc/inittab   |    5 -
 .../linux/adm5120/base-files/lib/adm5120.sh   |   53 -
 .../lib/preinit/01_preinit_do_adm5120.sh      |    7 -
 .../lib/preinit/05_set_preinit_iface_adm5120  |    9 -
 .../base-files/lib/upgrade/platform.sh        |   35 -
 target/linux/adm5120/config-3.18              |  175 ---
 .../files-3.18/arch/mips/adm5120/Kconfig      |  197 ---
 .../files-3.18/arch/mips/adm5120/Platform     |   19 -
 .../arch/mips/adm5120/cellvision/Makefile     |    4 -
 .../arch/mips/adm5120/cellvision/cas-771.c    |   37 -
 .../arch/mips/adm5120/cellvision/cellvision.c |  147 --
 .../arch/mips/adm5120/cellvision/cellvision.h |   28 -
 .../arch/mips/adm5120/cellvision/nfs-101.c    |   47 -
 .../arch/mips/adm5120/common/Makefile         |    8 -
 .../arch/mips/adm5120/common/adm5120.c        |   76 -
 .../arch/mips/adm5120/common/clock.c          |   65 -
 .../arch/mips/adm5120/common/early-printk.c   |   31 -
 .../arch/mips/adm5120/common/gpio.c           |  328 -----
 .../files-3.18/arch/mips/adm5120/common/irq.c |  171 ---
 .../arch/mips/adm5120/common/memory.c         |  149 --
 .../arch/mips/adm5120/common/platform.c       |  375 -----
 .../arch/mips/adm5120/common/prom.c           |  264 ----
 .../arch/mips/adm5120/common/setup.c          |  129 --
 .../arch/mips/adm5120/compex/Makefile         |    5 -
 .../arch/mips/adm5120/compex/compex.c         |   60 -
 .../arch/mips/adm5120/compex/compex.h         |   23 -
 .../arch/mips/adm5120/compex/np27g.c          |   28 -
 .../arch/mips/adm5120/compex/np28g.c          |   63 -
 .../arch/mips/adm5120/compex/wp54.c           |   95 --
 .../arch/mips/adm5120/edimax/Makefile         |    5 -
 .../arch/mips/adm5120/edimax/br-6104k.c       |   36 -
 .../arch/mips/adm5120/edimax/br-6104kp.c      |   39 -
 .../arch/mips/adm5120/edimax/br-61x4wg.c      |   43 -
 .../arch/mips/adm5120/edimax/br-61xx.c        |   84 --
 .../arch/mips/adm5120/edimax/br-61xx.h        |   23 -
 .../arch/mips/adm5120/generic/Makefile        |    1 -
 .../arch/mips/adm5120/generic/eb-214a.c       |  120 --
 .../arch/mips/adm5120/infineon/Makefile       |    6 -
 .../arch/mips/adm5120/infineon/easy5120-rt.c  |   48 -
 .../mips/adm5120/infineon/easy5120-wvoip.c    |   24 -
 .../mips/adm5120/infineon/easy5120p-ata.c     |   22 -
 .../arch/mips/adm5120/infineon/easy83000.c    |   23 -
 .../arch/mips/adm5120/infineon/infineon.c     |  108 --
 .../arch/mips/adm5120/infineon/infineon.h     |   25 -
 .../arch/mips/adm5120/mikrotik/Makefile       |    8 -
 .../arch/mips/adm5120/mikrotik/rb-11x.c       |   35 -
 .../arch/mips/adm5120/mikrotik/rb-133.c       |   40 -
 .../arch/mips/adm5120/mikrotik/rb-133c.c      |   36 -
 .../arch/mips/adm5120/mikrotik/rb-150.c       |  131 --
 .../arch/mips/adm5120/mikrotik/rb-153.c       |   70 -
 .../arch/mips/adm5120/mikrotik/rb-192.c       |   27 -
 .../arch/mips/adm5120/mikrotik/rb-1xx.c       |  149 --
 .../arch/mips/adm5120/mikrotik/rb-1xx.h       |   33 -
 .../arch/mips/adm5120/motorola/Makefile       |    1 -
 .../arch/mips/adm5120/motorola/pmugw.c        |   96 --
 .../arch/mips/adm5120/osbridge/5gxi.c         |   71 -
 .../arch/mips/adm5120/osbridge/Makefile       |    1 -
 .../arch/mips/adm5120/prom/Makefile           |   10 -
 .../arch/mips/adm5120/prom/admboot.c          |   55 -
 .../arch/mips/adm5120/prom/bootbase.c         |  119 --
 .../files-3.18/arch/mips/adm5120/prom/cfe.c   |   69 -
 .../arch/mips/adm5120/prom/generic.c          |   47 -
 .../arch/mips/adm5120/prom/myloader.c         |   68 -
 .../arch/mips/adm5120/prom/prom_read.h        |   50 -
 .../arch/mips/adm5120/prom/routerboot.c       |  121 --
 .../arch/mips/adm5120/zyxel/Makefile          |    4 -
 .../arch/mips/adm5120/zyxel/p-334wt.c         |   34 -
 .../arch/mips/adm5120/zyxel/p-335.c           |   21 -
 .../arch/mips/adm5120/zyxel/p-33x.c           |   85 --
 .../arch/mips/adm5120/zyxel/p-33x.h           |   22 -
 .../include/asm/mach-adm5120/adm5120_defs.h   |   53 -
 .../include/asm/mach-adm5120/adm5120_info.h   |  129 --
 .../include/asm/mach-adm5120/adm5120_intc.h   |   63 -
 .../include/asm/mach-adm5120/adm5120_mpmc.h   |   92 --
 .../include/asm/mach-adm5120/adm5120_nand.h   |   89 --
 .../asm/mach-adm5120/adm5120_platform.h       |   87 --
 .../include/asm/mach-adm5120/adm5120_switch.h |  300 ----
 .../include/asm/mach-adm5120/adm5120_uart.h   |   64 -
 .../mips/include/asm/mach-adm5120/asm/sizes.h |   56 -
 .../asm/mach-adm5120/cpu-feature-overrides.h  |   71 -
 .../arch/mips/include/asm/mach-adm5120/gpio.h |  115 --
 .../arch/mips/include/asm/mach-adm5120/irq.h  |   43 -
 .../include/asm/mach-adm5120/prom/admboot.h   |   17 -
 .../mips/include/asm/mach-adm5120/prom/cfe.h  |   18 -
 .../include/asm/mach-adm5120/prom/generic.h   |   18 -
 .../include/asm/mach-adm5120/prom/myloader.h  |  179 ---
 .../asm/mach-adm5120/prom/routerboot.h        |   36 -
 .../include/asm/mach-adm5120/prom/zynos.h     |   86 --
 .../arch/mips/include/asm/mach-adm5120/war.h  |   25 -
 .../files-3.18/arch/mips/pci/pci-adm5120.c    |  277 ----
 .../files-3.18/drivers/ata/pata_rb153_cf.c    |  267 ----
 .../drivers/leds/ledtrig-adm5120-switch.c     |  149 --
 .../drivers/mtd/maps/adm5120-flash.c          |  482 -------
 .../adm5120/files-3.18/drivers/mtd/trxsplit.c |  216 ---
 .../files-3.18/drivers/net/adm5120sw.c        | 1219 -----------------
 .../files-3.18/drivers/net/adm5120sw.h        |   23 -
 .../files-3.18/drivers/usb/host/adm5120-dbg.c |  836 -----------
 .../files-3.18/drivers/usb/host/adm5120-drv.c |  228 ---
 .../files-3.18/drivers/usb/host/adm5120-hcd.c |  843 ------------
 .../files-3.18/drivers/usb/host/adm5120-hub.c |  430 ------
 .../files-3.18/drivers/usb/host/adm5120-mem.c |  202 ---
 .../files-3.18/drivers/usb/host/adm5120-pm.c  |  449 ------
 .../files-3.18/drivers/usb/host/adm5120-q.c   |  964 -------------
 .../files-3.18/drivers/usb/host/adm5120.h     |  755 ----------
 .../files-3.18/drivers/watchdog/adm5120_wdt.c |  202 ---
 target/linux/adm5120/image/Makefile           |  112 --
 .../linux/adm5120/image/lzma-loader/Makefile  |   62 -
 .../image/lzma-loader/src/LzmaDecode.c        |  584 --------
 .../image/lzma-loader/src/LzmaDecode.h        |  113 --
 .../adm5120/image/lzma-loader/src/LzmaTypes.h |   45 -
 .../adm5120/image/lzma-loader/src/Makefile    |   99 --
 .../adm5120/image/lzma-loader/src/README      |   55 -
 .../adm5120/image/lzma-loader/src/board.c     |  185 ---
 .../adm5120/image/lzma-loader/src/config.h    |  143 --
 .../image/lzma-loader/src/decompress.c        |  353 -----
 .../adm5120/image/lzma-loader/src/head.S      |  209 ---
 .../adm5120/image/lzma-loader/src/loader.lds  |   29 -
 .../image/lzma-loader/src/lzma-data.lds       |    8 -
 .../adm5120/image/lzma-loader/src/printf.c    |  350 -----
 .../adm5120/image/lzma-loader/src/printf.h    |   18 -
 target/linux/adm5120/image/rb1xx.mk           |   24 -
 target/linux/adm5120/image/router_be.mk       |   48 -
 target/linux/adm5120/image/router_le.mk       |  401 ------
 target/linux/adm5120/modules.mk               |   56 -
 .../adm5120/patches-3.18/001-adm5120.patch    |   44 -
 .../patches-3.18/002-adm5120_flash.patch      |   21 -
 .../patches-3.18/003-adm5120_switch.patch     |   23 -
 .../patches-3.18/005-adm5120_usb.patch        |   33 -
 .../patches-3.18/007-adm5120_pci.patch        |   22 -
 .../009-adm5120_leds_switch_trigger.patch     |   22 -
 .../050-revert_rootfs_splits.patch            |  354 -----
 .../patches-3.18/100-rootfs_split.patch       |  316 -----
 .../101-cfi_fixup_macronix_bootloc.patch      |   84 --
 .../102-jedec_pmc_39lvxxx_chips.patch         |   68 -
 .../patches-3.18/103-mtd_trxsplit.patch       |   23 -
 .../patches-3.18/120-rb153_cf_driver.patch    |   28 -
 .../patches-3.18/200-amba_pl010_hacks.patch   |  354 -----
 .../203-gpio_leds_brightness.patch            |   27 -
 .../patches-3.18/310-adm5120_wdt.patch        |   31 -
 .../adm5120/rb1xx/base-files/sbin/wget2nand   |   78 --
 target/linux/adm5120/rb1xx/config-default     |   52 -
 target/linux/adm5120/rb1xx/profiles/RB1xx.mk  |   18 -
 target/linux/adm5120/rb1xx/target.mk          |    8 -
 target/linux/adm5120/router_be/config-default |   13 -
 .../adm5120/router_be/profiles/010-Generic.mk |   17 -
 .../adm5120/router_be/profiles/200-ZyXEL.mk   |   27 -
 target/linux/adm5120/router_be/target.mk      |   10 -
 target/linux/adm5120/router_le/config-3.8     |    0
 .../adm5120/router_le/profiles/010-Generic.mk |   28 -
 .../adm5120/router_le/profiles/Cellvision.mk  |  146 --
 .../adm5120/router_le/profiles/Compex.mk      |   37 -
 .../adm5120/router_le/profiles/Edimax.mk      |   47 -
 .../adm5120/router_le/profiles/Infineon.mk    |   27 -
 .../adm5120/router_le/profiles/Motorola.mk    |   16 -
 .../adm5120/router_le/profiles/Osbridge.mk    |   16 -
 target/linux/adm5120/router_le/target.mk      |   10 -
 166 files changed, 1 insertion(+), 18899 deletions(-)
 delete mode 100644 package/utils/admswconfig/Makefile
 delete mode 100644 package/utils/admswconfig/files/admswconfig
 delete mode 100644 package/utils/admswconfig/files/admswswitch.sh
 delete mode 100644 package/utils/admswconfig/patches/001-matrix.patch
 delete mode 100644 package/utils/admswconfig/patches/002-fix-musl.patch
 delete mode 100644 target/linux/adm5120/Makefile
 delete mode 100755 target/linux/adm5120/base-files/etc/board.d/01_leds
 delete mode 100644 target/linux/adm5120/base-files/etc/config/network
 delete mode 100644 target/linux/adm5120/base-files/etc/diag.sh
 delete mode 100644 target/linux/adm5120/base-files/etc/inittab
 delete mode 100755 target/linux/adm5120/base-files/lib/adm5120.sh
 delete mode 100644 target/linux/adm5120/base-files/lib/preinit/01_preinit_do_adm5120.sh
 delete mode 100644 target/linux/adm5120/base-files/lib/preinit/05_set_preinit_iface_adm5120
 delete mode 100644 target/linux/adm5120/base-files/lib/upgrade/platform.sh
 delete mode 100644 target/linux/adm5120/config-3.18
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/Kconfig
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/Platform
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/cas-771.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/cellvision.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/cellvision.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/nfs-101.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/adm5120.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/clock.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/early-printk.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/gpio.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/irq.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/memory.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/platform.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/prom.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/setup.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/compex.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/compex.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/np27g.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/np28g.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/wp54.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-6104k.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-6104kp.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-61x4wg.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-61xx.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-61xx.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/generic/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/generic/eb-214a.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy5120-rt.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy5120-wvoip.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy5120p-ata.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy83000.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/infineon.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/infineon.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-11x.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-133.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-133c.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-150.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-153.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-192.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-1xx.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-1xx.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/motorola/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/motorola/pmugw.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/osbridge/5gxi.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/osbridge/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/admboot.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/bootbase.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/cfe.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/generic.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/myloader.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/prom_read.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/routerboot.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/Makefile
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-334wt.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-335.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-33x.c
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-33x.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_defs.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_info.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_intc.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_nand.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_platform.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_switch.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_uart.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/asm/sizes.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/cpu-feature-overrides.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/gpio.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/irq.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/admboot.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/cfe.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/generic.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/myloader.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/routerboot.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/zynos.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/war.h
 delete mode 100644 target/linux/adm5120/files-3.18/arch/mips/pci/pci-adm5120.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/ata/pata_rb153_cf.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/leds/ledtrig-adm5120-switch.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/mtd/maps/adm5120-flash.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/mtd/trxsplit.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/net/adm5120sw.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/net/adm5120sw.h
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-dbg.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-drv.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-hcd.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-hub.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-mem.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-pm.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-q.c
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120.h
 delete mode 100644 target/linux/adm5120/files-3.18/drivers/watchdog/adm5120_wdt.c
 delete mode 100644 target/linux/adm5120/image/Makefile
 delete mode 100644 target/linux/adm5120/image/lzma-loader/Makefile
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/LzmaDecode.c
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/LzmaDecode.h
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/Makefile
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/README
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/board.c
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/config.h
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/decompress.c
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/head.S
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/loader.lds
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/lzma-data.lds
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/printf.c
 delete mode 100644 target/linux/adm5120/image/lzma-loader/src/printf.h
 delete mode 100644 target/linux/adm5120/image/rb1xx.mk
 delete mode 100644 target/linux/adm5120/image/router_be.mk
 delete mode 100644 target/linux/adm5120/image/router_le.mk
 delete mode 100644 target/linux/adm5120/modules.mk
 delete mode 100644 target/linux/adm5120/patches-3.18/001-adm5120.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/002-adm5120_flash.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/003-adm5120_switch.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/005-adm5120_usb.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/007-adm5120_pci.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/009-adm5120_leds_switch_trigger.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/050-revert_rootfs_splits.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/100-rootfs_split.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/101-cfi_fixup_macronix_bootloc.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/102-jedec_pmc_39lvxxx_chips.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/103-mtd_trxsplit.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/120-rb153_cf_driver.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/200-amba_pl010_hacks.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/203-gpio_leds_brightness.patch
 delete mode 100644 target/linux/adm5120/patches-3.18/310-adm5120_wdt.patch
 delete mode 100755 target/linux/adm5120/rb1xx/base-files/sbin/wget2nand
 delete mode 100644 target/linux/adm5120/rb1xx/config-default
 delete mode 100644 target/linux/adm5120/rb1xx/profiles/RB1xx.mk
 delete mode 100644 target/linux/adm5120/rb1xx/target.mk
 delete mode 100644 target/linux/adm5120/router_be/config-default
 delete mode 100644 target/linux/adm5120/router_be/profiles/010-Generic.mk
 delete mode 100644 target/linux/adm5120/router_be/profiles/200-ZyXEL.mk
 delete mode 100644 target/linux/adm5120/router_be/target.mk
 delete mode 100644 target/linux/adm5120/router_le/config-3.8
 delete mode 100644 target/linux/adm5120/router_le/profiles/010-Generic.mk
 delete mode 100644 target/linux/adm5120/router_le/profiles/Cellvision.mk
 delete mode 100644 target/linux/adm5120/router_le/profiles/Compex.mk
 delete mode 100644 target/linux/adm5120/router_le/profiles/Edimax.mk
 delete mode 100644 target/linux/adm5120/router_le/profiles/Infineon.mk
 delete mode 100644 target/linux/adm5120/router_le/profiles/Motorola.mk
 delete mode 100644 target/linux/adm5120/router_le/profiles/Osbridge.mk
 delete mode 100644 target/linux/adm5120/router_le/target.mk

diff --git a/package/kernel/acx-mac80211/Makefile b/package/kernel/acx-mac80211/Makefile
index 5927f174d4..1fec2eb73c 100644
--- a/package/kernel/acx-mac80211/Makefile
+++ b/package/kernel/acx-mac80211/Makefile
@@ -65,8 +65,7 @@ define KernelPackage/acx-mac80211/config
 	choice
 		prompt "ACX111 firmware version"
 		depends on ACX_ID_16
-		default ACX_DEFAULT if !TARGET_adm5120
-		default ACX_1_2_1_34 if TARGET_adm5120
+		default ACX_DEFAULT
 		help
 		  This option allows you to select the version of the acx firmware.
 
diff --git a/package/utils/admswconfig/Makefile b/package/utils/admswconfig/Makefile
deleted file mode 100644
index b2a163248a..0000000000
--- a/package/utils/admswconfig/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=admswconfig
-PKG_VERSION:=0.1
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://downloads.openwrt.org/sources
-PKG_HASH:=37b4409ea2105520b4a7327e53c3210251000ddf58f81a8e4c19e6ff9d615afe
-
-PKG_FLAGS:=nonshared
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/admswconfig
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=ADM5120 Switch configuration tool
-  DEPENDS:=@TARGET_adm5120
-  MAINTAINER:=Florian Fainelli <florian at openwrt.org>
-endef
-
-define Package/admswconfig/description
- A program to configure the internal ethernet switch of an ADM5120 processor.
- You need the corresponding driver for the switch in the kernel. 
- With this program you can configure which ports of the switch belong 
- to the different ethernet devices.
-endef
-
-define Build/Configure
-endef
-
-define Build/Compile
-	$(TARGET_CC) $(TARGET_CFLAGS) -Os $(PKG_BUILD_DIR)/admswconfig.c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
-endef
-
-define Package/admswconfig/install
-	$(INSTALL_DIR) $(1)/sbin
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/admswconfig $(1)/sbin/
-	$(INSTALL_DIR) $(1)/lib/network/
-	$(INSTALL_DATA) ./files/admswswitch.sh $(1)/lib/network/admswswitch.sh
-	$(INSTALL_DIR) $(1)/etc/init.d
-	$(INSTALL_BIN) ./files/admswconfig $(1)/etc/init.d/admswconfig
-endef
-
-$(eval $(call BuildPackage,admswconfig))
diff --git a/package/utils/admswconfig/files/admswconfig b/package/utils/admswconfig/files/admswconfig
deleted file mode 100644
index 7231030650..0000000000
--- a/package/utils/admswconfig/files/admswconfig
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
-
-START=05
-
-start() {
-	[ -e /etc/config/network ] && exit 0
-
-	mkdir -p /etc/config
-
-	board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /system type/ {print $2}' /proc/cpuinfo)
-
-	case "$board_name" in
-	"Compex WP54"*)
-		board="Compex WP54";;
-	esac
-
-	echo "$board" |awk '
-	function p(cfgname, name) {
-		if (c[name] != "") print "	option " cfgname "	\"" c[name] "\""
-	}
-
-	BEGIN {
-		FS="="
-		c["lan_ifname"]="eth0"
-		c["wan_ifname"]="eth1"
-		c["eth0ports"]="1 2 3 4"
-		c["eth1ports"]="0"
-	}
-	END {
-		board=$1
-		if (board == "Compex WP54") {
-			c["eth0ports"]="0"
-			c["eth1ports"]="1"
-		}
-
-		print "#### VLAN configuration "
-		print "config switch"
-		p("eth0", "eth0ports")
-		p("eth1", "eth1ports")
-		print ""
-		print ""
-		print "#### Loopback configuration"
-		print "config interface loopback"
-		print "	option ifname	\"lo\""
-		print "	option proto	static"
-		print "	option ipaddr	127.0.0.1"
-		print "	option netmask	255.0.0.0"
-		print ""
-		print ""
-		print "#### LAN configuration"
-		print "config interface lan"
-		print "	option type 	bridge"
-		p("ifname", "lan_ifname")
-		p("macaddr", "lan_macaddr")
-		print "	option proto	static"
-		print "	option ipaddr	192.168.1.1"
-		print "	option netmask	255.255.255.0"
-		print ""
-		print ""
-		print "#### WAN configuration"
-		print "config interface	wan"
-		p("ifname", "wan_ifname")
-		p("macaddr", "wan_macaddr")
-		print "	option proto	dhcp"
-	}' > /etc/config/network
-}
-
diff --git a/package/utils/admswconfig/files/admswswitch.sh b/package/utils/admswconfig/files/admswswitch.sh
deleted file mode 100644
index 3b8aabf34d..0000000000
--- a/package/utils/admswconfig/files/admswswitch.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
-
-setup_switch_vlan() {
-	config_get ports "$CONFIG_SECTION" "eth$1"
-	ports=`echo "$ports"| sed s/" "/""/g`
-	ip link set dev eth$1 down
-	admswconfig eth$1 ${ports}c
-	ip link set dev eth$1 up
-}
-
-setup_switch() {
-	config_cb() {
-		case "$1" in
-			switch)
-				option_cb() {
-					case "$1" in
-						eth*) setup_switch_vlan "${1##eth}";;
-					esac
-				}
-			;;
-			*)
-				option_cb() { return 0; }
-			;;
-		esac
-	}
-	config_load network
-}
diff --git a/package/utils/admswconfig/patches/001-matrix.patch b/package/utils/admswconfig/patches/001-matrix.patch
deleted file mode 100644
index e50d515757..0000000000
--- a/package/utils/admswconfig/patches/001-matrix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/admswconfig.c
-+++ b/admswconfig.c
-@@ -111,9 +111,9 @@ int main(int argc, char **argv)
- 		}
- 	} else {
- 		/* display matrix */
--		printf("ethX\tport0\tport1\tport2\tport3\tport4");
--		if (info.ports == 6)
--			printf("\tport5");
-+		printf("ethX");
-+		for (i = 0; i < info.ports; i++)
-+			printf("\tport%d", i);
- 		printf("\tCPU\n");
- 		for (i = 0; i < info.ports; i++) {
- 			printf("%d", i);
diff --git a/package/utils/admswconfig/patches/002-fix-musl.patch b/package/utils/admswconfig/patches/002-fix-musl.patch
deleted file mode 100644
index 3dad1f99d5..0000000000
--- a/package/utils/admswconfig/patches/002-fix-musl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/admswconfig.c
-+++ b/admswconfig.c
-@@ -68,7 +68,7 @@ int main(int argc, char **argv)
- 		return 1;
- 	}
- 	strcpy(ifr.ifr_name, device);
--	ifr.ifr_data = (caddr_t)&info;
-+	ifr.ifr_data = (void *)&info;
- 	if (ioctl(fd, SIOCGADMINFO, &ifr) < 0) {
- 		perror("SIOCGADMINFO");
- 		return 1;
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list