X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fsmc911x.h;h=7defa63b9c747efd1cda1ea902079c0124340cac;hb=608dfddd845da5ab6accef70154c8910529699f7;hp=962a710459fc6ee111d75c1a2f77ba202f772a37;hpb=050335db2a777ffaa859d77beb05fffe9e8c5ae9;p=linux-2.6-omap-h63xx.git diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index 962a710459f..7defa63b9c7 100644 --- a/drivers/net/smc911x.h +++ b/drivers/net/smc911x.h @@ -36,6 +36,12 @@ #define SMC_USE_PXA_DMA 1 #define SMC_USE_16BIT 0 #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 #endif @@ -70,7 +76,7 @@ -#if SMC_USE_PXA_DMA +#ifdef SMC_USE_PXA_DMA #define SMC_USE_DMA /*