linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Drop support for Renesys H8/300 architecture
@ 2013-08-30 16:40 Guenter Roeck
  2013-08-30 16:40 ` [PATCH 2/7] ide: Drop H8/300 driver Guenter Roeck
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds, Guenter Roeck

H8/300 has been dead for several years, the kernel for it has
not compiled for ages, and recent versions of gcc for it are broken.
It is time to drop support for it.

Yes, I understand it is not that simple to drop an architecture,
and it may need some discussion, but someone has to put a stake
into the ground. Keeping a virtually dead architecture on life support
takes resources which are better spent elsewhere.

----------------------------------------------------------------
Guenter Roeck (7):
      Drop support for Renesys H8/300 (h8300) architecture
      ide: Drop H8/300 driver
      net/ethernet: smsc: Drop conditional code for H8/300
      net/ethernet: Drop H8/300 Ethernet driver
      watchdog: Drop references to H8300 architecture
      Drop MAINTAINERS entry for H8/300
      Drop remaining references to H8/300 architecture

 Documentation/scheduler/sched-arch.txt           |    5 -
 MAINTAINERS                                      |    8 -
 arch/h8300/Kconfig                               |  109 ----
 arch/h8300/Kconfig.cpu                           |  171 ------
 arch/h8300/Kconfig.debug                         |   68 ---
 arch/h8300/Kconfig.ide                           |   44 --
 arch/h8300/Makefile                              |   71 ---
 arch/h8300/README                                |   38 --
 arch/h8300/boot/Makefile                         |   22 -
 arch/h8300/boot/compressed/Makefile              |   37 --
 arch/h8300/boot/compressed/head.S                |   47 --
 arch/h8300/boot/compressed/misc.c                |  180 ------
 arch/h8300/boot/compressed/vmlinux.lds           |   32 -
 arch/h8300/boot/compressed/vmlinux.scr           |    9 -
 arch/h8300/defconfig                             |   42 --
 arch/h8300/include/asm/Kbuild                    |    8 -
 arch/h8300/include/asm/asm-offsets.h             |    1 -
 arch/h8300/include/asm/atomic.h                  |  146 -----
 arch/h8300/include/asm/barrier.h                 |   29 -
 arch/h8300/include/asm/bitops.h                  |  211 -------
 arch/h8300/include/asm/bootinfo.h                |    2 -
 arch/h8300/include/asm/bug.h                     |   12 -
 arch/h8300/include/asm/bugs.h                    |   16 -
 arch/h8300/include/asm/cache.h                   |   13 -
 arch/h8300/include/asm/cachectl.h                |   14 -
 arch/h8300/include/asm/cacheflush.h              |   40 --
 arch/h8300/include/asm/checksum.h                |  102 ----
 arch/h8300/include/asm/cmpxchg.h                 |   60 --
 arch/h8300/include/asm/cputime.h                 |    6 -
 arch/h8300/include/asm/current.h                 |   25 -
 arch/h8300/include/asm/dbg.h                     |    2 -
 arch/h8300/include/asm/delay.h                   |   38 --
 arch/h8300/include/asm/device.h                  |    7 -
 arch/h8300/include/asm/div64.h                   |    1 -
 arch/h8300/include/asm/dma.h                     |   15 -
 arch/h8300/include/asm/elf.h                     |  101 ----
 arch/h8300/include/asm/emergency-restart.h       |    6 -
 arch/h8300/include/asm/fb.h                      |   12 -
 arch/h8300/include/asm/flat.h                    |   26 -
 arch/h8300/include/asm/fpu.h                     |    1 -
 arch/h8300/include/asm/ftrace.h                  |    1 -
 arch/h8300/include/asm/futex.h                   |    6 -
 arch/h8300/include/asm/gpio-internal.h           |   52 --
 arch/h8300/include/asm/hardirq.h                 |   19 -
 arch/h8300/include/asm/hw_irq.h                  |    1 -
 arch/h8300/include/asm/io.h                      |  358 -----------
 arch/h8300/include/asm/irq.h                     |   49 --
 arch/h8300/include/asm/irq_regs.h                |    1 -
 arch/h8300/include/asm/irqflags.h                |   43 --
 arch/h8300/include/asm/kdebug.h                  |    1 -
 arch/h8300/include/asm/kmap_types.h              |    6 -
 arch/h8300/include/asm/local.h                   |    6 -
 arch/h8300/include/asm/local64.h                 |    1 -
 arch/h8300/include/asm/mc146818rtc.h             |    9 -
 arch/h8300/include/asm/mmu_context.h             |   32 -
 arch/h8300/include/asm/mutex.h                   |    9 -
 arch/h8300/include/asm/page.h                    |   78 ---
 arch/h8300/include/asm/page_offset.h             |    3 -
 arch/h8300/include/asm/param.h                   |    9 -
 arch/h8300/include/asm/pci.h                     |   19 -
 arch/h8300/include/asm/percpu.h                  |    6 -
 arch/h8300/include/asm/pgalloc.h                 |    8 -
 arch/h8300/include/asm/pgtable.h                 |   73 ---
 arch/h8300/include/asm/processor.h               |  139 -----
 arch/h8300/include/asm/ptrace.h                  |   33 --
 arch/h8300/include/asm/regs267x.h                |  336 -----------
 arch/h8300/include/asm/regs306x.h                |  212 -------
 arch/h8300/include/asm/scatterlist.h             |    6 -
 arch/h8300/include/asm/sections.h                |    6 -
 arch/h8300/include/asm/segment.h                 |   49 --
 arch/h8300/include/asm/sh_bios.h                 |   29 -
 arch/h8300/include/asm/shm.h                     |   31 -
 arch/h8300/include/asm/shmparam.h                |    6 -
 arch/h8300/include/asm/signal.h                  |   24 -
 arch/h8300/include/asm/smp.h                     |    1 -
 arch/h8300/include/asm/spinlock.h                |    6 -
 arch/h8300/include/asm/string.h                  |   44 --
 arch/h8300/include/asm/switch_to.h               |   50 --
 arch/h8300/include/asm/target_time.h             |    4 -
 arch/h8300/include/asm/termios.h                 |   50 --
 arch/h8300/include/asm/thread_info.h             |  103 ----
 arch/h8300/include/asm/timer.h                   |   25 -
 arch/h8300/include/asm/timex.h                   |   19 -
 arch/h8300/include/asm/tlb.h                     |    8 -
 arch/h8300/include/asm/tlbflush.h                |   55 --
 arch/h8300/include/asm/topology.h                |    6 -
 arch/h8300/include/asm/traps.h                   |   37 --
 arch/h8300/include/asm/types.h                   |    9 -
 arch/h8300/include/asm/uaccess.h                 |  163 ------
 arch/h8300/include/asm/ucontext.h                |   12 -
 arch/h8300/include/asm/unaligned.h               |   11 -
 arch/h8300/include/asm/unistd.h                  |   36 --
 arch/h8300/include/asm/user.h                    |   75 ---
 arch/h8300/include/asm/virtconvert.h             |   20 -
 arch/h8300/include/uapi/asm/Kbuild               |   34 --
 arch/h8300/include/uapi/asm/auxvec.h             |    4 -
 arch/h8300/include/uapi/asm/bitsperlong.h        |    1 -
 arch/h8300/include/uapi/asm/byteorder.h          |    6 -
 arch/h8300/include/uapi/asm/errno.h              |    6 -
 arch/h8300/include/uapi/asm/fcntl.h              |   11 -
 arch/h8300/include/uapi/asm/ioctl.h              |    1 -
 arch/h8300/include/uapi/asm/ioctls.h             |    8 -
 arch/h8300/include/uapi/asm/ipcbuf.h             |    1 -
 arch/h8300/include/uapi/asm/kvm_para.h           |    1 -
 arch/h8300/include/uapi/asm/mman.h               |    1 -
 arch/h8300/include/uapi/asm/msgbuf.h             |   31 -
 arch/h8300/include/uapi/asm/param.h              |   16 -
 arch/h8300/include/uapi/asm/poll.h               |   11 -
 arch/h8300/include/uapi/asm/posix_types.h        |   26 -
 arch/h8300/include/uapi/asm/ptrace.h             |   44 --
 arch/h8300/include/uapi/asm/resource.h           |    6 -
 arch/h8300/include/uapi/asm/sembuf.h             |   25 -
 arch/h8300/include/uapi/asm/setup.h              |    6 -
 arch/h8300/include/uapi/asm/shmbuf.h             |   42 --
 arch/h8300/include/uapi/asm/sigcontext.h         |   18 -
 arch/h8300/include/uapi/asm/siginfo.h            |    6 -
 arch/h8300/include/uapi/asm/signal.h             |  115 ----
 arch/h8300/include/uapi/asm/socket.h             |   79 ---
 arch/h8300/include/uapi/asm/sockios.h            |   13 -
 arch/h8300/include/uapi/asm/stat.h               |   78 ---
 arch/h8300/include/uapi/asm/statfs.h             |    6 -
 arch/h8300/include/uapi/asm/swab.h               |   10 -
 arch/h8300/include/uapi/asm/termbits.h           |  201 -------
 arch/h8300/include/uapi/asm/termios.h            |   44 --
 arch/h8300/include/uapi/asm/types.h              |    1 -
 arch/h8300/include/uapi/asm/unistd.h             |  330 -----------
 arch/h8300/kernel/Makefile                       |   12 -
 arch/h8300/kernel/asm-offsets.c                  |   60 --
 arch/h8300/kernel/entry.S                        |  402 -------------
 arch/h8300/kernel/gpio.c                         |  178 ------
 arch/h8300/kernel/h8300_ksyms.c                  |  100 ----
 arch/h8300/kernel/irq.c                          |  165 ------
 arch/h8300/kernel/module.c                       |   75 ---
 arch/h8300/kernel/process.c                      |  154 -----
 arch/h8300/kernel/ptrace.c                       |  168 ------
 arch/h8300/kernel/setup.c                        |  242 --------
 arch/h8300/kernel/signal.c                       |  444 --------------
 arch/h8300/kernel/sys_h8300.c                    |   48 --
 arch/h8300/kernel/syscalls.S                     |  338 -----------
 arch/h8300/kernel/time.c                         |   66 ---
 arch/h8300/kernel/timer/Makefile                 |    6 -
 arch/h8300/kernel/timer/itu.c                    |   82 ---
 arch/h8300/kernel/timer/timer16.c                |   77 ---
 arch/h8300/kernel/timer/timer8.c                 |  102 ----
 arch/h8300/kernel/timer/tpu.c                    |  100 ----
 arch/h8300/kernel/traps.c                        |  166 ------
 arch/h8300/kernel/vmlinux.lds.S                  |  157 -----
 arch/h8300/lib/Makefile                          |    5 -
 arch/h8300/lib/abs.S                             |   21 -
 arch/h8300/lib/ashrdi3.c                         |   63 --
 arch/h8300/lib/checksum.c                        |  164 ------
 arch/h8300/lib/memcpy.S                          |   84 ---
 arch/h8300/lib/memset.S                          |   61 --
 arch/h8300/lib/romfs.S                           |   57 --
 arch/h8300/mm/Makefile                           |    5 -
 arch/h8300/mm/fault.c                            |   56 --
 arch/h8300/mm/init.c                             |  155 -----
 arch/h8300/mm/kmap.c                             |   58 --
 arch/h8300/mm/memory.c                           |   54 --
 arch/h8300/platform/h8300h/Makefile              |    7 -
 arch/h8300/platform/h8300h/aki3068net/Makefile   |    5 -
 arch/h8300/platform/h8300h/aki3068net/crt0_ram.S |  110 ----
 arch/h8300/platform/h8300h/generic/Makefile      |    5 -
 arch/h8300/platform/h8300h/generic/crt0_ram.S    |  107 ----
 arch/h8300/platform/h8300h/generic/crt0_rom.S    |  122 ----
 arch/h8300/platform/h8300h/h8max/Makefile        |    5 -
 arch/h8300/platform/h8300h/h8max/crt0_ram.S      |  110 ----
 arch/h8300/platform/h8300h/irq.c                 |   82 ---
 arch/h8300/platform/h8300h/ptrace_h8300h.c       |  284 ---------
 arch/h8300/platform/h8s/Makefile                 |    7 -
 arch/h8300/platform/h8s/edosk2674/Makefile       |    5 -
 arch/h8300/platform/h8s/edosk2674/crt0_ram.S     |  130 ----
 arch/h8300/platform/h8s/edosk2674/crt0_rom.S     |  186 ------
 arch/h8300/platform/h8s/generic/Makefile         |    5 -
 arch/h8300/platform/h8s/generic/crt0_ram.S       |  127 ----
 arch/h8300/platform/h8s/generic/crt0_rom.S       |  128 ----
 arch/h8300/platform/h8s/irq.c                    |  104 ----
 arch/h8300/platform/h8s/ptrace_h8s.c             |   84 ---
 drivers/ide/Kconfig                              |    7 -
 drivers/ide/Makefile                             |    2 -
 drivers/ide/ide-h8300.c                          |  109 ----
 drivers/net/Space.c                              |    3 +-
 drivers/net/ethernet/8390/Kconfig                |    7 -
 drivers/net/ethernet/8390/Makefile               |    1 -
 drivers/net/ethernet/8390/ne-h8300.c             |  684 ----------------------
 drivers/net/ethernet/smsc/smc9194.c              |   12 -
 drivers/watchdog/Kconfig                         |    2 -
 drivers/watchdog/Makefile                        |    2 -
 include/linux/serial_sci.h                       |    2 +-
 include/uapi/linux/audit.h                       |    1 -
 include/uapi/linux/elf-em.h                      |    1 -
 tools/testing/ktest/examples/crosstests.conf     |    6 -
 192 files changed, 2 insertions(+), 11729 deletions(-)
 delete mode 100644 arch/h8300/Kconfig
 delete mode 100644 arch/h8300/Kconfig.cpu
 delete mode 100644 arch/h8300/Kconfig.debug
 delete mode 100644 arch/h8300/Kconfig.ide
 delete mode 100644 arch/h8300/Makefile
 delete mode 100644 arch/h8300/README
 delete mode 100644 arch/h8300/boot/Makefile
 delete mode 100644 arch/h8300/boot/compressed/Makefile
 delete mode 100644 arch/h8300/boot/compressed/head.S
 delete mode 100644 arch/h8300/boot/compressed/misc.c
 delete mode 100644 arch/h8300/boot/compressed/vmlinux.lds
 delete mode 100644 arch/h8300/boot/compressed/vmlinux.scr
 delete mode 100644 arch/h8300/defconfig
 delete mode 100644 arch/h8300/include/asm/Kbuild
 delete mode 100644 arch/h8300/include/asm/asm-offsets.h
 delete mode 100644 arch/h8300/include/asm/atomic.h
 delete mode 100644 arch/h8300/include/asm/barrier.h
 delete mode 100644 arch/h8300/include/asm/bitops.h
 delete mode 100644 arch/h8300/include/asm/bootinfo.h
 delete mode 100644 arch/h8300/include/asm/bug.h
 delete mode 100644 arch/h8300/include/asm/bugs.h
 delete mode 100644 arch/h8300/include/asm/cache.h
 delete mode 100644 arch/h8300/include/asm/cachectl.h
 delete mode 100644 arch/h8300/include/asm/cacheflush.h
 delete mode 100644 arch/h8300/include/asm/checksum.h
 delete mode 100644 arch/h8300/include/asm/cmpxchg.h
 delete mode 100644 arch/h8300/include/asm/cputime.h
 delete mode 100644 arch/h8300/include/asm/current.h
 delete mode 100644 arch/h8300/include/asm/dbg.h
 delete mode 100644 arch/h8300/include/asm/delay.h
 delete mode 100644 arch/h8300/include/asm/device.h
 delete mode 100644 arch/h8300/include/asm/div64.h
 delete mode 100644 arch/h8300/include/asm/dma.h
 delete mode 100644 arch/h8300/include/asm/elf.h
 delete mode 100644 arch/h8300/include/asm/emergency-restart.h
 delete mode 100644 arch/h8300/include/asm/fb.h
 delete mode 100644 arch/h8300/include/asm/flat.h
 delete mode 100644 arch/h8300/include/asm/fpu.h
 delete mode 100644 arch/h8300/include/asm/ftrace.h
 delete mode 100644 arch/h8300/include/asm/futex.h
 delete mode 100644 arch/h8300/include/asm/gpio-internal.h
 delete mode 100644 arch/h8300/include/asm/hardirq.h
 delete mode 100644 arch/h8300/include/asm/hw_irq.h
 delete mode 100644 arch/h8300/include/asm/io.h
 delete mode 100644 arch/h8300/include/asm/irq.h
 delete mode 100644 arch/h8300/include/asm/irq_regs.h
 delete mode 100644 arch/h8300/include/asm/irqflags.h
 delete mode 100644 arch/h8300/include/asm/kdebug.h
 delete mode 100644 arch/h8300/include/asm/kmap_types.h
 delete mode 100644 arch/h8300/include/asm/local.h
 delete mode 100644 arch/h8300/include/asm/local64.h
 delete mode 100644 arch/h8300/include/asm/mc146818rtc.h
 delete mode 100644 arch/h8300/include/asm/mmu_context.h
 delete mode 100644 arch/h8300/include/asm/mutex.h
 delete mode 100644 arch/h8300/include/asm/page.h
 delete mode 100644 arch/h8300/include/asm/page_offset.h
 delete mode 100644 arch/h8300/include/asm/param.h
 delete mode 100644 arch/h8300/include/asm/pci.h
 delete mode 100644 arch/h8300/include/asm/percpu.h
 delete mode 100644 arch/h8300/include/asm/pgalloc.h
 delete mode 100644 arch/h8300/include/asm/pgtable.h
 delete mode 100644 arch/h8300/include/asm/processor.h
 delete mode 100644 arch/h8300/include/asm/ptrace.h
 delete mode 100644 arch/h8300/include/asm/regs267x.h
 delete mode 100644 arch/h8300/include/asm/regs306x.h
 delete mode 100644 arch/h8300/include/asm/scatterlist.h
 delete mode 100644 arch/h8300/include/asm/sections.h
 delete mode 100644 arch/h8300/include/asm/segment.h
 delete mode 100644 arch/h8300/include/asm/sh_bios.h
 delete mode 100644 arch/h8300/include/asm/shm.h
 delete mode 100644 arch/h8300/include/asm/shmparam.h
 delete mode 100644 arch/h8300/include/asm/signal.h
 delete mode 100644 arch/h8300/include/asm/smp.h
 delete mode 100644 arch/h8300/include/asm/spinlock.h
 delete mode 100644 arch/h8300/include/asm/string.h
 delete mode 100644 arch/h8300/include/asm/switch_to.h
 delete mode 100644 arch/h8300/include/asm/target_time.h
 delete mode 100644 arch/h8300/include/asm/termios.h
 delete mode 100644 arch/h8300/include/asm/thread_info.h
 delete mode 100644 arch/h8300/include/asm/timer.h
 delete mode 100644 arch/h8300/include/asm/timex.h
 delete mode 100644 arch/h8300/include/asm/tlb.h
 delete mode 100644 arch/h8300/include/asm/tlbflush.h
 delete mode 100644 arch/h8300/include/asm/topology.h
 delete mode 100644 arch/h8300/include/asm/traps.h
 delete mode 100644 arch/h8300/include/asm/types.h
 delete mode 100644 arch/h8300/include/asm/uaccess.h
 delete mode 100644 arch/h8300/include/asm/ucontext.h
 delete mode 100644 arch/h8300/include/asm/unaligned.h
 delete mode 100644 arch/h8300/include/asm/unistd.h
 delete mode 100644 arch/h8300/include/asm/user.h
 delete mode 100644 arch/h8300/include/asm/virtconvert.h
 delete mode 100644 arch/h8300/include/uapi/asm/Kbuild
 delete mode 100644 arch/h8300/include/uapi/asm/auxvec.h
 delete mode 100644 arch/h8300/include/uapi/asm/bitsperlong.h
 delete mode 100644 arch/h8300/include/uapi/asm/byteorder.h
 delete mode 100644 arch/h8300/include/uapi/asm/errno.h
 delete mode 100644 arch/h8300/include/uapi/asm/fcntl.h
 delete mode 100644 arch/h8300/include/uapi/asm/ioctl.h
 delete mode 100644 arch/h8300/include/uapi/asm/ioctls.h
 delete mode 100644 arch/h8300/include/uapi/asm/ipcbuf.h
 delete mode 100644 arch/h8300/include/uapi/asm/kvm_para.h
 delete mode 100644 arch/h8300/include/uapi/asm/mman.h
 delete mode 100644 arch/h8300/include/uapi/asm/msgbuf.h
 delete mode 100644 arch/h8300/include/uapi/asm/param.h
 delete mode 100644 arch/h8300/include/uapi/asm/poll.h
 delete mode 100644 arch/h8300/include/uapi/asm/posix_types.h
 delete mode 100644 arch/h8300/include/uapi/asm/ptrace.h
 delete mode 100644 arch/h8300/include/uapi/asm/resource.h
 delete mode 100644 arch/h8300/include/uapi/asm/sembuf.h
 delete mode 100644 arch/h8300/include/uapi/asm/setup.h
 delete mode 100644 arch/h8300/include/uapi/asm/shmbuf.h
 delete mode 100644 arch/h8300/include/uapi/asm/sigcontext.h
 delete mode 100644 arch/h8300/include/uapi/asm/siginfo.h
 delete mode 100644 arch/h8300/include/uapi/asm/signal.h
 delete mode 100644 arch/h8300/include/uapi/asm/socket.h
 delete mode 100644 arch/h8300/include/uapi/asm/sockios.h
 delete mode 100644 arch/h8300/include/uapi/asm/stat.h
 delete mode 100644 arch/h8300/include/uapi/asm/statfs.h
 delete mode 100644 arch/h8300/include/uapi/asm/swab.h
 delete mode 100644 arch/h8300/include/uapi/asm/termbits.h
 delete mode 100644 arch/h8300/include/uapi/asm/termios.h
 delete mode 100644 arch/h8300/include/uapi/asm/types.h
 delete mode 100644 arch/h8300/include/uapi/asm/unistd.h
 delete mode 100644 arch/h8300/kernel/Makefile
 delete mode 100644 arch/h8300/kernel/asm-offsets.c
 delete mode 100644 arch/h8300/kernel/entry.S
 delete mode 100644 arch/h8300/kernel/gpio.c
 delete mode 100644 arch/h8300/kernel/h8300_ksyms.c
 delete mode 100644 arch/h8300/kernel/irq.c
 delete mode 100644 arch/h8300/kernel/module.c
 delete mode 100644 arch/h8300/kernel/process.c
 delete mode 100644 arch/h8300/kernel/ptrace.c
 delete mode 100644 arch/h8300/kernel/setup.c
 delete mode 100644 arch/h8300/kernel/signal.c
 delete mode 100644 arch/h8300/kernel/sys_h8300.c
 delete mode 100644 arch/h8300/kernel/syscalls.S
 delete mode 100644 arch/h8300/kernel/time.c
 delete mode 100644 arch/h8300/kernel/timer/Makefile
 delete mode 100644 arch/h8300/kernel/timer/itu.c
 delete mode 100644 arch/h8300/kernel/timer/timer16.c
 delete mode 100644 arch/h8300/kernel/timer/timer8.c
 delete mode 100644 arch/h8300/kernel/timer/tpu.c
 delete mode 100644 arch/h8300/kernel/traps.c
 delete mode 100644 arch/h8300/kernel/vmlinux.lds.S
 delete mode 100644 arch/h8300/lib/Makefile
 delete mode 100644 arch/h8300/lib/abs.S
 delete mode 100644 arch/h8300/lib/ashrdi3.c
 delete mode 100644 arch/h8300/lib/checksum.c
 delete mode 100644 arch/h8300/lib/memcpy.S
 delete mode 100644 arch/h8300/lib/memset.S
 delete mode 100644 arch/h8300/lib/romfs.S
 delete mode 100644 arch/h8300/mm/Makefile
 delete mode 100644 arch/h8300/mm/fault.c
 delete mode 100644 arch/h8300/mm/init.c
 delete mode 100644 arch/h8300/mm/kmap.c
 delete mode 100644 arch/h8300/mm/memory.c
 delete mode 100644 arch/h8300/platform/h8300h/Makefile
 delete mode 100644 arch/h8300/platform/h8300h/aki3068net/Makefile
 delete mode 100644 arch/h8300/platform/h8300h/aki3068net/crt0_ram.S
 delete mode 100644 arch/h8300/platform/h8300h/generic/Makefile
 delete mode 100644 arch/h8300/platform/h8300h/generic/crt0_ram.S
 delete mode 100644 arch/h8300/platform/h8300h/generic/crt0_rom.S
 delete mode 100644 arch/h8300/platform/h8300h/h8max/Makefile
 delete mode 100644 arch/h8300/platform/h8300h/h8max/crt0_ram.S
 delete mode 100644 arch/h8300/platform/h8300h/irq.c
 delete mode 100644 arch/h8300/platform/h8300h/ptrace_h8300h.c
 delete mode 100644 arch/h8300/platform/h8s/Makefile
 delete mode 100644 arch/h8300/platform/h8s/edosk2674/Makefile
 delete mode 100644 arch/h8300/platform/h8s/edosk2674/crt0_ram.S
 delete mode 100644 arch/h8300/platform/h8s/edosk2674/crt0_rom.S
 delete mode 100644 arch/h8300/platform/h8s/generic/Makefile
 delete mode 100644 arch/h8300/platform/h8s/generic/crt0_ram.S
 delete mode 100644 arch/h8300/platform/h8s/generic/crt0_rom.S
 delete mode 100644 arch/h8300/platform/h8s/irq.c
 delete mode 100644 arch/h8300/platform/h8s/ptrace_h8s.c
 delete mode 100644 drivers/ide/ide-h8300.c
 delete mode 100644 drivers/net/ethernet/8390/ne-h8300.c

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 2/7] ide: Drop H8/300 driver
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
@ 2013-08-30 16:40 ` Guenter Roeck
  2013-08-30 16:40 ` [PATCH 3/7] net/ethernet: smsc: Drop conditional code for H8/300 Guenter Roeck
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds, Guenter Roeck

Architecture is gone, so there is no need to keep its ide driver around.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/ide/Kconfig     |    7 ---
 drivers/ide/Makefile    |    2 -
 drivers/ide/ide-h8300.c |  109 -----------------------------------------------
 3 files changed, 118 deletions(-)
 delete mode 100644 drivers/ide/ide-h8300.c

diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index 02906ca..5dba90a 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -722,13 +722,6 @@ config BLK_DEV_IDE_RAPIDE
 	  Say Y here if you want to support the Yellowstone RapIDE controller
 	  manufactured for use with Acorn computers.
 
-config IDE_H8300
-	tristate "H8300 IDE support"
-	depends on H8300
-	default y
-	help
-	  Enables the H8300 IDE driver.
-
 config BLK_DEV_GAYLE
 	tristate "Amiga Gayle IDE interface support"
 	depends on AMIGA
diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile
index af8d016..a04ee82 100644
--- a/drivers/ide/Makefile
+++ b/drivers/ide/Makefile
@@ -78,8 +78,6 @@ obj-$(CONFIG_BLK_DEV_CMD640)		+= cmd640.o
 
 obj-$(CONFIG_BLK_DEV_IDE_PMAC)		+= pmac.o
 
-obj-$(CONFIG_IDE_H8300)			+= ide-h8300.o
-
 obj-$(CONFIG_IDE_GENERIC)		+= ide-generic.o
 obj-$(CONFIG_BLK_DEV_IDEPNP)		+= ide-pnp.o
 
diff --git a/drivers/ide/ide-h8300.c b/drivers/ide/ide-h8300.c
deleted file mode 100644
index 520f42c..0000000
--- a/drivers/ide/ide-h8300.c
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * H8/300 generic IDE interface
- */
-
-#include <linux/init.h>
-#include <linux/ide.h>
-
-#include <asm/io.h>
-#include <asm/irq.h>
-
-#define DRV_NAME "ide-h8300"
-
-#define bswap(d) \
-({					\
-	u16 r;				\
-	__asm__("mov.b %w1,r1h\n\t"	\
-		"mov.b %x1,r1l\n\t"	\
-		"mov.w r1,%0"		\
-		:"=r"(r)		\
-		:"r"(d)			\
-		:"er1");		\
-	(r);				\
-})
-
-static void mm_outsw(unsigned long addr, void *buf, u32 len)
-{
-	unsigned short *bp = (unsigned short *)buf;
-	for (; len > 0; len--, bp++)
-		*(volatile u16 *)addr = bswap(*bp);
-}
-
-static void mm_insw(unsigned long addr, void *buf, u32 len)
-{
-	unsigned short *bp = (unsigned short *)buf;
-	for (; len > 0; len--, bp++)
-		*bp = bswap(*(volatile u16 *)addr);
-}
-
-static void h8300_input_data(ide_drive_t *drive, struct ide_cmd *cmd,
-			     void *buf, unsigned int len)
-{
-	mm_insw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2);
-}
-
-static void h8300_output_data(ide_drive_t *drive, struct ide_cmd *cmd,
-			      void *buf, unsigned int len)
-{
-	mm_outsw(drive->hwif->io_ports.data_addr, buf, (len + 1) / 2);
-}
-
-static const struct ide_tp_ops h8300_tp_ops = {
-	.exec_command		= ide_exec_command,
-	.read_status		= ide_read_status,
-	.read_altstatus		= ide_read_altstatus,
-	.write_devctl		= ide_write_devctl,
-
-	.dev_select		= ide_dev_select,
-	.tf_load		= ide_tf_load,
-	.tf_read		= ide_tf_read,
-
-	.input_data		= h8300_input_data,
-	.output_data		= h8300_output_data,
-};
-
-#define H8300_IDE_GAP (2)
-
-static inline void hw_setup(struct ide_hw *hw)
-{
-	int i;
-
-	memset(hw, 0, sizeof(*hw));
-	for (i = 0; i <= 7; i++)
-		hw->io_ports_array[i] = CONFIG_H8300_IDE_BASE + H8300_IDE_GAP*i;
-	hw->io_ports.ctl_addr = CONFIG_H8300_IDE_ALT;
-	hw->irq = EXT_IRQ0 + CONFIG_H8300_IDE_IRQ;
-}
-
-static const struct ide_port_info h8300_port_info = {
-	.tp_ops			= &h8300_tp_ops,
-	.host_flags		= IDE_HFLAG_NO_IO_32BIT | IDE_HFLAG_NO_DMA,
-	.chipset		= ide_generic,
-};
-
-static int __init h8300_ide_init(void)
-{
-	struct ide_hw hw, *hws[] = { &hw };
-
-	printk(KERN_INFO DRV_NAME ": H8/300 generic IDE interface\n");
-
-	if (!request_region(CONFIG_H8300_IDE_BASE, H8300_IDE_GAP*8, "ide-h8300"))
-		goto out_busy;
-	if (!request_region(CONFIG_H8300_IDE_ALT, H8300_IDE_GAP, "ide-h8300")) {
-		release_region(CONFIG_H8300_IDE_BASE, H8300_IDE_GAP*8);
-		goto out_busy;
-	}
-
-	hw_setup(&hw);
-
-	return ide_host_add(&h8300_port_info, hws, 1, NULL);
-
-out_busy:
-	printk(KERN_ERR "ide-h8300: IDE I/F resource already used.\n");
-
-	return -EBUSY;
-}
-
-module_init(h8300_ide_init);
-
-MODULE_LICENSE("GPL");
-- 
1.7.9.7


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/7] net/ethernet: smsc: Drop conditional code for H8/300
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
  2013-08-30 16:40 ` [PATCH 2/7] ide: Drop H8/300 driver Guenter Roeck
