Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/pci add missing break.



details:   https://anonhg.NetBSD.org/src/rev/bed85ef20878
branches:  trunk
changeset: 460018:bed85ef20878
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Oct 04 12:23:37 2019 +0000

description:
add missing break.

surely it is not intended to treat viatech devices with
non VT82C686A's device id as maybe cyrix pci bridges.

diffstat:

 sys/arch/x86/pci/pcib.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 5e955982cba0 -r bed85ef20878 sys/arch/x86/pci/pcib.c
--- a/sys/arch/x86/pci/pcib.c   Fri Oct 04 12:17:05 2019 +0000
+++ b/sys/arch/x86/pci/pcib.c   Fri Oct 04 12:23:37 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcib.c,v 1.18 2019/06/17 06:38:29 msaitoh Exp $        */
+/*     $NetBSD: pcib.c,v 1.19 2019/10/04 12:23:37 mrg Exp $    */
 
 /*-
  * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.18 2019/06/17 06:38:29 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.19 2019/10/04 12:23:37 mrg Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -150,6 +150,7 @@
                         */
                        return (0);
                }
+               break;
        /*
         * The Cyrix cs5530 PCI host bridge does not have a broken
         * latch on the i8254 clock core, unlike its predecessors



Home | Main Index | Thread Index | Old Index