Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci add missing break; after "100NEW" configuration.



details:   https://anonhg.NetBSD.org/src/rev/06a321de3561
branches:  trunk
changeset: 448580:06a321de3561
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Feb 05 11:30:07 2019 +0000

description:
add missing break; after "100NEW" configuration.
don't also set "133OLD", since the 100NEW cards don't support 133.

diffstat:

 sys/dev/pci/siside.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3c22b15837a3 -r 06a321de3561 sys/dev/pci/siside.c
--- a/sys/dev/pci/siside.c      Tue Feb 05 11:20:21 2019 +0000
+++ b/sys/dev/pci/siside.c      Tue Feb 05 11:30:07 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siside.c,v 1.37 2018/06/23 06:45:51 maxv Exp $ */
+/*     $NetBSD: siside.c,v 1.38 2019/02/05 11:30:07 mrg Exp $  */
 
 /*
  * Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siside.c,v 1.37 2018/06/23 06:45:51 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siside.c,v 1.38 2019/02/05 11:30:07 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -451,6 +451,7 @@
                                sis_tim |=
                                    sis_udma100new_tim[drvp->UDMA_mode] <<
                                    SIS_TIM100_UDMA_TIME_OFF(drive);
+                               break;
                        case SIS_TYPE_133OLD:
                                sis_tim |=
                                    sis_udma133old_tim[drvp->UDMA_mode] <<



Home | Main Index | Thread Index | Old Index