@ 2013-08-30 16:40 ` Guenter Roeck
  2013-08-30 16:40 ` [PATCH 4/7] net/ethernet: Drop H8/300 Ethernet driver Guenter Roeck
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds, Guenter Roeck

With the H8/300 architecture gone, this code is no longer necessary.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/net/ethernet/smsc/smc9194.c |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/drivers/net/ethernet/smsc/smc9194.c b/drivers/net/ethernet/smsc/smc9194.c
index e85c2e7..814f59b 100644
--- a/drivers/net/ethernet/smsc/smc9194.c
+++ b/drivers/net/ethernet/smsc/smc9194.c
@@ -95,14 +95,6 @@ static const char version[] =
 #define USE_32_BIT 1
 #endif
 
-#if defined(__H8300H__) || defined(__H8300S__)
-#define NO_AUTOPROBE
-#undef insl
-#undef outsl
-#define insl(a,b,l)  io_insl_noswap(a,b,l)
-#define outsl(a,b,l) io_outsl_noswap(a,b,l)
-#endif
-
 /*
  .the SMC9194 can be at any of the following port addresses.  To change,
  .for a slightly different card, you can add it to the array.  Keep in
@@ -651,11 +643,7 @@ static void smc_hardware_send_packet( struct net_device * dev )
 #ifdef USE_32_BIT
 	if ( length & 0x2  ) {
 		outsl(ioaddr + DATA_1, buf,  length >> 2 );
-#if !defined(__H8300H__) && !defined(__H8300S__)
 		outw( *((word *)(buf + (length & 0xFFFFFFFC))),ioaddr +DATA_1);
-#else
-		ctrl_outw( *((word *)(buf + (length & 0xFFFFFFFC))),ioaddr +DATA_1);
-#endif
 	}
 	else
 		outsl(ioaddr + DATA_1, buf,  length >> 2 );
-- 
1.7.9.7


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 4/7] net/ethernet: Drop H8/300 Ethernet driver
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
  2013-08-30 16:40 ` [PATCH 2/7] ide: Drop H8/300 driver Guenter Roeck
  2013-08-30 16:40 ` [PATCH 3/7] net/ethernet: smsc: Drop conditional code for H8/300 Guenter Roeck
@ 2013-08-30 16:40 ` Guenter Roeck
  2013-08-30 16:40 ` [PATCH 5/7] watchdog: Drop references to H8300 architecture Guenter Roeck
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds, Guenter Roeck

Architecture is gone, so this driver is no longer needed.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/net/Space.c                  |    3 +-
 drivers/net/ethernet/8390/Kconfig    |    7 -
 drivers/net/ethernet/8390/Makefile   |    1 -
 drivers/net/ethernet/8390/ne-h8300.c |  684 ----------------------------------
 4 files changed, 1 insertion(+), 694 deletions(-)
 delete mode 100644 drivers/net/ethernet/8390/ne-h8300.c

diff --git a/drivers/net/Space.c b/drivers/net/Space.c
index 3a8c753..a7271e0 100644
--- a/drivers/net/Space.c
+++ b/drivers/net/Space.c
@@ -102,8 +102,7 @@ static struct devprobe2 isa_probes[] __initdata = {
 #ifdef CONFIG_WD80x3
 	{wd_probe, 0},
 #endif
-#if defined(CONFIG_NE2000) || \
-    defined(CONFIG_NE_H8300)  /* ISA (use ne2k-pci for PCI cards) */
+#if defined(CONFIG_NE2000) /* ISA (use ne2k-pci for PCI cards) */
 	{ne_probe, 0},
 #endif
 #ifdef CONFIG_LANCE		/* ISA/VLB (use pcnet32 for PCI cards) */
