On Thu, May 24, 2012 at 2:51 AM, Michael Schmitz <schmitz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
--- a/drivers/net/ethernet/smsc/Kconfig +++ b/drivers/net/ethernet/smsc/Kconfig @@ -19,6 +19,21 @@ config NET_VENDOR_SMSC if NET_VENDOR_SMSC +config ATARI_ETHERNAT + tristate "Atari EtherNAT Ethernet support"
Same here like for ETHERNEC: Make it bool and move it to arch/m68k/Kconfig.devices
--- a/drivers/net/ethernet/smsc/Makefile +++ b/drivers/net/ethernet/smsc/Makefile @@ -2,6 +2,7 @@ # Makefile for the SMSC network device drivers. # +obj-$(CONFIG_ATARI_ETHERNAT) += smc91x.o
Duplicate of CONFIG_SMC91X, remove, and make SMC91X depend on "|| ATARI_ETHERNAT" in drivers/net/ethernet/smsc/Kconfig.
--- 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) + #elif defined(CONFIG_ARCH_MSM) #define SMC_CAN_USE_8BIT 0
To be updated, as it depends on ETHERNAT_OLD being available. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html