1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Revert revision 238172 of agp_i810.c. Correctness is considered more

important than avoiding confusion.

Feedback from: kib, jhb
This commit is contained in:
Marcel Moolenaar 2012-07-09 16:23:59 +00:00
parent bb21242625
commit cbf1d2e3f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238301

View File

@ -74,6 +74,7 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/resource.h>
#include <machine/md_var.h>
#include <sys/rman.h>
MALLOC_DECLARE(M_AGP);
@ -1438,7 +1439,7 @@ agp_i810_attach(device_t dev)
if (error)
return (error);
if (ptoa((vm_paddr_t)realmem) >
if (ptoa((vm_paddr_t)Maxmem) >
(1ULL << sc->match->driver->busdma_addr_mask_sz) - 1) {
device_printf(dev, "agp_i810 does not support physical "
"memory above %ju.\n", (uintmax_t)(1ULL <<