Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Use correct type for gtt_off, an offset relative...



details:   https://anonhg.NetBSD.org/src/rev/07178645b733
branches:  trunk
changeset: 796621:07178645b733
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jun 12 14:49:02 2014 +0000

description:
Use correct type for gtt_off, an offset relative to a bus address.

diffstat:

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

diffs (29 lines):

diff -r 69313bad8b72 -r 07178645b733 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Thu Jun 12 14:48:17 2014 +0000
+++ b/sys/dev/pci/agp_i810.c    Thu Jun 12 14:49:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_i810.c,v 1.97 2014/06/12 14:48:17 riastradh Exp $  */
+/*     $NetBSD: agp_i810.c,v 1.98 2014/06/12 14:49:02 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.97 2014/06/12 14:48:17 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.98 2014/06/12 14:49:02 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -281,8 +281,8 @@
        struct agp_i810_softc *isc;
        int apbase, mmadr_bar, gtt_bar;
        int mmadr_type, mmadr_flags;
-       bus_addr_t mmadr, gtt_off;
-       bus_size_t mmadr_size;
+       bus_addr_t mmadr;
+       bus_size_t mmadr_size, gtt_off;
        int error;
 
        isc = malloc(sizeof *isc, M_AGP, M_NOWAIT|M_ZERO);



Home | Main Index | Thread Index | Old Index