From 83eaad52e26f46ac781c1b9296feb81fea1bbf82 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Mon, 12 Jul 2004 14:26:36 +0000 Subject: [PATCH] agp devices dump up again git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8383 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/nvidia/engine/nv_agp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/add-ons/accelerants/nvidia/engine/nv_agp.c b/src/add-ons/accelerants/nvidia/engine/nv_agp.c index f04e71350a..a29a9ecd35 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_agp.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_agp.c @@ -267,6 +267,17 @@ static bool zooi(void) static void nv_agp_list_info(agp_info ai) { + /* + list device + */ + if (ai.class_base == PCI_display) + LOG(4,("AGP: device is a graphicscard, subclass ID is $%02x\n", ai.class_sub)); + else + LOG(4,("AGP: device is a hostbridge, subclass ID is $%02x\n", ai.class_sub)); + LOG(4,("AGP: vendor ID $%04x\n", ai.vendor_id)); + LOG(4,("AGP: device ID $%04x\n", ai.device_id)); + LOG(4,("AGP: bus %d, device %d, function %d\n", ai.bus, ai.device, ai.function)); + /* list capabilities */