Module Name:    src
Committed By:   mrg
Date:           Tue Feb  5 11:30:07 UTC 2019

Modified Files:
        src/sys/dev/pci: siside.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/siside.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/dev/pci/siside.c
diff -u src/sys/dev/pci/siside.c:1.37 src/sys/dev/pci/siside.c:1.38
--- src/sys/dev/pci/siside.c:1.37	Sat Jun 23 06:45:51 2018
+++ src/sys/dev/pci/siside.c	Tue Feb  5 11:30:07 2019
@@ -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_setup_channel(struct ata_channel *ch
 				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] <<

Reply via email to