aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-04-21 21:24:33 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-04-21 21:24:33 -0700
commit8f5829b9f32fa9de1727255b1ef73fe4c0e6f2a7 (patch)
treeb20746bb4fc7ebe70baed03d3e12052d4ebd136d /core
parent756d43cede941d410ba1f876cb7dd0fd0201fb90 (diff)
downloadsyslinux-8f5829b9f32fa9de1727255b1ef73fe4c0e6f2a7.tar.gz
syslinux-8f5829b9f32fa9de1727255b1ef73fe4c0e6f2a7.tar.xz
syslinux-8f5829b9f32fa9de1727255b1ef73fe4c0e6f2a7.zip
pxe: isr: fix formatting
Fix code formatting. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core')
-rw-r--r--core/fs/pxe/isr.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/core/fs/pxe/isr.c b/core/fs/pxe/isr.c
index eacf4f87..680c7ef6 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;
}