Diff of /arch/powerpc/platforms/embedded6xx/flipper-pic.h [a144b3] .. [4c6651]  Maximize  Restore

Switch to side-by-side view

--- a/arch/powerpc/platforms/embedded6xx/flipper-pic.h
+++ b/arch/powerpc/platforms/embedded6xx/flipper-pic.h
@@ -2,8 +2,8 @@
  * arch/powerpc/platforms/embedded6xx/flipper-pic.h
  *
  * Nintendo GameCube/Wii interrupt controller support.
- * Copyright (C) 2004-2008 The GameCube Linux Team
- * Copyright (C) 2007,2008 Albert Herranz
+ * Copyright (C) 2004-2009 The GameCube Linux Team
+ * Copyright (C) 2007,2008,2009 Albert Herranz
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -15,11 +15,7 @@
 #ifndef __FLIPPER_PIC_H
 #define __FLIPPER_PIC_H
 
-#ifdef CONFIG_WII
-#define FLIPPER_NR_IRQS         (15)
-#else
-#define FLIPPER_NR_IRQS         (14)
-#endif
+#define FLIPPER_NR_IRQS		32
 
 /*
  * Each interrupt has a corresponding bit in both
@@ -29,12 +25,12 @@
  * the corresponding bit in IMR. ACK'ing a request simply involves
  * asserting the corresponding bit in ICR.
  */
-#define FLIPPER_ICR             0x00
+#define FLIPPER_ICR		0x00
 #define FLIPPER_ICR_RSS		(1<<16) /* reset switch state */
 
-#define FLIPPER_IMR             0x04
+#define FLIPPER_IMR		0x04
 
-#define FLIPPER_RESET           0x24
+#define FLIPPER_RESET		0x24
 
 unsigned int flipper_pic_get_irq(void);
 void __init flipper_pic_probe(void);
@@ -43,5 +39,3 @@
 int flipper_is_reset_button_pressed(void);
 
 #endif
-
-

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks