|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [pushed] [ppc] clean up if clause for serial isrc
changeset: 10284:e100f9e74f8f1069b249472665b8dd20aa76e339
user: jimix@xxxxxxxxxxxxxxxxxxxxx
date: Tue May 16 15:42:09 2006 -0400
files: xen/arch/ppc/boot_of.c
description:
[ppc] clean up if clause for serial isrc
diff -r f543ec6888568c895a307e128ea0089e8fe23645 -r
e100f9e74f8f1069b249472665b8dd20aa76e339 xen/arch/ppc/boot_of.c
--- a/xen/arch/ppc/boot_of.c Tue May 16 10:59:27 2006 -0400
+++ b/xen/arch/ppc/boot_of.c Tue May 16 15:42:09 2006 -0400
@@ -880,10 +880,12 @@ static int __init boot_of_serial(void)
if (rc == OF_FAILURE) {
of_printf("%s: no ISRC, forcing poll mode\n", __func__);
ns16550.irq = 0;
- }
- ns16550.irq = val[0];
- of_printf("%s: ISRC=0x%x, but forcing poll mode\n", __func__, ns16550.irq);
- ns16550.irq = 0;
+ } else {
+ ns16550.irq = val[0];
+ of_printf("%s: ISRC=0x%x, but forcing poll mode\n",
+ __func__, ns16550.irq);
+ ns16550.irq = 0;
+ }
return 1;
}
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [pushed] [ppc] clean up if clause for serial isrc,
jimix <=
|
|
|
|
|