m68k build regression

2013-04-05 Thread Bityutskiy, Artem
Hi, starting from 3.9-rc1 one of my m68k configurations does not build, which is a regression. The configuration is attached. I build with W=1. I did not look at the details, just shooting a bug report. drivers/gpio/devres.c: In function 'devm_gpio_request_one': drivers/gpio/devres.c:90:2:

Re: m68k build regression

2013-04-05 Thread Linus Walleij
On Fri, Apr 5, 2013 at 12:39 PM, Bityutskiy, Artem artem.bityuts...@intel.com wrote: starting from 3.9-rc1 one of my m68k configurations does not build, which is a regression. The configuration is attached. I build with W=1. I did not look at the details, just shooting a bug report.

Re: m68k build regression

2013-04-05 Thread Alex Courbot
On 04/05/2013 07:49 AM, Linus Walleij wrote: On Fri, Apr 5, 2013 at 12:39 PM, Bityutskiy, Artem artem.bityuts...@intel.com wrote: starting from 3.9-rc1 one of my m68k configurations does not build, which is a regression. The configuration is attached. I build with W=1. I did not look at the

[PATCH 0/13] Atari EtherNAT/EtherNEC/NetUSBee support

2013-04-05 Thread Michael Schmitz
Hi Geert, here's my rewrite of the Atari patch series for upstream submission - the only changes are to patches 9 and 12. The USB patch no longer disables the chip interrupt in the interrupt handler - it turns out this wasn't necessary at all. It also does away with direct writes to the

[PATCH 01/12] m68k/atari: ROM port ISA adapter support

2013-04-05 Thread Michael Schmitz
From: Michael Schmitz schm...@opal.biophys.uni-duesseldorf.de Atari ROM port ISA adapter support for EtherNEC and NetUSBee adapters 16 bit access for ROM port adapters follows debugging and clarification by David Galvez dgalve...@gmail.com. The NetUSBee ISP1160 USB chip uses these macros.

[PATCH 02/12] m68k/irq: Add handle_polled_irq() for timer based soft interrupts

2013-04-05 Thread Michael Schmitz
Experimental hack to avoid unhandled interrupt timer to fire on EtherNEC/NetUSBee cards that have no hardware interrupt and need to be polled from a timer interrupt. This patch adds a special 'polled interrupt' handler for timer based software interrupts. handle_simple_irq() will respond to

[PATCH 03/12] m68k/atari: use dedicated irq_chip for timer D interrupts

2013-04-05 Thread Michael Schmitz
Add a special irq_chip for the Atari MFP timer D interrupt, which is used as a polling timer for EtherNEC and NetUSBee Signed-off-by: Michael Schmitz schm...@debian.org --- arch/m68k/atari/ataints.c | 70 + arch/m68k/include/asm/atariints.h |9

[PATCH 04/12] m68k/atari: use polled interrupt handler for timer D interrupts

2013-04-05 Thread Michael Schmitz
Make use of handle_polled_irq instead of handle_simple_irq for the MFP timer D interrupts - this avoids 'unhandled interrupt' messages and disabling of the timer interrupts after idle periods. Signed-off-by: Michael Schmitz schm...@debian.org --- arch/m68k/atari/ataints.c |2 +- 1 files

[PATCH 05/12] m68k/atari: EtherNAT - platform device and IRQ support code

2013-04-05 Thread Michael Schmitz
Add platform device and interrupt definitions necessary for the EtherNAT Ethernet/USB adapter for the Falcon extension port. EtherNAT interrupt numbers are 139/140 so the max. interrupt number for Atari has to be increased. Signed-off-by: Michael Schmitz schm...@debian.org ---

[PATCH 06/12] m68k/atari: EtherNEC - add platform device support

2013-04-05 Thread Michael Schmitz
Add platform device for the Atari ROM port ethernet adapter, EtherNEC. This platform device will be used by the ne.c driver. Signed-off-by: Michael Schmitz schm...@debian.org --- arch/m68k/atari/config.c | 50 ++ 1 files changed, 50 insertions(+), 0

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

2013-04-05 Thread Michael Schmitz
Add Atari specific code to the smc91x Ethernet driver. This code is used on the EtherNAT adapter card for the Atari Falcon extension port. Without the patch to smc91x.h, the first two bytes of every ethernet packet sent out are swapped, resulting in a wrong MAC address being read by the packet's

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

2013-04-05 Thread Michael Schmitz
Support for Atari EtherNEC ROM port adapters in ne.c Signed-off-by: Michael Schmitz schm...@debian.org --- arch/m68k/Kconfig.devices | 14 ++ drivers/net/ethernet/8390/Kconfig |3 ++- drivers/net/ethernet/8390/ne.c|2 ++ 3 files changed, 18 insertions(+), 1

[PATCH 09/12] m68k/atari: EtherNAT - add interrupt chip definition for CPLD interrupts

2013-04-05 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. Note the CPLD interrupt control register is mapped on demand, whenever any

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

2013-04-05 Thread Michael Schmitz
Add a ndelay macro modeled after the Coldfire udelay(). The ISP1160 driver needs a 150ns delay, so we need to have ndelay(). Signed-off-by: Michael Schmitz schm...@debian.org --- arch/m68k/include/asm/delay.h | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff

[PATCH 11/12] m68k/atari: USB - add platform devices for EtherNAT/NetUSBee ISP1160 HCD

2013-04-05 Thread Michael Schmitz
Add platform devices used by the isp116x-hcd driver for EtherNAT and NetUSBee. Note that the NetUSBee also contains a RTL8019 Ethernet chip, so its platform device is used to cover the EtherNEC case, too. Register definitions thanks to David Galvez dgalve...@gmail.com Signed-off-by: Michael

[PATCH 12/12] m68k/atari: USB - add ISP1160 USB host controller support

2013-04-05 Thread Michael Schmitz
Add Atari specific quirks to the isp116x-hcd USB driver used for EtherNAT and NetUSBee. The bus interface of both devices is byte swapped in hardware, this has to be taken into account by the register access macros. On the EtherNAT, interrupts have to be explicitly disabled and enabled around