Skip to content

Atari Ethernet/USB patch series - for upstream and debian-kernel

Michael Schmitz linux-m68k 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11m68k/atari: ROM port ISA adapter supportarch/m68k/Kconfig.bus arch/m68k/include/asm/io_mm.h arch/m68k/include/asm/raw_io.h +1 more+254 -70 replies
2/11m68k/irq: Add handle_polled_irq() for timer based soft interruptsinclude/linux/irq.h kernel/irq/chip.c+37 -00 replies
3/11m68k/atari: use dedicated irq_chip for timer D interruptsarch/m68k/atari/ataints.c arch/m68k/include/asm/atariints.h+79 -00 replies
4/11m68k/atari: EtherNAT - platform device and IRQ support codearch/m68k/atari/config.c arch/m68k/include/asm/atarihw.h arch/m68k/include/asm/atariints.h +1 more+74 -20 replies
5/11m68k/atari: EtherNEC - add platform device supportarch/m68k/atari/config.c+50 -00 replies
6/11m68k/atari: EtherNAT - ethernet support - new driver (smc91x)arch/m68k/Kconfig.devices drivers/net/ethernet/smsc/Kconfig drivers/net/ethernet/smsc/smc91x.h+73 -40 replies
7/11m68k/atari: EtherNEC - ethernet support - new driver (ne.c)arch/m68k/Kconfig.devices drivers/net/ethernet/8390/Kconfig drivers/net/ethernet/8390/ne.c+18 -10 replies
8/11m68k/atari: EtherNAT - add interrupt chip definition for CPLD interruptsarch/m68k/atari/ataints.c+68 -00 replies
9/11m68k: Implement ndelay() based on the existing udelay() logicarch/m68k/include/asm/delay.h+20 -00 replies
10/11m68k/atari: USB - add platform devices for EtherNAT/NetUSBee ISP1160 HCDarch/m68k/atari/config.c+126 -50 replies
11/11m68k/atari: USB - add ISP1160 USB host controller supportarch/m68k/Kconfig.bus drivers/usb/host/isp116x-hcd.c drivers/usb/host/isp116x.h+150 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] Atari Ethernet/USB patch series - for upstream and debian-kernel

Hello Geert,

This series of patches contains Atari EtherNAT and EtherNEC network support, plus USB driver support for the ISP1160 chip found on EtherNAT and NetUSBee adapters, to be applied to upstream 3.9-rc2 (_not_ m68k-queue or master).

Support stuff:
01/11 m68k/atari: ROM port ISA adapter support
02/11 m68k/irq: Add handle_polled_irq() for timer based soft interrupts 03/11 m68k/atari: use dedicated irq_chip for timer D interrupts

Ethernet:
04/11 m68k/atari: EtherNAT - platform device and IRQ support code 05/11 m68k/atari: EtherNEC - add platform device support
06/11 m68k/atari: EtherNAT - ethernet support - new driver (smc91x) 07/11 m68k/atari: EtherNEC - ethernet support - new driver (ne.c) 08/11 m68k/atari: EtherNAT - add interrupt chip definition for CPLD interrupts

USB:
09/11 m68k: Implement ndelay() based on the existing udelay() logic 10/11 m68k/atari: USB - add platform devices for EtherNAT/NetUSBee ISP1160 HCD 11/11 m68k/atari: USB - add ISP1160 USB host controller support

Again, the polled IRQ support patch is likely controversial. Ethernet patches should be fairly straightforward to merge upstream, the last patch from the USB part is of the 'Works For Me' variety and I will have to experiment a bit more to minimize changes to the core isp116x-hcd interrupt code. The 16 bit access quirks probably cannot be avoided though.

My thanks goes to David Galvez for information on the EtherNAT USB register offsets, NetUSBee 16 bit access tricks and above mentioned 16 bit access quirks. This code has only been tested on my EtherNAT, so re-testing on NetUSBee might be a good idea before we can consider kicking the USB portion upstream. It's fairly self-contained and did not have any history in m68k-queue so I don't mind for it to live in m68k-queue for a while.

This patch series should be suitable for inclusion in the debian/68k kernel packages (if policy allows). Thorsten: If you want help with that, I can try to cherry-pick into a debian-patched git branch to simplify that process.

Cheers,

Michael