Skip to contentSkip to conversation

linuxppc_2_4_devel patch for gt64260_eth

PATCH Applied Mark A. Greer 2 participants 2 messages May 22, 2003 – May 23, 2003 Network drivers

lore
Share & tools
lore
#0 lore raw

Minor patch to move macros that define the embedded ethernet & mpsc IRQ values.

Mark
--

===== drivers/net/gt64260_eth.c 1.11 vs edited =====

drivers/net/gt64260_eth.c +2 -1
@@ -64,7 +64,8 @@
 
 #define BIT(n) (1<<(n))
 
-static unsigned char GT64260_ETH_irq[3] = { 32, 33, 34 };
+static unsigned char GT64260_ETH_irq[3] = {
+	GT64260_ETH_IRQ_0, GT64260_ETH_IRQ_1, GT64260_ETH_IRQ_2 };
 
 static const char *version = "gt64260_eth.c: v0.09";
 

===== include/asm-ppc/gt64260_defs.h 1.12 vs edited =====

include/asm-ppc/gt64260_defs.h +6 -0
@@ -22,6 +22,12 @@
 /* Minimum window size supported by 64260 is 1MB */
 #define GT64260_WINDOW_SIZE_MIN                         0x00100000
 
+/* IRQ's for embedded controllers */
+#define	GT64260_ETH_IRQ_0	32
+#define	GT64260_ETH_IRQ_1	33
+#define	GT64260_ETH_IRQ_2	34
+#define	GT64260_SDMA_IRQ	36
+
 /*
  *****************************************************************************
  *