diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-06 00:46:27 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-13 00:24:05 -0400 |
commit | cd00f95aff6b4cfeccb261fd4100cceb4f5270ea (patch) | |
tree | be65cecab28a018e845c483a37d54d1f2036de92 /drivers/gpu | |
parent | 09e40d65d0aa6680428143cda1a7bdc8846ee991 (diff) |
drm/radeon: Print PCI ID of cards when probing
This is usedul when you have multiple cards to figure out which
one is which minor.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_stub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c index f51c685011ed..45a536b9d7f5 100644 --- a/drivers/gpu/drm/drm_stub.c +++ b/drivers/gpu/drm/drm_stub.c | |||
@@ -396,9 +396,9 @@ int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent, | |||
396 | 396 | ||
397 | list_add_tail(&dev->driver_item, &driver->device_list); | 397 | list_add_tail(&dev->driver_item, &driver->device_list); |
398 | 398 | ||
399 | DRM_INFO("Initialized %s %d.%d.%d %s on minor %d\n", | 399 | DRM_INFO("Initialized %s %d.%d.%d %s for %s on minor %d\n", |
400 | driver->name, driver->major, driver->minor, driver->patchlevel, | 400 | driver->name, driver->major, driver->minor, driver->patchlevel, |
401 | driver->date, dev->primary->index); | 401 | driver->date, pci_name(pdev), dev->primary->index); |
402 | 402 | ||
403 | return 0; | 403 | return 0; |
404 | 404 | ||