summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-03-11 14:29:08 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-03-11 14:29:08 +0000
commit5c90775405ad3ae5ca37b360c99f7a4451707c9d (patch)
tree0ee1427b244eacc0949feacdc03238b8fcee1489 /sys
parente8f348a1f5bf9150aafbabd91c06d3452cea22af (diff)
Don't bitch about binding into stolen memory on older hardware either.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/agp_i810.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/agp_i810.c b/sys/dev/pci/agp_i810.c
index 020476fd9b5..80a14c8cfac 100644
--- a/sys/dev/pci/agp_i810.c
+++ b/sys/dev/pci/agp_i810.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agp_i810.c,v 1.82 2014/02/20 22:18:22 kettenis Exp $ */
+/* $OpenBSD: agp_i810.c,v 1.83 2014/03/11 14:29:07 kettenis Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -442,6 +442,9 @@ agp_i810_attach(struct device *parent, struct device *self, void *aux)
printf(": no preallocated video memory\n");
#endif
+ /* XXX */
+ isc->stolen = 0;
+
/* GATT address is already in there, make sure it's enabled */
gatt->ag_physical = READ4(AGP_I810_PGTBL_CTL) & ~1;
break;