===================================================================
RCS file: /cvsroot/src/sys/dev/pci/agp_i810.c,v
@@ -291,7 +299,22 @@
return error;
}
- if (isc->chiptype == CHIP_I915 || isc->chiptype == CHIP_G33) {
+ if (isc->chiptype == CHIP_G43)
+ {
+ error = pci_mapreg_map(&isc->vga_pa, AGP_I915_MMADR,
+ PCI_MAPREG_TYPE_MEM, 0, &isc->bst, &isc->bsh,
+ &mmadr, &mmadrsize);
+ if (error != 0) {
+ aprint_error(": can't map mmadr registers\n");
+ agp_generic_detach(sc);
+ return error;
+ }
+
+ isc->gtt_bsh=isc->bsh;
+ isc->gtt_bst=isc->bst + (2*1024*1024);
+ }