diff --git a/drivers/net/ethernet/8390/Kconfig b/drivers/net/ethernet/8390/Kconfig
index a5f91e1..0988811 100644
--- a/drivers/net/ethernet/8390/Kconfig
+++ b/drivers/net/ethernet/8390/Kconfig
@@ -146,13 +146,6 @@ config PCMCIA_PCNET
 	  To compile this driver as a module, choose M here: the module will be
 	  called pcnet_cs.  If unsure, say N.
 
-config NE_H8300
-	tristate "NE2000 compatible support for H8/300"
-	depends on H8300
-	---help---
-	  Say Y here if you want to use the NE2000 compatible
-	  controller on the Renesas H8/300 processor.
-
 config STNIC
 	tristate "National DP83902AV  support"
 	depends on SUPERH
diff --git a/drivers/net/ethernet/8390/Makefile b/drivers/net/ethernet/8390/Makefile
index 588954a..ff3b318 100644
--- a/drivers/net/ethernet/8390/Makefile
+++ b/drivers/net/ethernet/8390/Makefile
@@ -10,7 +10,6 @@ obj-$(CONFIG_HYDRA) += hydra.o 8390.o
 obj-$(CONFIG_MCF8390) += mcf8390.o 8390.o
 obj-$(CONFIG_NE2000) += ne.o 8390p.o
 obj-$(CONFIG_NE2K_PCI) += ne2k-pci.o 8390.o
