aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorSeigo Tanimura <tanimura@FreeBSD.org>2006-10-15 05:04:06 +0000
committerSeigo Tanimura <tanimura@FreeBSD.org>2006-10-15 05:04:06 +0000
commit7370bc777051b82ce5f1cf87b880f47f0501ae46 (patch)
tree44dea2deefa097eeadcd529ad47e1581dd04632a /sys
parent7e2393ff5104607e4d0262e2a9e32c1e10c3f9bd (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/agp/agp.c5
-rw-r--r--sys/pci/agp.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c
index 92426ae1ca803..7fdbb7371a04f 100644
--- a/sys/dev/agp/agp.c
+++ b/sys/dev/agp/agp.c
@@ -180,7 +180,7 @@ agp_free_gatt(struct agp_gatt *gatt)
free(gatt, M_AGP);
}
-static int agp_max[][2] = {
+static u_int agp_max[][2] = {
{0, 0},
{32, 4},
{64, 28},
@@ -197,7 +197,8 @@ int
agp_generic_attach(device_t dev)
{
struct agp_softc *sc = device_get_softc(dev);
- int rid, memsize, i;
+ int rid, i;
+ u_int memsize;
/*
* Find and map the aperture.
diff --git a/sys/pci/agp.c b/sys/pci/agp.c
index 92426ae1ca803..7fdbb7371a04f 100644
--- a/sys/pci/agp.c
+++ b/sys/pci/agp.c
@@ -180,7 +180,7 @@ agp_free_gatt(struct agp_gatt *gatt)
free(gatt, M_AGP);
}
-static int agp_max[][2] = {
+static u_int agp_max[][2] = {
{0, 0},
{32, 4},
{64, 28},
@@ -197,7 +197,8 @@ int
agp_generic_attach(device_t dev)
{
struct agp_softc *sc = device_get_softc(dev);
- int rid, memsize, i;
+ int rid, i;
+ u_int memsize;
/*
* Find and map the aperture.