linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linuxppc_2_4_devel patch for gt64260_eth
@ 2003-05-22 23:21 Mark A. Greer
  2003-05-23 16:03 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Mark A. Greer @ 2003-05-22 23:21 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 89 bytes --]

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

Mark
--

[-- Attachment #2: gt_eth.patch --]
[-- Type: text/plain, Size: 1019 bytes --]

===== drivers/net/gt64260_eth.c 1.11 vs edited =====
--- 1.11/drivers/net/gt64260_eth.c	Tue Apr  1 12:43:14 2003
+++ edited/drivers/net/gt64260_eth.c	Tue May 13 15:42:47 2003
@@ -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 =====
--- 1.12/include/asm-ppc/gt64260_defs.h	Tue Apr  1 12:45:33 2003
+++ edited/include/asm-ppc/gt64260_defs.h	Tue May 13 15:39:36 2003
@@ -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
+
 /*
  *****************************************************************************
  *

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-23 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-22 23:21 linuxppc_2_4_devel patch for gt64260_eth Mark A. Greer
2003-05-23 16:03 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).