From 90ce00a3dbf37833a71db234372695460c8f0342 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sun, 4 Jan 2009 19:13:53 -0500 Subject: AGP: Print both device and subsytem pci ids for agp helpful for adding quirks with libpciaccess --- src/radeon_dri.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/radeon_dri.c b/src/radeon_dri.c index f3c510b1..596c1c0b 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -866,10 +866,12 @@ static Bool RADEONSetAgpMode(RADEONInfoPtr info, ScreenPtr pScreen) } /* Don't mention this otherwise, so that people don't get funny ideas */ xf86DrvMsg(pScreen->myNum, X_INFO, - "[agp] Mode 0x%08lx [AGP 0x%04x/0x%04x; Card 0x%04x/0x%04x]\n", + "[agp] Mode 0x%08lx [AGP 0x%04x/0x%04x; Card 0x%04x/0x%04x 0x%04x/0x%04x]\n", mode, vendor, device, PCI_DEV_VENDOR_ID(info->PciInfo), - PCI_DEV_DEVICE_ID(info->PciInfo)); + PCI_DEV_DEVICE_ID(info->PciInfo), + PCI_SUB_VENDOR_ID(info->PciInfo), + PCI_SUB_DEVICE_ID(info->PciInfo)); if (drmAgpEnable(info->dri->drmFD, mode) < 0) { xf86DrvMsg(pScreen->myNum, X_ERROR, "[agp] AGP not enabled\n"); -- cgit v1.2.3