Module Name: src
Committed By: msaitoh
Date: Tue May 24 22:46:42 UTC 2011
Modified Files:
src/sys/dev/pci: if_wm.c
Log Message:
Fix invalid PBA setting on ICH{9,10}. This bug was introduced in the last
commit. I noticed this problem via mail from spz.
To generate a diff of this commit:
cvs rdiff -u -r1.221 -r1.222 src/sys/dev/pci/if_wm.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/if_wm.c
diff -u src/sys/dev/pci/if_wm.c:1.221 src/sys/dev/pci/if_wm.c:1.222
--- src/sys/dev/pci/if_wm.c:1.221 Fri May 20 00:57:42 2011
+++ src/sys/dev/pci/if_wm.c Tue May 24 22:46:42 2011
@@ -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;