From 857bfe579b6f29c8c9772b5e86f9ecde51ee3dff Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Wed, 18 Dec 2013 00:30:58 -0600 Subject: [PATCH] DisplayPort: Dump linkspeed value on error --- src/add-ons/accelerants/common/dp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add-ons/accelerants/common/dp.cpp b/src/add-ons/accelerants/common/dp.cpp index 9cd31b5b77..b4522ec8f1 100644 --- a/src/add-ons/accelerants/common/dp.cpp +++ b/src/add-ons/accelerants/common/dp.cpp @@ -36,8 +36,8 @@ dp_encode_link_rate(uint32 linkRate) return DP_LINK_RATE_540; } - ERROR("%s: Unknown DisplayPort Link Rate!\n", - __func__); + ERROR("%s: Unknown DisplayPort Link Rate! (0x%" B_PRIX32 ")\n", + __func__, linkRate); return DP_LINK_RATE_162; } @@ -53,8 +53,8 @@ dp_decode_link_rate(uint32 rawLinkRate) case DP_LINK_RATE_540: return 540000; } - ERROR("%s: Unknown DisplayPort Link Rate!\n", - __func__); + ERROR("%s: Unknown DisplayPort Link Rate! (0x%" B_PRIX32 ")\n", + __func__, rawLinkRate); return 162000; }