From ed7d0f52bfc58208f371a9d50a0961ad42c512db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 18 Feb 2008 12:28:31 +0000 Subject: [PATCH] Added a bit more debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23999 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/bus_managers/agp_gart/agp_gart.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/add-ons/kernel/bus_managers/agp_gart/agp_gart.cpp b/src/add-ons/kernel/bus_managers/agp_gart/agp_gart.cpp index 17aa1d1fe4..c4b6abbdf1 100644 --- a/src/add-ons/kernel/bus_managers/agp_gart/agp_gart.cpp +++ b/src/add-ons/kernel/bus_managers/agp_gart/agp_gart.cpp @@ -243,6 +243,9 @@ check_capabilities(agp_device_info &deviceInfo, uint32 &command) agpStatus = fix_rate_support(agpStatus); } + TRACE("device %u.%u.%u has AGP capabilities %lx\n", deviceInfo.info.bus, + deviceInfo.info.device, deviceInfo.info.function, agpStatus); + // block non-supported AGP modes command &= (agpStatus & (AGP_3_MODE | AGP_RATE_MASK)) | ~(AGP_3_MODE | AGP_RATE_MASK); @@ -358,6 +361,8 @@ set_agp_command(agp_device_info &deviceInfo, uint32 command) static void set_pci_mode() { + TRACE("set PCI mode on all AGP capable devices.\n"); + // First program all graphics cards for (uint32 index = 0; index < sDeviceCount; index++) { @@ -873,6 +878,7 @@ set_agp_mode(uint32 command) } command = fix_rate_command(command); + TRACE("set AGP command %lx on all capable devices.\n", command); // The order of programming differs for enabling/disabling AGP mode // (see AGP specification)