[syslinux:lwip] pxe: isr: fix formatting

syslinux-bot for H. Peter Anvin hpa at zytor.com
Fri Apr 22 20:06:18 PDT 2011


Commit-ID:  8f5829b9f32fa9de1727255b1ef73fe4c0e6f2a7
Gitweb:     http://syslinux.zytor.com/commit/8f5829b9f32fa9de1727255b1ef73fe4c0e6f2a7
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Thu, 21 Apr 2011 21:24:33 -0700
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Thu, 21 Apr 2011 21:24:33 -0700

pxe: isr: fix formatting

Fix code formatting.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/fs/pxe/isr.c |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/core/fs/pxe/isr.c b/core/fs/pxe/isr.c
index eacf4f8..680c7ef 100644
--- a/core/fs/pxe/isr.c
+++ b/core/fs/pxe/isr.c
@@ -85,26 +85,26 @@ static void pxe_process_irq(void)
     
         switch (isr.FuncFlag) {
         case PXENV_UNDI_ISR_OUT_DONE:
-    	done = true;
-    	break;
+	    done = true;
+	    break;
     
         case PXENV_UNDI_ISR_OUT_TRANSMIT:
-    	/* Transmit complete - nothing for us to do */
-    	break;
+	    /* Transmit complete - nothing for us to do */
+	    break;
     
         case PXENV_UNDI_ISR_OUT_RECEIVE:
-	undiif_input(&isr);
-    	break;
+	    undiif_input(&isr);
+	    break;
     	
         case PXENV_UNDI_ISR_OUT_BUSY:
     	/* ISR busy, this should not happen */
-    	done = true;
-    	break;
+	    done = true;
+	    break;
     	
         default:
     	/* Invalid return code, this should not happen */
-    	done = true;
-    	break;
+	    done = true;
+	    break;
         }
     }
 }
@@ -129,7 +129,8 @@ void pxe_init_isr(void)
      * avoid packet loss we need to move it into memory that we ourselves
      * manage, as soon as possible.
      */
-    pxe_thread = start_thread("pxe receive", 16384, -20, pxe_receive_thread, NULL);
+    pxe_thread = start_thread("pxe receive", 16384, -20,
+			      pxe_receive_thread, NULL);
     core_pm_hook = __schedule;
 }
 



More information about the Syslinux-commits mailing list