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
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(-)
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
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
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
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
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
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
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
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
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
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
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
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
u.U. schiefstehen könnte
m4_1.4.16-5_m68k-20130324-0459.gz
Description: GNU Zip compressed data
15 matches
Mail list logo