-obj-$(CONFIG_NE_H8300) += ne-h8300.o 8390.o
 obj-$(CONFIG_PCMCIA_AXNET) += axnet_cs.o 8390.o
 obj-$(CONFIG_PCMCIA_PCNET) += pcnet_cs.o 8390.o
 obj-$(CONFIG_STNIC) += stnic.o 8390.o
diff --git a/drivers/net/ethernet/8390/ne-h8300.c b/drivers/net/ethernet/8390/ne-h8300.c
deleted file mode 100644
index 7fc28f2..0000000
--- a/drivers/net/ethernet/8390/ne-h8300.c
+++ /dev/null
@@ -1,684 +0,0 @@
-/* ne-h8300.c: A NE2000 clone on H8/300 driver for linux. */
-/*
-    original ne.c
-    Written 1992-94 by Donald Becker.
-
-    Copyright 1993 United States Government as represented by the
-    Director, National Security Agency.
-
-    This software may be used and distributed according to the terms
-    of the GNU General Public License, incorporated herein by reference.
-
-    The author may be reached as becker@scyld.com, or C/O
-    Scyld Computing Corporation, 410 Severn Ave., Suite 210, Annapolis MD 21403
-
-    H8/300 modified
-    Yoshinori Sato <ysato@users.sourceforge.jp>
-*/
-
-static const char version1[] =
-"ne-h8300.c:v1.00 2004/04/11 ysato\n";
-
-#include <linux/module.h>
-#include <linux/kernel.h>
-#include <linux/errno.h>
-#include <linux/init.h>
-#include <linux/interrupt.h>
-#include <linux/delay.h>
-#include <linux/netdevice.h>
-#include <linux/etherdevice.h>
-#include <linux/jiffies.h>
-
-#include <asm/io.h>
-#include <asm/irq.h>
-
-#define EI_SHIFT(x)	(ei_local->reg_offset[x])
-
-#include "8390.h"
-
-#define DRV_NAME "ne-h8300"
-
-/* Some defines that people can play with if so inclined. */
-
-/* Do we perform extra sanity checks on stuff ? */
-/* #define NE_SANITY_CHECK */
-
-/* Do we implement the read before write bugfix ? */
-/* #define NE_RW_BUGFIX */
-
-/* Do we have a non std. amount of memory? (in units of 256 byte pages) */
-/* #define PACKETBUF_MEMSIZE	0x40 */
-
-/* A zero-terminated list of I/O addresses to be probed at boot. */
-
-/* ---- No user-serviceable parts below ---- */
-
-static const char version[] =
-    "8390.c:v1.10cvs 9/23/94 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
-
-#include "lib8390.c"
-
-#define NE_BASE	 (dev->base_addr)
-#define NE_CMD	 	0x00
-#define NE_DATAPORT	(ei_status.word16?0x20:0x10)	/* NatSemi-defined port window offset. */
-#define NE_RESET	(ei_status.word16?0x3f:0x1f)	/* Issue a read to reset, a write to clear. */
-#define NE_IO_EXTENT	(ei_status.word16?0x40:0x20)
-
-#define NESM_START_PG	0x40	/* First page of TX buffer */
-#define NESM_STOP_PG	0x80	/* Last page +1 of RX ring */
-
-static int ne_probe1(struct net_device *dev, int ioaddr);
-
-static int ne_open(struct net_device *dev);
-static int ne_close(struct net_device *dev);
-
-static void ne_reset_8390(struct net_device *dev);
-static void ne_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr,
-			  int ring_page);
-static void ne_block_input(struct net_device *dev, int count,
-			  struct sk_buff *skb, int ring_offset);
-static void ne_block_output(struct net_device *dev, const int count,
-		const unsigned char *buf, const int start_page);
-
-
-static u32 reg_offset[16];
-
-static int __init init_reg_offset(struct net_device *dev,unsigned long base_addr)
-{
-	struct ei_device *ei_local = netdev_priv(dev);
-	int i;
-	unsigned char bus_width;
-
-	bus_width = *(volatile unsigned char *)ABWCR;
-	bus_width &= 1 << ((base_addr >> 21) & 7);
-
-	for (i = 0; i < ARRAY_SIZE(reg_offset); i++)
-		if (bus_width == 0)
-			reg_offset[i] = i * 2 + 1;
-		else
-			reg_offset[i] = i;
-
-	ei_local->reg_offset = reg_offset;
-	return 0;
-}
-
-static int __initdata h8300_ne_count = 0;
-#ifdef CONFIG_H8300H_H8MAX
-static unsigned long __initdata h8300_ne_base[] = { 0x800600 };
-static int h8300_ne_irq[] = {EXT_IRQ4};
-#endif
-#ifdef CONFIG_H8300H_AKI3068NET
-static unsigned long __initdata h8300_ne_base[] = { 0x200000 };
-static int h8300_ne_irq[] = {EXT_IRQ5};
-#endif
-
-static inline int init_dev(struct net_device *dev)
-{
-	if (h8300_ne_count < ARRAY_SIZE(h8300_ne_base)) {
-		dev->base_addr = h8300_ne_base[h8300_ne_count];
-		dev->irq       = h8300_ne_irq[h8300_ne_count];
-		h8300_ne_count++;
-		return 0;
-	} else
-		return -ENODEV;
-}
-
-/*  Probe for various non-shared-memory ethercards.
-
-   NEx000-clone boards have a Station Address PROM (SAPROM) in the packet
-   buffer memory space.  NE2000 clones have 0x57,0x57 in bytes 0x0e,0x0f of
-   the SAPROM, while other supposed NE2000 clones must be detected by their
-   SA prefix.
-
-   Reading the SAPROM from a word-wide card with the 8390 set in byte-wide
-   mode results in doubled values, which can be detected and compensated for.
-
-   The probe is also responsible for initializing the card and filling
-   in the 'dev' and 'ei_status' structures.
-
-   We use the minimum memory size for some ethercard product lines, iff we can't
-   distinguish models.  You can increase the packet buffer size by setting
-   PACKETBUF_MEMSIZE.  Reported Cabletron packet buffer locations are:
-	E1010   starts at 0x100 and ends at 0x2000.
-	E1010-x starts at 0x100 and ends at 0x8000. ("-x" means "more memory")
-	E2010	 starts at 0x100 and ends at 0x4000.
-	E2010-x starts at 0x100 and ends at 0xffff.  */
-
-static int __init do_ne_probe(struct net_device *dev)
-{
-	unsigned int base_addr = dev->base_addr;
-
-	/* First check any supplied i/o locations. User knows best. <cough> */
-	if (base_addr > 0x1ff)	/* Check a single specified location. */
-		return ne_probe1(dev, base_addr);
-	else if (base_addr != 0)	/* Don't probe at all. */
-		return -ENXIO;
-
-	return -ENODEV;
-}
-
-static void cleanup_card(struct net_device *dev)
-{
-	free_irq(dev->irq, dev);
-	release_region(dev->base_addr, NE_IO_EXTENT);
-}
-
-#ifndef MODULE
-struct net_device * __init ne_probe(int unit)
-{
-	struct net_device *dev = ____alloc_ei_netdev(0);
-	int err;
-
-	if (!dev)
-		return ERR_PTR(-ENOMEM);
-
-	if (init_dev(dev))
-		return ERR_PTR(-ENODEV);
-
-	sprintf(dev->name, "eth%d", unit);
-	netdev_boot_setup_check(dev);
-
-	err = init_reg_offset(dev, dev->base_addr);
-	if (err)
-		goto out;
-
-	err = do_ne_probe(dev);
-	if (err)
-		goto out;
-	return dev;
-out:
-	free_netdev(dev);
-	return ERR_PTR(err);
-}
-#endif
-
-static const struct net_device_ops ne_netdev_ops = {
-	.ndo_open		= ne_open,
-	.ndo_stop		= ne_close,
-
-	.ndo_start_xmit		= __ei_start_xmit,
-	.ndo_tx_timeout		= __ei_tx_timeout,
-	.ndo_get_stats		= __ei_get_stats,
-	.ndo_set_rx_mode	= __ei_set_multicast_list,
-	.ndo_validate_addr	= eth_validate_addr,
-	.ndo_set_mac_address	= eth_mac_addr,
-	.ndo_change_mtu		= eth_change_mtu,
-#ifdef CONFIG_NET_POLL_CONTROLLER
-	.ndo_poll_controller	= __ei_poll,
-#endif
-};
-
-static int __init ne_probe1(struct net_device *dev, int ioaddr)
-{
-	int i;
-	unsigned char SA_prom[16];
-	int wordlength = 2;
-	const char *name = NULL;
-	int start_page, stop_page;
-	int reg0, ret;
-	static unsigned version_printed;
-	struct ei_device *ei_local = netdev_priv(dev);
-	unsigned char bus_width;
-
-	if (!request_region(ioaddr, NE_IO_EXTENT, DRV_NAME))
-		return -EBUSY;
-
-	reg0 = inb_p(ioaddr);
-	if (reg0 == 0xFF) {
-		ret = -ENODEV;
-		goto err_out;
-	}
-
-	/* Do a preliminary verification that we have a 8390. */
-	{
-		int regd;
-		outb_p(E8390_NODMA+E8390_PAGE1+E8390_STOP, ioaddr + E8390_CMD);
-		regd = inb_p(ioaddr + EI_SHIFT(0x0d));
-		outb_p(0xff, ioaddr + EI_SHIFT(0x0d));
-		outb_p(E8390_NODMA+E8390_PAGE0, ioaddr + E8390_CMD);
-		inb_p(ioaddr + EN0_COUNTER0); /* Clear the counter by reading. */
-		if (inb_p(ioaddr + EN0_COUNTER0) != 0) {
-			outb_p(reg0, ioaddr + EI_SHIFT(0));
-			outb_p(regd, ioaddr + EI_SHIFT(0x0d));	/* Restore the old values. */
-			ret = -ENODEV;
-			goto err_out;
-		}
-	}
-
-	if (ei_debug  &&  version_printed++ == 0)
-		printk(KERN_INFO "%s", version1);
-
-	printk(KERN_INFO "NE*000 ethercard probe at %08x:", ioaddr);
-
-	/* Read the 16 bytes of station address PROM.
-	   We must first initialize registers, similar to NS8390_init(eifdev, 0).
-	   We can't reliably read the SAPROM address without this.
-	   (I learned the hard way!). */
-	{
-		struct {unsigned char value, offset; } program_seq[] =
-		{
-			{E8390_NODMA+E8390_PAGE0+E8390_STOP, E8390_CMD}, /* Select page 0*/
-			{0x48,	EN0_DCFG},	/* Set byte-wide (0x48) access. */
-			{0x00,	EN0_RCNTLO},	/* Clear the count regs. */
-			{0x00,	EN0_RCNTHI},
-			{0x00,	EN0_IMR},	/* Mask completion irq. */
-			{0xFF,	EN0_ISR},
-			{E8390_RXOFF, EN0_RXCR},	/* 0x20  Set to monitor */
-			{E8390_TXOFF, EN0_TXCR},	/* 0x02  and loopback mode. */
-			{32,	EN0_RCNTLO},
-			{0x00,	EN0_RCNTHI},
-			{0x00,	EN0_RSARLO},	/* DMA starting at 0x0000. */
-			{0x00,	EN0_RSARHI},
-			{E8390_RREAD+E8390_START, E8390_CMD},
-		};
-
-		for (i = 0; i < ARRAY_SIZE(program_seq); i++)
-			outb_p(program_seq[i].value, ioaddr + program_seq[i].offset);
-
-	}
-	bus_width = *(volatile unsigned char *)ABWCR;
-	bus_width &= 1 << ((ioaddr >> 21) & 7);
-	ei_status.word16 = (bus_width == 0); /* temporary setting */
-	for(i = 0; i < 16 /*sizeof(SA_prom)*/; i++) {
-		SA_prom[i] = inb_p(ioaddr + NE_DATAPORT);
-		inb_p(ioaddr + NE_DATAPORT); /* dummy read */
-	}
-
-	start_page = NESM_START_PG;
-	stop_page = NESM_STOP_PG;
-
-	if (bus_width)
-		wordlength = 1;
-	else
-		outb_p(0x49, ioaddr + EN0_DCFG);
-
-	/* Set up the rest of the parameters. */
-	name = (wordlength == 2) ? "NE2000" : "NE1000";
-
-	if (! dev->irq) {
-		printk(" failed to detect IRQ line.\n");
-		ret = -EAGAIN;
-		goto err_out;
-	}
-
-	/* Snarf the interrupt now.  There's no point in waiting since we cannot
-	   share and the board will usually be enabled. */
-	ret = request_irq(dev->irq, __ei_interrupt, 0, name, dev);
-	if (ret) {
-		printk (" unable to get IRQ %d (errno=%d).\n", dev->irq, ret);
-		goto err_out;
-	}
-
-	dev->base_addr = ioaddr;
-
-	for (i = 0; i < ETH_ALEN; i++)
-		dev->dev_addr[i] = SA_prom[i];
-	printk(" %pM\n", dev->dev_addr);
-
-	printk("%s: %s found at %#x, using IRQ %d.\n",
-		dev->name, name, ioaddr, dev->irq);
-
-	ei_status.name = name;
-	ei_status.tx_start_page = start_page;
-	ei_status.stop_page = stop_page;
-	ei_status.word16 = (wordlength == 2);
-
-	ei_status.rx_start_page = start_page + TX_PAGES;
-#ifdef PACKETBUF_MEMSIZE
-	 /* Allow the packet buffer size to be overridden by know-it-alls. */
-	ei_status.stop_page = ei_status.tx_start_page + PACKETBUF_MEMSIZE;
-#endif
-
-	ei_status.reset_8390 = &ne_reset_8390;
-	ei_status.block_input = &ne_block_input;
-	ei_status.block_output = &ne_block_output;
-	ei_status.get_8390_hdr = &ne_get_8390_hdr;
-	ei_status.priv = 0;
-
-	dev->netdev_ops = &ne_netdev_ops;
-
-	__NS8390_init(dev, 0);
-
-	ret = register_netdev(dev);
-	if (ret)
-		goto out_irq;
-	return 0;
-out_irq:
-	free_irq(dev->irq, dev);
-err_out:
-	release_region(ioaddr, NE_IO_EXTENT);
-	return ret;
-}
-
-static int ne_open(struct net_device *dev)
-{
-	__ei_open(dev);
-	return 0;
-}
-
-static int ne_close(struct net_device *dev)
-{
-	if (ei_debug > 1)
-		printk(KERN_DEBUG "%s: Shutting down ethercard.\n", dev->name);
-	__ei_close(dev);
-	return 0;
-}
-
-/* Hard reset the card.  This used to pause for the same period that a
-   8390 reset command required, but that shouldn't be necessary. */
-
-static void ne_reset_8390(struct net_device *dev)
-{
-	unsigned long reset_start_time = jiffies;
-	struct ei_device *ei_local = netdev_priv(dev);
-
-	if (ei_debug > 1)
-		printk(KERN_DEBUG "resetting the 8390 t=%ld...", jiffies);
-
-	/* DON'T change these to inb_p/outb_p or reset will fail on clones. */
-	outb(inb(NE_BASE + NE_RESET), NE_BASE + NE_RESET);
-
-	ei_status.txing = 0;
-	ei_status.dmaing = 0;
-
-	/* This check _should_not_ be necessary, omit eventually. */
-	while ((inb_p(NE_BASE+EN0_ISR) & ENISR_RESET) == 0)
-		if (time_after(jiffies, reset_start_time + 2*HZ/100)) {
-			printk(KERN_WARNING "%s: ne_reset_8390() did not complete.\n", dev->name);
-			break;
-		}
-	outb_p(ENISR_RESET, NE_BASE + EN0_ISR);	/* Ack intr. */
-}
-
-/* Grab the 8390 specific header. Similar to the block_input routine, but
-   we don't need to be concerned with ring wrap as the header will be at
-   the start of a page, so we optimize accordingly. */
-
-static void ne_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page)
-{
-	struct ei_device *ei_local = netdev_priv(dev);
-	/* This *shouldn't* happen. If it does, it's the last thing you'll see */
-
-	if (ei_status.dmaing)
-	{
-		printk(KERN_EMERG "%s: DMAing conflict in ne_get_8390_hdr "
-			"[DMAstat:%d][irqlock:%d].\n",
-			dev->name, ei_status.dmaing, ei_status.irqlock);
-		return;
-	}
-
-	ei_status.dmaing |= 0x01;
-	outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, NE_BASE + NE_CMD);
-	outb_p(sizeof(struct e8390_pkt_hdr), NE_BASE + EN0_RCNTLO);
-	outb_p(0, NE_BASE + EN0_RCNTHI);
-	outb_p(0, NE_BASE + EN0_RSARLO);		/* On page boundary */
-	outb_p(ring_page, NE_BASE + EN0_RSARHI);
-	outb_p(E8390_RREAD+E8390_START, NE_BASE + NE_CMD);
-
-	if (ei_status.word16) {
-		int len;
-		unsigned short *p = (unsigned short *)hdr;
-		for (len = sizeof(struct e8390_pkt_hdr)>>1; len > 0; len--)
-			*p++ = inw(NE_BASE + NE_DATAPORT);
-	} else
-		insb(NE_BASE + NE_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr));
-
-	outb_p(ENISR_RDC, NE_BASE + EN0_ISR);	/* Ack intr. */
-	ei_status.dmaing &= ~0x01;
-
-	le16_to_cpus(&hdr->count);
-}
-
-/* Block input and output, similar to the Crynwr packet driver.  If you
-   are porting to a new ethercard, look at the packet driver source for hints.
-   The NEx000 doesn't share the on-board packet memory -- you have to put
-   the packet out through the "remote DMA" dataport using outb. */
-
-static void ne_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset)
-{
-	struct ei_device *ei_local = netdev_priv(dev);
-#ifdef NE_SANITY_CHECK
-	int xfer_count = count;
-#endif
-	char *buf = skb->data;
-
-	/* This *shouldn't* happen. If it does, it's the last thing you'll see */
-	if (ei_status.dmaing)
-	{
-		printk(KERN_EMERG "%s: DMAing conflict in ne_block_input "
-			"[DMAstat:%d][irqlock:%d].\n",
-			dev->name, ei_status.dmaing, ei_status.irqlock);
-		return;
-	}
-	ei_status.dmaing |= 0x01;
-	outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, NE_BASE + NE_CMD);
-	outb_p(count & 0xff, NE_BASE + EN0_RCNTLO);
-	outb_p(count >> 8, NE_BASE + EN0_RCNTHI);
-	outb_p(ring_offset & 0xff, NE_BASE + EN0_RSARLO);
-	outb_p(ring_offset >> 8, NE_BASE + EN0_RSARHI);
-	outb_p(E8390_RREAD+E8390_START, NE_BASE + NE_CMD);
-	if (ei_status.word16)
-	{
-		int len;
-		unsigned short *p = (unsigned short *)buf;
-		for (len = count>>1; len > 0; len--)
-			*p++ = inw(NE_BASE + NE_DATAPORT);
-		if (count & 0x01)
-		{
-			buf[count-1] = inb(NE_BASE + NE_DATAPORT);
-#ifdef NE_SANITY_CHECK
-			xfer_count++;
-#endif
-		}
-	} else {
-		insb(NE_BASE + NE_DATAPORT, buf, count);
-	}
-
-#ifdef NE_SANITY_CHECK
-	/* This was for the ALPHA version only, but enough people have
-	   been encountering problems so it is still here.  If you see
-	   this message you either 1) have a slightly incompatible clone
-	   or 2) have noise/speed problems with your bus. */
-
-	if (ei_debug > 1)
-	{
-		/* DMA termination address check... */
-		int addr, tries = 20;
-		do {
-			/* DON'T check for 'inb_p(EN0_ISR) & ENISR_RDC' here
-			   -- it's broken for Rx on some cards! */
-			int high = inb_p(NE_BASE + EN0_RSARHI);
-			int low = inb_p(NE_BASE + EN0_RSARLO);
-			addr = (high << 8) + low;
-			if (((ring_offset + xfer_count) & 0xff) == low)
-				break;
-		} while (--tries > 0);
-	 	if (tries <= 0)
-			printk(KERN_WARNING "%s: RX transfer address mismatch,"
-				"%#4.4x (expected) vs. %#4.4x (actual).\n",
-				dev->name, ring_offset + xfer_count, addr);
-	}
-#endif
-	outb_p(ENISR_RDC, NE_BASE + EN0_ISR);	/* Ack intr. */
-	ei_status.dmaing &= ~0x01;
-}
-
-static void ne_block_output(struct net_device *dev, int count,
-		const unsigned char *buf, const int start_page)
-{
-	struct ei_device *ei_local = netdev_priv(dev);
-	unsigned long dma_start;
-#ifdef NE_SANITY_CHECK
-	int retries = 0;
-#endif
-
-	/* Round the count up for word writes.  Do we need to do this?
-	   What effect will an odd byte count have on the 8390?
-	   I should check someday. */
-
-	if (ei_status.word16 && (count & 0x01))
-		count++;
-
-	/* This *shouldn't* happen. If it does, it's the last thing you'll see */
-	if (ei_status.dmaing)
-	{
-		printk(KERN_EMERG "%s: DMAing conflict in ne_block_output."
-			"[DMAstat:%d][irqlock:%d]\n",
-			dev->name, ei_status.dmaing, ei_status.irqlock);
-		return;
-	}
-	ei_status.dmaing |= 0x01;
-	/* We should already be in page 0, but to be safe... */
-	outb_p(E8390_PAGE0+E8390_START+E8390_NODMA, NE_BASE + NE_CMD);
-
-#ifdef NE_SANITY_CHECK
-retry:
-#endif
-
-#ifdef NE8390_RW_BUGFIX
-	/* Handle the read-before-write bug the same way as the
-	   Crynwr packet driver -- the NatSemi method doesn't work.
-	   Actually this doesn't always work either, but if you have
-	   problems with your NEx000 this is better than nothing! */
-
-	outb_p(0x42, NE_BASE + EN0_RCNTLO);
-	outb_p(0x00, NE_BASE + EN0_RCNTHI);
-	outb_p(0x42, NE_BASE + EN0_RSARLO);
-	outb_p(0x00, NE_BASE + EN0_RSARHI);
-	outb_p(E8390_RREAD+E8390_START, NE_BASE + NE_CMD);
-	/* Make certain that the dummy read has occurred. */
-	udelay(6);
-#endif
-
-	outb_p(ENISR_RDC, NE_BASE + EN0_ISR);
-
-	/* Now the normal output. */
-	outb_p(count & 0xff, NE_BASE + EN0_RCNTLO);
-	outb_p(count >> 8,   NE_BASE + EN0_RCNTHI);
-	outb_p(0x00, NE_BASE + EN0_RSARLO);
-	outb_p(start_page, NE_BASE + EN0_RSARHI);
-
-	outb_p(E8390_RWRITE+E8390_START, NE_BASE + NE_CMD);
-	if (ei_status.word16) {
-		int len;
-		unsigned short *p = (unsigned short *)buf;
-		for (len = count>>1; len > 0; len--)
-			outw(*p++, NE_BASE + NE_DATAPORT);
-	} else {
-		outsb(NE_BASE + NE_DATAPORT, buf, count);
-	}
-
-	dma_start = jiffies;
-
-#ifdef NE_SANITY_CHECK
-	/* This was for the ALPHA version only, but enough people have
-	   been encountering problems so it is still here. */
-
-	if (ei_debug > 1)
-	{
-		/* DMA termination address check... */
-		int addr, tries = 20;
-		do {
-			int high = inb_p(NE_BASE + EN0_RSARHI);
-			int low = inb_p(NE_BASE + EN0_RSARLO);
-			addr = (high << 8) + low;
-			if ((start_page << 8) + count == addr)
-				break;
-		} while (--tries > 0);
-
-		if (tries <= 0)
-		{
-			printk(KERN_WARNING "%s: Tx packet transfer address mismatch,"
-				"%#4.4x (expected) vs. %#4.4x (actual).\n",
-				dev->name, (start_page << 8) + count, addr);
-			if (retries++ == 0)
-				goto retry;
-		}
-	}
-#endif
-
-	while ((inb_p(NE_BASE + EN0_ISR) & ENISR_RDC) == 0)
-		if (time_after(jiffies, dma_start + 2*HZ/100)) {		/* 20ms */
-			printk(KERN_WARNING "%s: timeout waiting for Tx RDC.\n", dev->name);
-			ne_reset_8390(dev);
-			__NS8390_init(dev,1);
-			break;
-		}
-
-	outb_p(ENISR_RDC, NE_BASE + EN0_ISR);	/* Ack intr. */
-	ei_status.dmaing &= ~0x01;
-}
-
-
-#ifdef MODULE
-#define MAX_NE_CARDS	1	/* Max number of NE cards per module */
-static struct net_device *dev_ne[MAX_NE_CARDS];
-static int io[MAX_NE_CARDS];
-static int irq[MAX_NE_CARDS];
-static int bad[MAX_NE_CARDS];	/* 0xbad = bad sig or no reset ack */
-
-module_param_array(io, int, NULL, 0);
-module_param_array(irq, int, NULL, 0);
-module_param_array(bad, int, NULL, 0);
-MODULE_PARM_DESC(io, "I/O base address(es)");
-MODULE_PARM_DESC(irq, "IRQ number(s)");
-MODULE_DESCRIPTION("H8/300 NE2000 Ethernet driver");
-MODULE_LICENSE("GPL");
-
-/* This is set up so that no ISA autoprobe takes place. We can't guarantee
-that the ne2k probe is the last 8390 based probe to take place (as it
-is at boot) and so the probe will get confused by any other 8390 cards.
-ISA device autoprobes on a running machine are not recommended anyway. */
-
-int init_module(void)
-{
-	int this_dev, found = 0;
-	int err;
-
-	for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
-		struct net_device *dev = ____alloc_ei_netdev(0);
-		if (!dev)
-			break;
-		if (io[this_dev]) {
-			dev->irq = irq[this_dev];
-			dev->mem_end = bad[this_dev];
-			dev->base_addr = io[this_dev];
-		} else {
-			dev->base_addr = h8300_ne_base[this_dev];
-			dev->irq = h8300_ne_irq[this_dev];
-		}
-		err = init_reg_offset(dev, dev->base_addr);
-		if (!err) {
-			if (do_ne_probe(dev) == 0) {
-				dev_ne[found++] = dev;
-				continue;
-			}
-		}
-		free_netdev(dev);
-		if (found)
-			break;
-		if (io[this_dev] != 0)
-			printk(KERN_WARNING "ne.c: No NE*000 card found at i/o = %#x\n", dev->base_addr);
-		else
-			printk(KERN_NOTICE "ne.c: You must supply \"io=0xNNN\" value(s) for ISA cards.\n");
-		return -ENXIO;
-	}
-	if (found)
-		return 0;
-	return -ENODEV;
-}
-
-void cleanup_module(void)
-{
-	int this_dev;
-
-	for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
-		struct net_device *dev = dev_ne[this_dev];
-		if (dev) {
-			unregister_netdev(dev);
-			cleanup_card(dev);
-			free_netdev(dev);
-		}
-	}
-}
-#endif /* MODULE */
-- 
1.7.9.7


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 5/7] watchdog: Drop references to H8300 architecture
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
                   ` (2 preceding siblings ...)
  2013-08-30 16:40 ` [PATCH 4/7] net/ethernet: Drop H8/300 Ethernet driver Guenter Roeck
