[PATCH 14/14] m68k/atari: USB - Add ISP1160 USB host controller support

2013-03-24 Thread Michael Schmitz
Add Atari specific support code for isp116x-hcd driver used by EtherNAT and NetUSBee adapters. Both use a 16-bit data bus wiring that is byte-swapped in hardware. The EtherNAT adapter also has quirks relating to interrupts and needs interrupts disabled until after the chip has been reset. Debuggin

[PATCH 09/14] m68k/atari: EtherNEC - ethernet support - new driver (ne.c)

2013-03-24 Thread Michael Schmitz
Use ne.c driver for Atari EtherNEC and NetUSBee network adapters. Signed-off-by: Michael Schmitz --- arch/m68k/Kconfig.devices | 11 +++ drivers/net/ethernet/8390/Kconfig |3 ++- drivers/net/ethernet/8390/ne.c|2 ++ 3 files changed, 15 insertions(+), 1 deletions(-)

[PATCH 07/14] m68k/atari: EtherNEC - add platform device support

2013-03-24 Thread Michael Schmitz
Platform device support for EtherNEC, uset by ne.c driver. Signed-off-by: Michael Schmitz --- arch/m68k/atari/config.c | 45 + 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/arch/m68k/atari/config.c b/arch/m68k/atari/config.c index 6

[PATCH 13/14] m68k/atari: USB - add platform device definitions for ISP1160 HCD

2013-03-24 Thread Michael Schmitz
Add platform devices for use by isp116x-hcd driver for EtherNAT and NetUSBee USB functions. Register definitions thanks to David Galvez Signed-off-by: Michael Schmitz --- arch/m68k/atari/config.c | 131 -- 1 files changed, 126 insertions(+), 5 deleti

[PATCH 11/14] m68k/atari: Implement 16 bit access macros for ROM port

2013-03-24 Thread Michael Schmitz
Implement 16 bit access for ROM port adapter cards, following debugging and clarification by David Galvez Remove 32 bit ROM port access macros introduced in original ROM port access patch. 32 bit writes are impossible to Atari ROM port adapters without dropping the top bits - even 16 bit writes a

[PATCH 08/14] m68k/atari: EtherNAT - ethernet support - new driver (smc91x)

2013-03-24 Thread Michael Schmitz
Use smc91x driver for Atari EtherNAT SMC91C111 ethernet chip. Change to smc91x.h is necessary to avoid corruption of outgoing ethernet packet headers (first two bytes end up swapped otherwise). Signed-off-by: Michael Schmitz --- arch/m68k/Kconfig.devices | 10 ++ drivers/net/et

[PATCH 12/14] m68k: Implement ndelay() based on the existing udelay() logic

2013-03-24 Thread Michael Schmitz
Add ndelay macro, modeled after the CF udelay macro. The ISP1160 USB HCD chip on EtherNAT and NetUSBee needs a 150ns delay after register access. Signed-off-by: Michael Schmitz --- arch/m68k/include/asm/delay.h | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff

[PATCH 10/14] m68k/atari: EtherNAT - add interrupt chip for Ethernet and USB interrupts

2013-03-24 Thread Michael Schmitz
Add a dedicated interrupt chip definition for the EtherNAT CPLD interrupts. SMC91C111 and ISP1160 chips have separate interrupts that can be enabled and disabled in a CPLD register at offset 0x23 from the card base. The smc91x and isp116x-hcd drivers will use this feature. Signed-off-by: Michael

[PATCH 06/14] m68k/atari: use dedicated irq_chip for timer D interrupts

2013-03-24 Thread Michael Schmitz
The MFP timer D is used as a polling timer for EtherNEC and NetUSBee on Atari. Set up a dedicated IRQ chip for timer D to simplify interrupt sharing, and use the new 'polling' IRQ handler for its interrupts. Signed-off-by: Michael Schmitz --- arch/m68k/atari/ataints.c | 70

[PATCH 05/14] m68k/irq: add handle_polled_irq() for timer based soft interrupts

2013-03-24 Thread Michael Schmitz
This patch adds a special 'polled interrupt' handler for timer based software interrupts. handle_simple_irq() will respond to excessive unhandled interrupts (as are expected for a polling timer interrupt) by disabling the apparently unhandled interrupt source. handle_polled_irq() prevents this

[PATCH 04/14] m68k/atari: EtherNAT - change number of Atari interrupt sources

2013-03-24 Thread Michael Schmitz
Increase the number of Atari interrupt sources to include EtherNAT interrupts (interrupt nunbers 139/140, vectors 0xc3/0xc4). Signed-off-by: Michael Schmitz --- arch/m68k/atari/config.c | 20 +--- arch/m68k/include/asm/atariints.h |2 +- arch/m68k/include/asm/irq.h

[PATCH 01/14] m68k/atari EtherNEC: remove original EtherNEC driver

2013-03-24 Thread Michael Schmitz
Signed-off-by: Michael Schmitz --- drivers/net/Space.c|4 - drivers/net/ethernet/8390/Kconfig |8 - drivers/net/ethernet/8390/Makefile |1 - drivers/net/ethernet/8390/atari_ethernec.c | 1008 4 files changed, 0 inse

[PATCH 03/14] m68k/atari: use CONFIG_ATARI in smc91x.h

2013-03-24 Thread Michael Schmitz
Signed-off-by: Michael Schmitz --- drivers/net/ethernet/smsc/smc91x.h |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/smsc/smc91x.h b/drivers/net/ethernet/smsc/smc91x.h index f0f950c..528f7ba 100644 --- a/drivers/net/ethernet/smsc/smc91x.h +++ b

[no subject]

2013-03-24 Thread Michael Schmitz
Hello Geert, This series of patches updates Atari EtherNAT and EtherNEC network support, plus adds USB driver support for the ISP1160 chip found on EtherNAT and NetUSBee adapters. It is meant to apply on top of your m68k-queue or master branches. Expect a merge conflict in #4 (the EtherNAT ba

Fwd: Log for attempted build of m4_1.4.16-5 on m68k (dist=unstable)

2013-03-24 Thread Thorsten Glaser
u.U. schiefstehen könnte m4_1.4.16-5_m68k-20130324-0459.gz Description: GNU Zip compressed data