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 hide some de...
details: https://anonhg.NetBSD.org/src/rev/d24a1c344781
branches: trunk
changeset: 785705:d24a1c344781
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Mar 25 22:40:12 2013 +0000
description:
hide some debug printfs under VCHIQ_IOCTL_DEBUG
diffstat:
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diffs (54 lines):
diff -r 51c301a7e4c3 -r d24a1c344781 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c
--- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c Mon Mar 25 22:17:01 2013 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c Mon Mar 25 22:40:12 2013 +0000
@@ -520,7 +520,9 @@
}
}
+#ifdef VCHIQ_IOCTL_DEBUG
printf("%s: [CREATE SERVICE] handle = %08x\n", __func__, service->handle);
+#endif
pargs->handle = service->handle;
service = NULL;
@@ -533,7 +535,9 @@
case VCHIQ_IOC_CLOSE_SERVICE: {
VCHIQ_SERVICE_HANDLE_T handle = *(VCHIQ_SERVICE_HANDLE_T *)arg;
+#ifdef VCHIQ_IOCTL_DEBUG
printf("%s: [CLOSE SERVICE] handle = %08x\n", __func__, handle);
+#endif
service = find_service_for_instance(instance, handle);
if (service != NULL)
@@ -545,7 +549,9 @@
case VCHIQ_IOC_REMOVE_SERVICE: {
VCHIQ_SERVICE_HANDLE_T handle = *(VCHIQ_SERVICE_HANDLE_T *)arg;
+#ifdef VCHIQ_IOCTL_DEBUG
printf("%s: [REMOVE SERVICE] handle = %08x\n", __func__, handle);
+#endif
service = find_service_for_instance(instance, handle);
if (service != NULL)
@@ -558,8 +564,10 @@
case VCHIQ_IOC_RELEASE_SERVICE: {
VCHIQ_SERVICE_HANDLE_T handle = *(VCHIQ_SERVICE_HANDLE_T *)arg;
+#ifdef VCHIQ_IOCTL_DEBUG
printf("%s: [%s SERVICE] handle = %08x\n", __func__,
cmd == VCHIQ_IOC_USE_SERVICE ? "USE" : "RELEASE", handle);
+#endif
service = find_service_for_instance(instance, handle);
if (service != NULL) {
@@ -587,7 +595,9 @@
case VCHIQ_IOC_QUEUE_MESSAGE: {
VCHIQ_QUEUE_MESSAGE_T *pargs = arg;
+#ifdef VCHIQ_IOCTL_DEBUG
printf("%s: [QUEUE MESSAGE] handle = %08x\n", __func__, pargs->handle);
+#endif
service = find_service_for_instance(instance, pargs->handle);
Home |
Main Index |
Thread Index |
Old Index