@ 2013-08-30 16:40 ` Guenter Roeck
  2013-08-30 16:40 ` [PATCH 6/7] Drop MAINTAINERS entry for H8/300 Guenter Roeck
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds, Guenter Roeck

Architecture is gone.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/watchdog/Kconfig  |    2 --
 drivers/watchdog/Makefile |    2 --
 2 files changed, 4 deletions(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 362085d..08a8a4d 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -408,8 +408,6 @@ config BFIN_WDT
 
 # FRV Architecture
 
-# H8300 Architecture
-
 # X86 (i386 + ia64 + x86_64) Architecture
 
 config ACQUIRE_WDT
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
index 2f26a0b..3989d3e 100644
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -65,8 +65,6 @@ obj-$(CONFIG_BFIN_WDT) += bfin_wdt.o
 
 # FRV Architecture
 
-# H8300 Architecture
-
 # X86 (i386 + ia64 + x86_64) Architecture
 obj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o
 obj-$(CONFIG_ADVANTECH_WDT) += advantechwdt.o
-- 
1.7.9.7


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 6/7] Drop MAINTAINERS entry for H8/300
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
                   ` (3 preceding siblings ...)
  2013-08-30 16:40 ` [PATCH 5/7] watchdog: Drop references to H8300 architecture Guenter Roeck
