[PATCH 5/12] smc911x: SMC_SET_IRQ_CFG is arch specific
From: <hidden>
Date: 2006-09-13 18:34:53
SMC_SET_IRQ_CFG macro is PXA specific... Signed-off-by: Bora Sahin <redacted> Index: linux-2.6.18-rc4/drivers/net/smc911x.c ===================================================================
--- linux-2.6.18-rc4.orig/drivers/net/smc911x.c 2006-08-06 21:20:11.000000000 +0300
+++ linux-2.6.18-rc4/drivers/net/smc911x.c 2006-09-04 13:54:26.621458832 +0300@@ -306,12 +307,14 @@ /* Set to LED outputs */ SMC_SET_GPIO_CFG(0x70070000); +#ifdef CONFIG_ARCH_PXA /* * Deassert IRQ for 1*10us for edge type interrupts * and drive IRQ pin push-pull */ - SMC_SET_IRQ_CFG( (1 << 24) | INT_CFG_IRQ_EN_ | INT_CFG_IRQ_TYPE_ ); - + SMC_SET_IRQ_CFG((1 << 24) | INT_CFG_IRQ_EN_ | INT_CFG_IRQ_TYPE_); +#endif + /* clear anything saved */ if (lp->pending_tx_skb != NULL) { dev_kfree_skb (lp->pending_tx_skb);