Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/vchiq_arm print the lo...
details: https://anonhg.NetBSD.org/src/rev/bea142edd104
branches: trunk
changeset: 785689:bea142edd104
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Mar 24 22:54:21 2013 +0000
description:
print the local and remote vchiq versions
diffstat:
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r ea4fef4cf13b -r bea142edd104 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c
--- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c Sun Mar 24 22:50:21 2013 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c Sun Mar 24 22:54:21 2013 +0000
@@ -2263,10 +2263,6 @@
static int id;
int i;
- vchiq_log_warning(vchiq_core_log_level,
- "%s: slot_zero = 0x%08lx, is_master = %d",
- __func__, (unsigned long)slot_zero, is_master);
-
/* Check the input configuration */
if (slot_zero->magic != VCHIQ_MAGIC) {
@@ -2278,6 +2274,11 @@
return VCHIQ_ERROR;
}
+ vchiq_log_warning(vchiq_core_log_level,
+ "%s: local ver %d (min %d), remote ver %d\n",
+ __func__, VCHIQ_VERSION, VCHIQ_VERSION_MIN,
+ slot_zero->version);
+
if (slot_zero->version < VCHIQ_VERSION_MIN) {
vchiq_loud_error_header();
vchiq_loud_error("Incompatible VCHIQ versions found.");
Home |
Main Index |
Thread Index |
Old Index