@ 2013-08-30 16:40 ` Guenter Roeck
  2013-08-30 16:40 ` [PATCH 7/7] Drop remaining references to H8/300 architecture Guenter Roeck
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds, Guenter Roeck

The architecture is gone.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 MAINTAINERS |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 8197fbd..62e513e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8482,14 +8482,6 @@ S:	Maintained
 F:	arch/m68k/*/*_no.*
 F:	arch/m68k/include/asm/*_no.*
 
-UCLINUX FOR RENESAS H8/300 (H8300)
-M:	Yoshinori Sato <ysato@users.sourceforge.jp>
-W:	http://uclinux-h8.sourceforge.jp/
-S:	Supported
-F:	arch/h8300/
-F:	drivers/ide/ide-h8300.c
-F:	drivers/net/ethernet/8390/ne-h8300.c
-
 UDF FILESYSTEM
 M:	Jan Kara <jack@suse.cz>
 S:	Maintained
-- 
1.7.9.7


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 7/7] Drop remaining references to H8/300 architecture
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
                   ` (4 preceding siblings ...)
  2013-08-30 16:40 ` [PATCH 6/7] Drop MAINTAINERS entry for H8/300 Guenter Roeck
@ 2013-08-30 16:40 ` Guenter Roeck
  2013-08-30 16:55 ` [PATCH 0/7] Drop support for Renesys " Greg Kroah-Hartman
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds, Guenter Roeck

With the architecture gone, any references to it are no longer needed.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 include/uapi/linux/audit.h  |    1 -
 include/uapi/linux/elf-em.h |    1 -
 2 files changed, 2 deletions(-)

diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index 75cef3f..db0b825 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -329,7 +329,6 @@ enum {
 #define AUDIT_ARCH_ARMEB	(EM_ARM)
 #define AUDIT_ARCH_CRIS		(EM_CRIS|__AUDIT_ARCH_LE)
 #define AUDIT_ARCH_FRV		(EM_FRV)
-#define AUDIT_ARCH_H8300	(EM_H8_300)
 #define AUDIT_ARCH_I386		(EM_386|__AUDIT_ARCH_LE)
 #define AUDIT_ARCH_IA64		(EM_IA_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
 #define AUDIT_ARCH_M32R		(EM_M32R)
diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h
index 8e2b7ba..dcca7ed 100644
--- a/include/uapi/linux/elf-em.h
+++ b/include/uapi/linux/elf-em.h
@@ -30,7 +30,6 @@
 #define EM_CRIS		76	/* Axis Communications 32-bit embedded processor */
 #define EM_V850		87	/* NEC v850 */
 #define EM_M32R		88	/* Renesas M32R */
