Hello,

 This patch defines the wiring for the PHY interrupt lines for the 
supported Broadcom SiByte boards for which documentation is available.

 Please consider.

  Maciej

Signed-off-by: Maciej W. Rozycki <[EMAIL PROTECTED]>

patch-mips-2.6.18-20060920-sibyte-phy-irq-15
diff -up --recursive --new-file 
linux-mips-2.6.18-20060920.macro/include/asm-mips/sibyte/sentosa.h 
linux-mips-2.6.18-20060920/include/asm-mips/sibyte/sentosa.h
--- linux-mips-2.6.18-20060920.macro/include/asm-mips/sibyte/sentosa.h  
2006-09-20 20:51:12.000000000 +0000
+++ linux-mips-2.6.18-20060920/include/asm-mips/sibyte/sentosa.h        
2006-09-25 21:08:37.000000000 +0000
@@ -37,4 +37,8 @@
 /* GPIOs */
 #define K_GPIO_DBG_LED  0
 
+#ifdef CONFIG_SIBYTE_SENTOSA
+#define K_INT_PHY      K_INT_PCI_INTD
+#endif
+
 #endif /* __ASM_SIBYTE_SENTOSA_H */
diff -up --recursive --new-file 
linux-mips-2.6.18-20060920.macro/include/asm-mips/sibyte/swarm.h 
linux-mips-2.6.18-20060920/include/asm-mips/sibyte/swarm.h
--- linux-mips-2.6.18-20060920.macro/include/asm-mips/sibyte/swarm.h    
2006-09-20 20:51:12.000000000 +0000
+++ linux-mips-2.6.18-20060920/include/asm-mips/sibyte/swarm.h  2006-09-25 
21:56:49.000000000 +0000
@@ -67,4 +67,9 @@
 #define K_INT_PC_READY  (K_INT_GPIO_0 + K_GPIO_PC_READY)
 #endif
 
+#ifdef CONFIG_SIBYTE_SWARM
+#define K_GPIO_PHY     2
+#define K_INT_PHY      (K_INT_GPIO_0 + K_GPIO_PHY)
+#endif
+
 #endif /* __ASM_SIBYTE_SWARM_H */
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to