summaryrefslogtreecommitdiffstats
path: root/sys/pci/agp.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-10-18 17:45:29 +0000
committerpeter <peter@FreeBSD.org>2000-10-18 17:45:29 +0000
commit21e1325b98a47f8eefa5782ff99df94d52d92c6f (patch)
tree2ac63aa881bf1be1819c339f2a501a4e05c39042 /sys/pci/agp.c
parent3b94882f325b750f49ca9fba55a8a6d1ebbdadd7 (diff)
downloadFreeBSD-src-21e1325b98a47f8eefa5782ff99df94d52d92c6f.zip
FreeBSD-src-21e1325b98a47f8eefa5782ff99df94d52d92c6f.tar.gz
This didn't compile. Fix typo: s/rmang_get_start/rman_get_start/
Diffstat (limited to 'sys/pci/agp.c')
-rw-r--r--sys/pci/agp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/agp.c b/sys/pci/agp.c
index 2ba8727..a9d85bb 100644
--- a/sys/pci/agp.c
+++ b/sys/pci/agp.c
@@ -746,7 +746,7 @@ agp_get_info(device_t dev, struct agp_info *info)
info->ai_mode =
pci_read_config(dev, agp_find_caps(dev) + AGP_STATUS, 4);
info->ai_aperture_base = rman_get_start(sc->as_aperture);
- info->ai_aperture_size = rmang_get_size(sc->as_aperture);
+ info->ai_aperture_size = rman_get_size(sc->as_aperture);
info->ai_memory_allowed = sc->as_maxmem;
info->ai_memory_used = sc->as_allocated;
}
OpenPOWER on IntegriCloud