From df585170662022b87691cc53bf8831cbfcaa6fde Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 18 Oct 2000 17:45:29 +0000 Subject: [PATCH] This didn't compile. Fix typo: s/rmang_get_start/rman_get_start/ --- sys/dev/agp/agp.c | 2 +- sys/pci/agp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index 2ba87279fab1..a9d85bb2c090 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/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; } diff --git a/sys/pci/agp.c b/sys/pci/agp.c index 2ba87279fab1..a9d85bb2c090 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; }