Skip to contentSkip to conversation

smc911x: SMC_SET_IRQ_CFG is arch specific

PATCH In review [email protected] 1 participant 1 message Sep 13, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/12 smc911x: SMC_SET_IRQ_CFG is arch specific

SMC_SET_IRQ_CFG macro is PXA specific...

drivers/net/smc911x.c +4 -2
Index: linux-2.6.18-rc4/drivers/net/smc911x.c
===================================================================
@@ -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);