Re: [PATCH] [POWERPC] Typo fixes interrrupt -> interrupt ( try 2 )

2007-08-01 Thread Gabriel C
This patch fixes some interrrupt -> interrupt typos

Signed-off-by: Gabriel Craciunescu <[EMAIL PROTECTED]>

---

 arch/powerpc/platforms/embedded6xx/holly.c|2 +-
 arch/powerpc/platforms/embedded6xx/linkstation.c  |2 +-
 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c |2 +-
 arch/powerpc/platforms/iseries/it_lp_naca.h   |2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/powerpc/platforms/embedded6xx/holly.c 
b/arch/powerpc/platforms/embedded6xx/holly.c
index 6292e36..fda16e8 100644
--- a/arch/powerpc/platforms/embedded6xx/holly.c
+++ b/arch/powerpc/platforms/embedded6xx/holly.c
@@ -147,7 +147,7 @@ static void __init holly_setup_arch(void)
 }
 
 /*
- * Interrupt setup and service.  Interrrupts on the holly come
+ * Interrupt setup and service.  Interrupts on the holly come
  * from the four external INT pins, PCI interrupts are routed via
  * PCI interrupt control registers, it generates internal IRQ23
  *
diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c 
b/arch/powerpc/platforms/embedded6xx/linkstation.c
index bd5ca58..8c60e02 100644
--- a/arch/powerpc/platforms/embedded6xx/linkstation.c
+++ b/arch/powerpc/platforms/embedded6xx/linkstation.c
@@ -99,7 +99,7 @@ static void __init linkstation_setup_arch(void)
 }
 
 /*
- * Interrupt setup and service.  Interrrupts on the linkstation come
+ * Interrupt setup and service.  Interrupts on the linkstation come
  * from the four PCI slots plus onboard 8241 devices: I2C, DUART.
  */
 static void __init linkstation_init_IRQ(void)
diff --git a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c 
b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
index 1e3cc69..25c29bc 100644
--- a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
+++ b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
@@ -91,7 +91,7 @@ static void __init mpc7448_hpc2_setup_arch(void)
 }
 
 /*
- * Interrupt setup and service.  Interrrupts on the mpc7448_hpc2 come
+ * Interrupt setup and service.  Interrupts on the mpc7448_hpc2 come
  * from the four external INT pins, PCI interrupts are routed via
  * PCI interrupt control registers, it generates internal IRQ23
  *
diff --git a/arch/powerpc/platforms/iseries/it_lp_naca.h 
b/arch/powerpc/platforms/iseries/it_lp_naca.h
index 9bbf589..cf6dcf6 100644
--- a/arch/powerpc/platforms/iseries/it_lp_naca.h
+++ b/arch/powerpc/platforms/iseries/it_lp_naca.h
@@ -60,7 +60,7 @@ struct ItLpNaca {
u8  xRsvd2_0[128];  // Reserved x00-x7F
 
 // CACHE_LINE_3-6 0x0100 - 0x02FF Contains LP Queue indicators
-// NB: Padding required to keep xInterrruptHdlr at x300 which is required
+// NB: Padding required to keep xInterruptHdlr at x300 which is required
 // for v4r4 PLIC.
u8  xOldLpQueue[128];   // LP Queue needed for v4r4 100-17F
u8  xRsvd3_0[384];  // Reserved 180-2FF
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [POWERPC] Typo fixes interrrupt -> interrupt

2007-08-01 Thread Gabriel C
Stephen Rothwell wrote:
> On Wed, 01 Aug 2007 05:16:27 +0200 Gabriel C <[EMAIL PROTECTED]> wrote:
>>  arch/powerpc/platforms/iseries/it_lp_naca.h   |   87 
>> +++--
> 
> NAK this part as it just makes a lot of the lines more than 80 characters
> for no real gain on a platform that is moving on ...

Well some were there before but with the wrong comment style.

I'll send an new patch in a bit without the comments fixes.


Gabriel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] [POWERPC] Typo fixes interrrupt -> interrupt

2007-07-31 Thread Stephen Rothwell
On Wed, 01 Aug 2007 05:16:27 +0200 Gabriel C <[EMAIL PROTECTED]> wrote:
>
>  arch/powerpc/platforms/iseries/it_lp_naca.h   |   87 
> +++--

NAK this part as it just makes a lot of the lines more than 80 characters
for no real gain on a platform that is moving on ...

-- 
Cheers,
Stephen Rothwell[EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/


pgpaJGOos3L2C.pgp
Description: PGP signature


[PATCH] [POWERPC] Typo fixes interrrupt -> interrupt

2007-07-31 Thread Gabriel C
Hi,

This patch fixes some interrrupt -> interrupt typos and the comments in 
it_lp_naca.h

Signed-off-by: Gabriel Craciunescu <[EMAIL PROTECTED]>

---

 arch/powerpc/platforms/embedded6xx/holly.c|2 +-
 arch/powerpc/platforms/embedded6xx/linkstation.c  |2 +-
 arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c |2 +-
 arch/powerpc/platforms/iseries/it_lp_naca.h   |   87 +++--
 include/asm-ppc/commproc.h|2 +-
 5 files changed, 49 insertions(+), 46 deletions(-)

diff --git a/arch/powerpc/platforms/embedded6xx/holly.c 
b/arch/powerpc/platforms/embedded6xx/holly.c
index 6292e36..fda16e8 100644
--- a/arch/powerpc/platforms/embedded6xx/holly.c
+++ b/arch/powerpc/platforms/embedded6xx/holly.c
@@ -147,7 +147,7 @@ static void __init holly_setup_arch(void)
 }
 
 /*
- * Interrupt setup and service.  Interrrupts on the holly come
+ * Interrupt setup and service.  Interrupts on the holly come
  * from the four external INT pins, PCI interrupts are routed via
  * PCI interrupt control registers, it generates internal IRQ23
  *
diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c 
b/arch/powerpc/platforms/embedded6xx/linkstation.c
index bd5ca58..8c60e02 100644
--- a/arch/powerpc/platforms/embedded6xx/linkstation.c
+++ b/arch/powerpc/platforms/embedded6xx/linkstation.c
@@ -99,7 +99,7 @@ static void __init linkstation_setup_arch(void)
 }
 
 /*
- * Interrupt setup and service.  Interrrupts on the linkstation come
+ * Interrupt setup and service.  Interrupts on the linkstation come
  * from the four PCI slots plus onboard 8241 devices: I2C, DUART.
  */
 static void __init linkstation_init_IRQ(void)
