Module Name:    src
Committed By:   riastradh
Date:           Thu Jun 12 17:04:58 UTC 2014

Modified Files:
        src/sys/dev/pci: agp_i810.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/dev/pci/agp_i810.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/agp_i810.c
diff -u src/sys/dev/pci/agp_i810.c:1.99 src/sys/dev/pci/agp_i810.c:1.100
--- src/sys/dev/pci/agp_i810.c:1.99	Thu Jun 12 15:05:29 2014
+++ src/sys/dev/pci/agp_i810.c	Thu Jun 12 17:04:58 2014
@@ -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 @@ agp_i810_attach(device_t parent, device_
 		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;

Reply via email to