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 the type of sc_ss. That is not bus_space_han...



details:   https://anonhg.NetBSD.org/src/rev/621a4ed977f2
branches:  trunk
changeset: 752800:621a4ed977f2
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Mar 07 10:11:04 2010 +0000

description:
Fix the type of sc_ss. That is not bus_space_handle_t but bus_size_t.
Reported by jdc.

diffstat:

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

diffs (27 lines):

diff -r 005cb88ee063 -r 621a4ed977f2 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Sun Mar 07 09:39:42 2010 +0000
+++ b/sys/dev/pci/if_wm.c       Sun Mar 07 10:11:04 2010 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index