Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix invalid PBA setting on ICH{9, 10}. This bug w...



details:   https://anonhg.NetBSD.org/src/rev/ff06135fd3bd
branches:  trunk
changeset: 765388:ff06135fd3bd
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue May 24 22:46:42 2011 +0000

description:
Fix invalid PBA setting on ICH{9,10}. This bug was introduced in the last
commit. I noticed this problem via mail from spz.

diffstat:

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

diffs (26 lines):

diff -r 15d72c0ef15e -r ff06135fd3bd sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Tue May 24 22:39:47 2011 +0000
+++ b/sys/dev/pci/if_wm.c       Tue May 24 22:46:42 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.221 2011/05/20 00:57:42 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.222 2011/05/24 22:46:42 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.221 2011/05/20 00:57:42 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.222 2011/05/24 22:46:42 msaitoh Exp $");
 
 #include "rnd.h"
 
@@ -3482,6 +3482,7 @@
        case WM_T_ICH9:
        case WM_T_ICH10:
                sc->sc_pba = PBA_10K;
+               break;
        case WM_T_PCH:
        case WM_T_PCH2:
                sc->sc_pba = PBA_26K;



Home | Main Index | Thread Index | Old Index