bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
i915_configure(dev);
return drm_attach(nbdev, i915_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
mach64_configure(dev);
return drm_attach(nbdev, mach64_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
mga_configure(dev);
return drm_attach(nbdev, mga_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
r128_configure(dev);
return drm_attach(nbdev, r128_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
radeon_configure(dev);
return drm_attach(nbdev, radeon_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
savage_configure(dev);
return drm_attach(nbdev, savage_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
sis_configure(dev);
return drm_attach(nbdev, sis_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
tdfx_configure(dev);
return drm_attach(nbdev, tdfx_pciidlist);
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
+ M_WAITOK | M_ZERO);
+
via_configure(dev);
return drm_attach(nbdev, via_pciidlist);