agp devices dump up again

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8383 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-07-12 14:26:36 +00:00
parent 0f1ebd5a15
commit 83eaad52e2

View File

@ -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
*/