diff --git a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c 
b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
index 1e3cc69..25c29bc 100644
--- a/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
+++ b/arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c
@@ -91,7 +91,7 @@ static void __init mpc7448_hpc2_setup_arch(void)
 }
 
 /*
- * Interrupt setup and service.  Interrrupts on the mpc7448_hpc2 come
+ * Interrupt setup and service.  Interrupts on the mpc7448_hpc2 come
  * from the four external INT pins, PCI interrupts are routed via
  * PCI interrupt control registers, it generates internal IRQ23
  *
diff --git a/arch/powerpc/platforms/iseries/it_lp_naca.h 
b/arch/powerpc/platforms/iseries/it_lp_naca.h
index 9bbf589..46060bb 100644
--- a/arch/powerpc/platforms/iseries/it_lp_naca.h
+++ b/arch/powerpc/platforms/iseries/it_lp_naca.h
@@ -21,53 +21,56 @@
 #include 
 
 /*
- * This control block contains the data that is shared between the
- * hypervisor (PLIC) and the OS.
+ * This control block contains the data that is shared between the
+ * hypervisor (PLIC) and the OS.
  */
-
 struct ItLpNaca {
-// CACHE_LINE_1 0x - 0x007F Contains read-only data
-   u32 xDesc;  // Eye catcher  x00-x03
-   u16 xSize;  // Size of this class   x04-x05
-   u16 xIntHdlrOffset; // Offset to IntHdlr array  x06-x07
-   u8  xMaxIntHdlrEntries; // Number of entries in array   x08-x08
-   u8  xPrimaryLpIndex;// LP Index of Primary  x09-x09
-   u8  xServiceLpIndex;// LP Ind of Service Focal Pointx0A-x0A
-   u8  xLpIndex;   // LP Index x0B-x0B
-   u16 xMaxLpQueues;   // Number of allocated queues   x0C-x0D
-   u16 xLpQueueOffset; // Offset to start of LP queues x0E-x0F
-   u8  xPirEnvironMode;// Piranha or hardware  x10-x10
-   u8  xPirConsoleMode;// Piranha console indicatorx11-x11
-   u8  xPirDasdMode;   // Piranha dasd indicator   x12-x12
-   u8  xRsvd1_0[5];// Reserved for Piranha related x13-x17
-   u8  flags;  // flags, see below x18-x1F
-   u8  xSpVpdFormat;   // VPD areas are in CSP format  ...
-   u8  xIntProcRatio;  // Ratio of int procs to procs  ...
-   u8  xRsvd1_2[5];// Reserved ...
-   u16 xRsvd1_3;   // Reserved x20-x21
-   u16 xPlicVrmIndex;  // VRM index of PLICx22-x23
-   u16 xMinSupportedSlicVrmInd;// Min supported OS VRM index   x24-x25
-   u16 xMinCompatableSlicVrmInd;// Min compatible OS VRM index x26-x27
-   u64 xLoadAreaAddr;  // ER address of load area  x28-x2F
-   u32 xLoadAreaChunks;// Chunks for the load area x30-x33
-   u32 xPaseSysCallCRMask; // Mask used to test CR before  x34-x37
-   // doing an ASR switch on PASE
-   // system call.
-   u64 xSlicSegmentTablePtr;   // Pointer to Slic seg table.   x38-x3f
-   u8  xRsvd1_4[6