diff options
| author | riastradh <riastradh@NetBSD.org> | 2014-05-27 12:51:04 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2014-05-27 12:51:04 +0000 |
| commit | 0b21907b3f9a49fbf35a5a6c9995d9bf55fe847a (patch) | |
| tree | 32a6dd9b7e32dadaf5bd3b2b614230f0e05cd602 /sys/dev | |
| parent | 86d35b4bcacfbe9eab08ece3375e68fa2ee9fc31 (diff) | |
Suppress uninitialized variable warnings in older and dumber GCC.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/agp_i810.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/agp_i810.c b/sys/dev/pci/agp_i810.c index 233a317bbaa..ef19b93ec6a 100644 --- a/sys/dev/pci/agp_i810.c +++ b/sys/dev/pci/agp_i810.c @@ -1,4 +1,4 @@ -/* $NetBSD: agp_i810.c,v 1.79 2014/05/27 03:17:33 riastradh Exp $ */ +/* $NetBSD: agp_i810.c,v 1.80 2014/05/27 12:51:04 riastradh Exp $ */ /*- * Copyright (c) 2000 Doug Rabson @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.79 2014/05/27 03:17:33 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.80 2014/05/27 12:51:04 riastradh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -376,6 +376,7 @@ agp_i810_attach(device_t parent, device_t self, void *aux) apbase = AGP_I915_GMADR; mmadr_bar = AGP_I915_MMADR; gtt_bar = AGP_I915_GTTADR; + gtt_off = ~(bus_addr_t)0; /* XXXGCC */ break; case CHIP_I965: apbase = AGP_I965_GMADR; |
