]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
net:smc911x Modify driver to also work with omap24xx
authorArun KS <getarunks@gmail.com>
Mon, 30 Jun 2008 15:11:30 +0000 (20:41 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Jul 2008 10:22:34 +0000 (13:22 +0300)
net:smc911x Modify driver to also work with omap24xx

Signed-off-by: Arun KS <arunks@mistralsolutions.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/net/Kconfig
drivers/net/smc911x.h

index 61ecee766cc1d7b0a555227787487d68dfc3160b..ecda0b6eafd4649fa38d8c0b949dbc37cb037738 100644 (file)
@@ -955,7 +955,7 @@ config SMC911X
        tristate "SMSC LAN911[5678] support"
        select CRC32
        select MII
-       depends on ARCH_PXA || SH_MAGIC_PANEL_R2 || ARCH_OMAP34XX
+       depends on ARCH_PXA || SH_MAGIC_PANEL_R2 || ARCH_OMAP24XX || ARCH_OMAP34XX 
        help
          This is a driver for SMSC's LAN911x series of Ethernet chipsets
          including the new LAN9115, LAN9116, LAN9117, and LAN9118.
index dad93a8bfb0a1779eb94c2b6541ce292a48bd5dc..0f406a0d111fa3db7c478666336dd5e897129688 100644 (file)
   #define SMC_USE_32BIT                1
   #define SMC_IRQ_SENSE                IRQF_TRIGGER_LOW
   #define SMC_MEM_RESERVED     1
+#elif defined(CONFIG_ARCH_OMAP24XX)
+  #define SMC_USE_16BIT                0
+  #define SMC_USE_32BIT                1
+  #define SMC_IRQ_SENSE                IRQF_TRIGGER_LOW
+  #define SMC_MEM_RESERVED     1
 #endif