-#define EM_H8_300	46	/* Renesas H8/300,300H,H8S */
 #define EM_MN10300	89	/* Panasonic/MEI MN10300, AM33 */
 #define EM_BLACKFIN     106     /* ADI Blackfin Processor */
 #define EM_TI_C6000	140	/* TI C6X DSPs */
-- 
1.7.9.7


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
                   ` (5 preceding siblings ...)
  2013-08-30 16:40 ` [PATCH 7/7] Drop remaining references to H8/300 architecture Guenter Roeck
@ 2013-08-30 16:55 ` Greg Kroah-Hartman
  2013-08-30 18:30   ` David Miller
  2013-08-30 18:46 ` Wim Van Sebroeck
       [not found] ` <1377880842-6835-2-git-send-email-linux@roeck-us.net>
  8 siblings, 1 reply; 17+ messages in thread
From: Greg Kroah-Hartman @ 2013-08-30 16:55 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-kernel, linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Jiang Liu, David Howells,
	Thomas Gleixner, Stephen Rothwell, Linus Torvalds

On Fri, Aug 30, 2013 at 09:40:35AM -0700, Guenter Roeck wrote:
> H8/300 has been dead for several years, the kernel for it has
> not compiled for ages, and recent versions of gcc for it are broken.
> It is time to drop support for it.
> 
> Yes, I understand it is not that simple to drop an architecture,
> and it may need some discussion, but someone has to put a stake
> into the ground. Keeping a virtually dead architecture on life support
> takes resources which are better spent elsewhere.

If this doesn't build, and no one is using it anymore, I agree, it
should be removed.  If someone wants to revive it, 'git revert' works
just fine.

You can put my:

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

on these patches, unless someone steps up to be the active maintainer of
the arch and gets it building/working again.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-30 16:55 ` [PATCH 0/7] Drop support for Renesys " Greg Kroah-Hartman
@ 2013-08-30 18:30   ` David Miller
  0 siblings, 0 replies; 17+ messages in thread
From: David Miller @ 2013-08-30 18:30 UTC (permalink / raw)
  To: gregkh
  Cc: linux, linux-kernel, linux-ide, netdev, linux-watchdog, wim, viro,
	eparis, jiang.liu, dhowells, tglx, sfr, torvalds

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Fri, 30 Aug 2013 09:55:50 -0700

> On Fri, Aug 30, 2013 at 09:40:35AM -0700, Guenter Roeck wrote:
>> H8/300 has been dead for several years, the kernel for it has
>> not compiled for ages, and recent versions of gcc for it are broken.
>> It is time to drop support for it.
>> 
>> Yes, I understand it is not that simple to drop an architecture,
>> and it may need some discussion, but someone has to put a stake
>> into the ground. Keeping a virtually dead architecture on life support
>> takes resources which are better spent elsewhere.
> 
> If this doesn't build, and no one is using it anymore, I agree, it
> should be removed.  If someone wants to revive it, 'git revert' works
> just fine.
> 
> You can put my:
> 
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> on these patches, unless someone steps up to be the active maintainer of
> the arch and gets it building/working again.

I completely agree with Greg, and for the IDE and networking bits:

Acked-by: David S. Miller <davem@davemloft.net>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
                   ` (6 preceding siblings ...)
  2013-08-30 16:55 ` [PATCH 0/7] Drop support for Renesys " Greg Kroah-Hartman
