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 type in cast too, after changing type of gtt...



details:   https://anonhg.NetBSD.org/src/rev/9ef30148db45
branches:  trunk
changeset: 796625:9ef30148db45
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jun 12 17:04:58 2014 +0000

description:
Fix type in cast too, after changing type of gtt_off.

diffstat:

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

diffs (27 lines):

diff -r 178d0ee558c1 -r 9ef30148db45 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Thu Jun 12 16:43:09 2014 +0000
+++ b/sys/dev/pci/agp_i810.c    Thu Jun 12 17:04:58 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_i810.c,v 1.99 2014/06/12 15:05:29 riastradh Exp $  */
+/*     $NetBSD: agp_i810.c,v 1.100 2014/06/12 17:04:58 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.99 2014/06/12 15:05:29 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.100 2014/06/12 17:04:58 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -394,7 +394,7 @@
                mmadr_bar = AGP_I915_MMADR;
                isc->size = 2*1024*1024;
                gtt_bar = AGP_I915_GTTADR;
-               gtt_off = ~(bus_addr_t)0; /* XXXGCC */
+               gtt_off = ~(bus_size_t)0; /* XXXGCC */
                break;
        case CHIP_I965:
                apbase = AGP_I965_GMADR;



Home | Main Index | Thread Index | Old Index