the DRM_{INFO,ERROR,DEBUG} printf macros still need some __VA_ARGS__ love.
reyk@ and marco@ liked this, prompted by deraadt.
#endif
head->base = head->info.ai_aperture_base;
TAILQ_INIT(&head->memory);
- DRM_INFO("AGP at 0x%08lx %dMB\n",
- (long)head->info.ai_aperture_base,
- (int)(head->info.ai_aperture_size >> 20));
}
return head;
}
dev->id_entry = id_entry;
dev->driver.id_entry = id_entry;
- printf("\n");
- DRM_INFO("%s (unit %d)\n", id_entry->name, dev->unit);
+ printf(": %s(%d)", id_entry->name, dev->unit);
drm_load(dev);
}
DRM_ERROR("Cannot allocate memory for context bitmap.\n");
goto error;
}
- DRM_INFO("Initialized %s %d.%d.%d %s\n",
- dev->driver.name,
+ printf(", %d.%d.%d %s\n",
dev->driver.major,
dev->driver.minor,
dev->driver.patchlevel,