@@ -706,6 +706,7 @@
.destroy = intel_encoder_destroy,
};
+#ifndef __NetBSD__ /* XXX dmi hack */
static int __init intel_no_crt_dmi_callback(const struct dmi_system_id *id)
{
DRM_INFO("Skipping CRT initialization for %s\n", id->ident);
@@ -723,6 +724,7 @@
},
{ }
};
+#endif
void intel_crt_init(struct drm_device *dev)
{
@@ -731,9 +733,11 @@
struct intel_connector *intel_connector;
struct drm_i915_private *dev_priv = dev->dev_private;
+#ifndef __NetBSD__ /* XXX dmi hack */
/* Skip machines without VGA that falsely report hotplug events */
if (dmi_check_system(intel_no_crt))
return;
+#endif
crt = kzalloc(sizeof(struct intel_crt), GFP_KERNEL);
if (!crt)