@ 2013-08-30 18:46 ` Wim Van Sebroeck
  2013-08-30 19:11   ` Guenter Roeck
       [not found] ` <1377880842-6835-2-git-send-email-linux@roeck-us.net>
  8 siblings, 1 reply; 17+ messages in thread
From: Wim Van Sebroeck @ 2013-08-30 18:46 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-kernel, linux-ide, netdev, linux-watchdog, David S. Miller,
	Al Viro, Eric Paris, Greg Kroah-Hartman, Jiang Liu, David Howells,
	Thomas Gleixner, Stephen Rothwell, Linus Torvalds

Hi Guenter,

> H8/300 has been dead for several years, the kernel for it has
> not compiled for ages, and recent versions of gcc for it are broken.
> It is time to drop support for it.
> 
> Yes, I understand it is not that simple to drop an architecture,
> and it may need some discussion, but someone has to put a stake
> into the ground. Keeping a virtually dead architecture on life support
> takes resources which are better spent elsewhere.

Agree. You may add my Acked-by.
How do you plan to get this upstream? Do I need to take the watchdog in my tree or do you plan to keep the set of patches together in one tree?

Kind regards,
Wim.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-30 18:46 ` Wim Van Sebroeck
@ 2013-08-30 19:11   ` Guenter Roeck
  2013-08-30 19:14     ` Linus Torvalds
  0 siblings, 1 reply; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 19:11 UTC (permalink / raw)
  To: Wim Van Sebroeck
  Cc: linux-kernel, linux-ide, netdev, linux-watchdog, David S. Miller,
	Al Viro, Eric Paris, Greg Kroah-Hartman, Jiang Liu, David Howells,
	Thomas Gleixner, Stephen Rothwell, Linus Torvalds

On Fri, Aug 30, 2013 at 08:46:11PM +0200, Wim Van Sebroeck wrote:
> Hi Guenter,
> 
> > H8/300 has been dead for several years, the kernel for it has
> > not compiled for ages, and recent versions of gcc for it are broken.
> > It is time to drop support for it.
> > 
> > Yes, I understand it is not that simple to drop an architecture,
> > and it may need some discussion, but someone has to put a stake
> > into the ground. Keeping a virtually dead architecture on life support
> > takes resources which are better spent elsewhere.
> 
> Agree. You may add my Acked-by.
> How do you plan to get this upstream? Do I need to take the watchdog in my tree or do you plan to keep the set of patches together in one tree?
> 
My plan is create a branch on my repository on kernel.org, ask Stephen
to add it to linux-next, and then ask Linus to pull it after one
release cycle (ie for 3.13). This should give people enough time
to find out about it and complain, and give everyone else enough time
to find any missing pieces.

I would not mind if Linus would agree to pull it right away for 3.12,
but that seems to be a bit on the fast side.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-30 19:11   ` Guenter Roeck
@ 2013-08-30 19:14     ` Linus Torvalds
  2013-08-30 19:37       ` Guenter Roeck
  0 siblings, 1 reply; 17+ messages in thread
From: Linus Torvalds @ 2013-08-30 19:14 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Wim Van Sebroeck, Linux Kernel Mailing List, IDE-ML,
	Network Development, Linux Watchdog Mailing List, David S. Miller,
	Al Viro, Eric Paris, Greg Kroah-Hartman, Jiang Liu, David Howells,
	Thomas Gleixner, Stephen Rothwell

On Fri, Aug 30, 2013 at 12:11 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>
> I would not mind if Linus would agree to pull it right away for 3.12,
> but that seems to be a bit on the fast side.

I'm ok with code deletion patches, I don't think that would be a
problem. I didn't check them, but I assume this is all literally just
removing code that is conditional on h8/300 config options?

              Linus

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-30 19:14     ` Linus Torvalds
@ 2013-08-30 19:37       ` Guenter Roeck
  2013-08-31  6:44         ` Geert Uytterhoeven
  0 siblings, 1 reply; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 19:37 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Wim Van Sebroeck, Linux Kernel Mailing List, IDE-ML,
	Network Development, Linux Watchdog Mailing List, David S. Miller,
	Al Viro, Eric Paris, Greg Kroah-Hartman, Jiang Liu, David Howells,
	Thomas Gleixner, Stephen Rothwell

On Fri, Aug 30, 2013 at 12:14:20PM -0700, Linus Torvalds wrote:
> On Fri, Aug 30, 2013 at 12:11 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> >
> > I would not mind if Linus would agree to pull it right away for 3.12,
> > but that seems to be a bit on the fast side.
> 
> I'm ok with code deletion patches, I don't think that would be a
> problem. I didn't check them, but I assume this is all literally just
> removing code that is conditional on h8/300 config options?
> 
Yes.

I found a couple more since I sent the series, but nothing significant.

What is your preference - keep it until 3.13, or prepare it now and send you
a pull request for 3.12 ?

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/7] Drop support for Renesys H8/300 (h8300) architecture
       [not found] ` <1377880842-6835-2-git-send-email-linux@roeck-us.net>
@ 2013-08-30 23:01   ` Sergei Shtylyov
  2013-08-30 23:47     ` Guenter Roeck
  0 siblings, 1 reply; 17+ messages in thread
From: Sergei Shtylyov @ 2013-08-30 23:01 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-kernel, linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds

Hello.

On 08/30/2013 08:40 PM, Guenter Roeck wrote:

    Subject typo: it's Renesas, not Renesys, according to the MAINTAINERS entry.

> H8/300 has been dead for several years, and the kernel for it
> has not compiled for ages. Drop support for it.

> Signed-off-by: Guenter Roeck <linux@roeck-us.net>

WBR, Sergei


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/7] Drop support for Renesys H8/300 (h8300) architecture
  2013-08-30 23:01   ` [PATCH 1/7] Drop support for Renesys H8/300 (h8300) architecture Sergei Shtylyov
@ 2013-08-30 23:47     ` Guenter Roeck
  0 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-30 23:47 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: linux-kernel, linux-ide, netdev, linux-watchdog, Wim Van Sebroeck,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell,
	Linus Torvalds

On 08/30/2013 04:01 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 08/30/2013 08:40 PM, Guenter Roeck wrote:
>
>     Subject typo: it's Renesas, not Renesys, according to the MAINTAINERS entry.
>
Yes, I noticed. Will be fixed in the next version.

Guenter


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-30 19:37       ` Guenter Roeck
@ 2013-08-31  6:44         ` Geert Uytterhoeven
  2013-08-31 13:56           ` Guenter Roeck
  0 siblings, 1 reply; 17+ messages in thread
From: Geert Uytterhoeven @ 2013-08-31  6:44 UTC (permalink / raw)
  To: Guenter Roeck, Yoshinori Sato
  Cc: Linus Torvalds, Wim Van Sebroeck, Linux Kernel Mailing List,
	IDE-ML, Network Development, Linux Watchdog Mailing List,
	David S. Miller, Al Viro, Eric Paris, Greg Kroah-Hartman,
	Jiang Liu, David Howells, Thomas Gleixner, Stephen Rothwell

On Fri, Aug 30, 2013 at 9:37 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> On Fri, Aug 30, 2013 at 12:14:20PM -0700, Linus Torvalds wrote:
>> On Fri, Aug 30, 2013 at 12:11 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>> >
>> > I would not mind if Linus would agree to pull it right away for 3.12,
>> > but that seems to be a bit on the fast side.
>>
>> I'm ok with code deletion patches, I don't think that would be a
>> problem. I didn't check them, but I assume this is all literally just
>> removing code that is conditional on h8/300 config options?
>>
> Yes.
>
> I found a couple more since I sent the series, but nothing significant.
>
> What is your preference - keep it until 3.13, or prepare it now and send you
> a pull request for 3.12 ?

It would be nice to check with Sato-san, who wanted to attend Kernel
Summit as a hobbyist architecture maintainer, and see what are his plans
and opinions.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture
  2013-08-31  6:44         ` Geert Uytterhoeven
@ 2013-08-31 13:56           ` Guenter Roeck
  0 siblings, 0 replies; 17+ messages in thread
From: Guenter Roeck @ 2013-08-31 13:56 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Yoshinori Sato, Linus Torvalds, Wim Van Sebroeck,
	Linux Kernel Mailing List, IDE-ML, Network Development,
	Linux Watchdog Mailing List, David S. Miller, Al Viro, Eric Paris,
	Greg Kroah-Hartman, Jiang Liu, David Howells, Thomas Gleixner,
	Stephen Rothwell

On 08/30/2013 11:44 PM, Geert Uytterhoeven wrote:
> On Fri, Aug 30, 2013 at 9:37 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>> On Fri, Aug 30, 2013 at 12:14:20PM -0700, Linus Torvalds wrote:
>>> On Fri, Aug 30, 2013 at 12:11 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>>>>
>>>> I would not mind if Linus would agree to pull it right away for 3.12,
>>>> but that seems to be a bit on the fast side.
>>>
>>> I'm ok with code deletion patches, I don't think that would be a
>>> problem. I didn't check them, but I assume this is all literally just
>>> removing code that is conditional on h8/300 config options?
>>>
>> Yes.
>>
>> I found a couple more since I sent the series, but nothing significant.
>>
>> What is your preference - keep it until 3.13, or prepare it now and send you
>> a pull request for 3.12 ?
>
> It would be nice to check with Sato-san, who wanted to attend Kernel
> Summit as a hobbyist architecture maintainer, and see what are his plans
> and opinions.
>

Yes, of course. My bad that my send script dropped him of all people from the
original e-mail :(. I fixed that in version 2.

Guenter


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-08-31 13:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30 16:40 [PATCH 0/7] Drop support for Renesys H8/300 architecture Guenter Roeck
2013-08-30 16:40 ` [PATCH 2/7] ide: Drop H8/300 driver Guenter Roeck
2013-08-30 16:40 ` [PATCH 3/7] net/ethernet: smsc: Drop conditional code for H8/300 Guenter Roeck
2013-08-30 16:40 ` [PATCH 4/7] net/ethernet: Drop H8/300 Ethernet driver Guenter Roeck
2013-08-30 16:40 ` [PATCH 5/7] watchdog: Drop references to H8300 architecture Guenter Roeck
2013-08-30 16:40 ` [PATCH 6/7] Drop MAINTAINERS entry for H8/300 Guenter Roeck
2013-08-30 16:40 ` [PATCH 7/7] Drop remaining references to H8/300 architecture Guenter Roeck
2013-08-30 16:55 ` [PATCH 0/7] Drop support for Renesys " Greg Kroah-Hartman
2013-08-30 18:30   ` David Miller
2013-08-30 18:46 ` Wim Van Sebroeck
2013-08-30 19:11   ` Guenter Roeck
2013-08-30 19:14     ` Linus Torvalds
2013-08-30 19:37       ` Guenter Roeck
2013-08-31  6:44         ` Geert Uytterhoeven
2013-08-31 13:56           ` Guenter Roeck
     [not found] ` <1377880842-6835-2-git-send-email-linux@roeck-us.net>
2013-08-30 23:01   ` [PATCH 1/7] Drop support for Renesys H8/300 (h8300) architecture Sergei Shtylyov
2013-08-30 23:47     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).