]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/smc911x.h
sfc: Reduce the size of struct efx_tx_buffer
[linux-2.6-omap-h63xx.git] / drivers / net / smc911x.h
index 266232271a72879467afab4579f9dcad68ad3071..2abfc284519829ee05856b26b80c0ce45f2e27b5 100644 (file)
@@ -39,7 +39,6 @@
   #define SMC_USE_32BIT                1
   #define SMC_IRQ_SENSE                IRQF_TRIGGER_FALLING
 #elif defined(CONFIG_SH_MAGIC_PANEL_R2)
-  #define SMC_USE_SH_DMA       0
   #define SMC_USE_16BIT                0
   #define SMC_USE_32BIT                1
   #define SMC_IRQ_SENSE                IRQF_TRIGGER_LOW
@@ -80,7 +79,6 @@ struct smc911x_local {
 
        /* work queue */
        struct work_struct phy_configure;
-       int work_pending;
 
        int tx_throttle;
        spinlock_t lock;
@@ -224,7 +222,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
  */
 #include <linux/dma-mapping.h>
 #include <asm/dma.h>
-#include <asm/arch/pxa-regs.h>
+#include <mach/pxa-regs.h>
 
 static dma_addr_t rx_dmabuf, tx_dmabuf;
 static int rx_dmalen, tx_dmalen;