Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/ibm4xx/dev Fix PR#43911.



details:   https://anonhg.NetBSD.org/src/rev/da146f73d247
branches:  trunk
changeset: 759582:da146f73d247
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Mon Dec 13 07:29:12 2010 +0000

description:
Fix PR#43911.

diffstat:

 sys/arch/powerpc/ibm4xx/dev/plb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r af9e8877da58 -r da146f73d247 sys/arch/powerpc/ibm4xx/dev/plb.c
--- a/sys/arch/powerpc/ibm4xx/dev/plb.c Mon Dec 13 06:40:13 2010 +0000
+++ b/sys/arch/powerpc/ibm4xx/dev/plb.c Mon Dec 13 07:29:12 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: plb.c,v 1.17 2010/11/09 06:48:19 uebayasi Exp $ */
+/* $NetBSD: plb.c,v 1.18 2010/12/13 07:29:12 kiyohara Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plb.c,v 1.17 2010/11/09 06:48:19 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plb.c,v 1.18 2010/12/13 07:29:12 kiyohara Exp $");
 
 #include "locators.h"
 #include "emac.h"
@@ -180,7 +180,7 @@
        }
 
        while (local_plb_devs && local_plb_devs->plb_name != NULL) {
-               if (plb_devs[i].plb_pvr != pvr)
+               if (local_plb_devs->plb_pvr != pvr)
                        continue;
 
                paa.plb_name = local_plb_devs->plb_name;



Home | Main Index | Thread Index | Old Index