-/* $OpenBSD: vgafb.c,v 1.59 2014/07/22 04:42:51 jsg Exp $ */
+/* $OpenBSD: vgafb.c,v 1.60 2014/07/28 15:00:27 jsg Exp $ */
/* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */
/*
vgafb_burn(sc, WSDISPLAYIO_VIDEO_ON, 0); /* paranoia */
}
+#ifdef RAMDISK_HOOKS
if (vga_aperture_needed(pa))
printf("%s: aperture needed\n", sc->sc_dev.dv_xname);
+#endif
config_found(self, &waa, wsemuldisplaydevprint);
}
-/* $OpenBSD: machfb.c,v 1.9 2014/07/28 06:21:29 kettenis Exp $ */
+/* $OpenBSD: machfb.c,v 1.10 2014/07/28 15:00:27 jsg Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height);
-#ifdef SMALL_KERNEL
+#ifdef RAMDISK_HOOKS
printf("%s: aperture needed\n", self->dv_xname);
#endif
-/* $OpenBSD: vgafb.c,v 1.63 2014/07/22 04:53:59 deraadt Exp $ */
+/* $OpenBSD: vgafb.c,v 1.64 2014/07/28 15:00:27 jsg Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
/* sc->sc_ofhandle = PCITAG_NODE(sc->sc_pcitag); */
}
+#ifdef RAMDISK_HOOKS
if (vga_aperture_needed(pa))
printf("%s: aperture needed\n", sc->sc_sunfb.sf_dev.dv_xname);
+#endif
fbwscons_attach(&sc->sc_sunfb, &vgafb_accessops, sc->sc_console);
}
-/* $OpenBSD: vga_pci.c,v 1.80 2014/07/22 04:42:51 jsg Exp $ */
+/* $OpenBSD: vga_pci.c,v 1.81 2014/07/28 15:00:27 jsg Exp $ */
/* $NetBSD: vga_pci.c,v 1.3 1998/06/08 06:55:58 thorpej Exp $ */
/*
void vga_save_state(struct vga_pci_softc *);
void vga_restore_state(struct vga_pci_softc *);
#endif
-int vga_aperture_needed(struct pci_attach_args *);
/*
* Function pointers for wsconsctl parameter handling.
}
#endif
+#ifdef RAMDISK_HOOKS
if (vga_aperture_needed(pa))
printf("%s: aperture needed\n", sc->sc_dev.dv_xname);
+#endif
#if NINTAGP > 0
/*
}
}
+#ifdef RAMDISK_HOOKS
static const struct pci_matchid aperture_blacklist[] = {
/* server adapters found in mga200 drm driver */
{ PCI_VENDOR_MATROX, PCI_PRODUCT_MATROX_G200E_SE },
#endif
return (1);
}
+#endif /* RAMDISK_HOOKS */