Re: [PATCH 6/5] m68k/atari: EtherNAT - use correct irq flag in atari_91C111

Michael Schmitz
2012-04-01T04:57:20Z

Michael Schmitz wrote:
> Part 5 in the EtherNAT series: actually enable the necessary USB HCD
> support option to be able to chose the ISP116x USB driver on Atari.
>
And another one (I feel a Monty Python pun coming on): make sure the
91C111 driver is prepared to share the interrupt, otherwise it won't
load if the EtherNEC driver has already claimed the timer interrupt
(atari_91C111 still uses the timer as of now).

Further patches that deal with fixing a problem related to the unhandled
interrupt watchdog as well as a rewrite of the EtherNEC driver based on
ne.c follow.

Signed-off-by: Michael Schmitz <schmitz@debian.org>

--
drivers/net/ethernet/smsc/smc91x.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/smsc/smc91x.h
b/drivers/net/ethernet/smsc/smc91x.h
index 799d494..987755c 100644
--- a/drivers/net/ethernet/smsc/smc91x.h
+++ b/drivers/net/ethernet/smsc/smc91x.h
@@ -255,6 +255,8 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg)
#define RPC_LSA_DEFAULT RPC_LED_100_10
#define RPC_LSB_DEFAULT RPC_LED_TX_RX

+#define SMC_IRQ_FLAGS (IRQF_SHARED)
+
#define SMC_DYNAMIC_BUS_CONFIG