summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/cbus.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-01-04 17:53:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-01-04 17:53:26 +0000
commita61ba976b5794aed2e736e8223632bf41004b18a (patch)
treea6ef51760bead8ccb690e9402bfe1c02b5b79fd4 /sys/arch/sparc64/dev/cbus.c
parent6ee860c4bd48c14567735c4ee1f3ed6fd72c5dea (diff)
Make cbus_print() less chatty and use "chan" instead of "id" when printing the
logical domain channel ID.
Diffstat (limited to 'sys/arch/sparc64/dev/cbus.c')
-rw-r--r--sys/arch/sparc64/dev/cbus.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/sparc64/dev/cbus.c b/sys/arch/sparc64/dev/cbus.c
index 87ad0956f5a..19351d5a962 100644
--- a/sys/arch/sparc64/dev/cbus.c
+++ b/sys/arch/sparc64/dev/cbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cbus.c,v 1.2 2009/01/01 23:24:59 kettenis Exp $ */
+/* $OpenBSD: cbus.c,v 1.3 2009/01/04 17:53:25 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
*
@@ -145,11 +145,7 @@ cbus_print(void *aux, const char *name)
if (name)
printf("\"%s\" at %s", ca->ca_name, name);
if (ca->ca_id != -1)
- printf(" id 0x%llx", ca->ca_id);
- if (ca->ca_tx_ino != -1)
- printf(" tx-ino 0x%llx", ca->ca_tx_ino);
- if (ca->ca_rx_ino != -1)
- printf(" rx-ino 0x%llx", ca->ca_rx_ino);
+ printf(" chan 0x%llx", ca->ca_id);
return (UNCONF);
}