Module Name: src
Committed By: christos
Date: Sun Mar 4 15:25:15 UTC 2018
Modified Files:
src/sys/arch/macppc/dev: obio.c
Log Message:
add braces.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/macppc/dev/obio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/macppc/dev/obio.c
diff -u src/sys/arch/macppc/dev/obio.c:1.41 src/sys/arch/macppc/dev/obio.c:1.42
--- src/sys/arch/macppc/dev/obio.c:1.41 Tue Nov 11 18:08:37 2014
+++ src/sys/arch/macppc/dev/obio.c Sun Mar 4 10:25:15 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: obio.c,v 1.41 2014/11/11 23:08:37 macallan Exp $ */
+/* $NetBSD: obio.c,v 1.42 2018/03/04 15:25:15 christos Exp $ */
/*-
* Copyright (C) 1998 Internet Research Institute, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.41 2014/11/11 23:08:37 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.42 2018/03/04 15:25:15 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -154,10 +154,11 @@ obio_attach(device_t parent, device_t se
case PCI_PRODUCT_APPLE_PANGEA_MACIO:
case PCI_PRODUCT_APPLE_INTREPID:
node = pcidev_to_ofdev(pa->pa_pc, pa->pa_tag);
- if (node == -1)
+ if (node == -1) {
node = OF_finddevice("mac-io");
if (node == -1)
node = OF_finddevice("/pci/mac-io");
+ }
break;
case PCI_PRODUCT_APPLE_K2:
case PCI_PRODUCT_APPLE_SHASTA: