Module Name: src
Committed By: msaitoh
Date: Sun Mar 7 10:11:04 UTC 2010
Modified Files:
src/sys/dev/pci: if_wm.c
Log Message:
Fix the type of sc_ss. That is not bus_space_handle_t but bus_size_t.
Reported by jdc.
To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 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.203 src/sys/dev/pci/if_wm.c:1.204
--- src/sys/dev/pci/if_wm.c:1.203 Sun Mar 7 09:05:19 2010
+++ src/sys/dev/pci/if_wm.c Sun Mar 7 10:11:04 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.203 2010/03/07 09:05:19 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.204 2010/03/07 10:11:04 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.203 2010/03/07 09:05:19 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.204 2010/03/07 10:11:04 msaitoh Exp $");
#include "rnd.h"
@@ -249,7 +249,7 @@
device_t sc_dev; /* generic device information */
bus_space_tag_t sc_st; /* bus space tag */
bus_space_handle_t sc_sh; /* bus space handle */
- bus_space_handle_t sc_ss; /* bus space size */
+ bus_size_t sc_ss; /* bus space size */
bus_space_tag_t sc_iot; /* I/O space tag */
bus_space_handle_t sc_ioh; /* I/O space handle */
bus_space_tag_t sc_flasht; /* flash registers space tag */