summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc64/dev/vcctty.c14
-rw-r--r--sys/arch/sparc64/dev/vdsk.c14
-rw-r--r--sys/arch/sparc64/dev/vdsp.c14
-rw-r--r--sys/arch/sparc64/dev/vldcp.c14
-rw-r--r--sys/arch/sparc64/dev/vnet.c14
5 files changed, 35 insertions, 35 deletions
diff --git a/sys/arch/sparc64/dev/vcctty.c b/sys/arch/sparc64/dev/vcctty.c
index b2102f370ed..8486b1284fc 100644
--- a/sys/arch/sparc64/dev/vcctty.c
+++ b/sys/arch/sparc64/dev/vcctty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vcctty.c,v 1.12 2015/01/25 21:42:13 kettenis Exp $ */
+/* $OpenBSD: vcctty.c,v 1.13 2018/01/17 15:52:33 stsp Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -179,13 +179,13 @@ vcctty_tx_intr(void *arg)
if (tx_state != lc->lc_tx_state) {
switch (tx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Tx link down\n"));
+ DPRINTF(("%s: Tx link down\n", __func__));
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Tx link up\n"));
+ DPRINTF(("%s: Tx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Tx link reset\n"));
+ DPRINTF(("%s: Tx link reset\n", __func__));
break;
}
lc->lc_tx_state = tx_state;
@@ -214,13 +214,13 @@ vcctty_rx_intr(void *arg)
if (rx_state != lc->lc_rx_state) {
switch (rx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Rx link down\n"));
+ DPRINTF(("%s: Rx link down\n", __func__));
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Rx link up\n"));
+ DPRINTF(("%s: Rx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Rx link reset\n"));
+ DPRINTF(("%s: Rx link reset\n", __func__));
break;
}
lc->lc_rx_state = rx_state;
diff --git a/sys/arch/sparc64/dev/vdsk.c b/sys/arch/sparc64/dev/vdsk.c
index 530f8e51a4b..f3670e51cc1 100644
--- a/sys/arch/sparc64/dev/vdsk.c
+++ b/sys/arch/sparc64/dev/vdsk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdsk.c,v 1.48 2017/05/25 03:19:39 dlg Exp $ */
+/* $OpenBSD: vdsk.c,v 1.49 2018/01/17 15:52:34 stsp Exp $ */
/*
* Copyright (c) 2009, 2011 Mark Kettenis
*
@@ -384,13 +384,13 @@ vdsk_tx_intr(void *arg)
if (tx_state != lc->lc_tx_state) {
switch (tx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Tx link down\n"));
+ DPRINTF(("%s: Tx link down\n", __func__));
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Tx link up\n"));
+ DPRINTF(("%s: Tx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Tx link reset\n"));
+ DPRINTF(("%s: Tx link reset\n", __func__));
break;
}
lc->lc_tx_state = tx_state;
@@ -422,14 +422,14 @@ vdsk_rx_intr(void *arg)
lc->lc_state = 0;
switch (rx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Rx link down\n"));
+ DPRINTF(("%s: Rx link down\n", __func__));
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Rx link up\n"));
+ DPRINTF(("%s: Rx link up\n", __func__));
ldc_send_vers(lc);
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Rx link reset\n"));
+ DPRINTF(("%s: Rx link reset\n", __func__));
break;
}
lc->lc_rx_state = rx_state;
diff --git a/sys/arch/sparc64/dev/vdsp.c b/sys/arch/sparc64/dev/vdsp.c
index fc00aba0042..762ab872ee5 100644
--- a/sys/arch/sparc64/dev/vdsp.c
+++ b/sys/arch/sparc64/dev/vdsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdsp.c,v 1.42 2016/03/19 12:04:15 natano Exp $ */
+/* $OpenBSD: vdsp.c,v 1.43 2018/01/17 15:52:34 stsp Exp $ */
/*
* Copyright (c) 2009, 2011, 2014 Mark Kettenis
*
@@ -412,13 +412,13 @@ vdsp_tx_intr(void *arg)
if (tx_state != lc->lc_tx_state) {
switch (tx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Tx link down\n"));
+ DPRINTF(("%s: Tx link down\n", __func__));
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Tx link up\n"));
+ DPRINTF(("%s: Tx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Tx link reset\n"));
+ DPRINTF(("%s: Tx link reset\n", __func__));
break;
}
lc->lc_tx_state = tx_state;
@@ -448,16 +448,16 @@ vdsp_rx_intr(void *arg)
if (rx_state != lc->lc_rx_state) {
switch (rx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Rx link down\n"));
+ DPRINTF(("%s: Rx link down\n", __func__));
lc->lc_tx_seqid = 0;
lc->lc_state = 0;
lc->lc_reset(lc);
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Rx link up\n"));
+ DPRINTF(("%s: Rx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Rx link reset\n"));
+ DPRINTF(("%s: Rx link reset\n", __func__));
lc->lc_tx_seqid = 0;
lc->lc_state = 0;
lc->lc_reset(lc);
diff --git a/sys/arch/sparc64/dev/vldcp.c b/sys/arch/sparc64/dev/vldcp.c
index 7d8bb3ae9f6..5aed7b206fe 100644
--- a/sys/arch/sparc64/dev/vldcp.c
+++ b/sys/arch/sparc64/dev/vldcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vldcp.c,v 1.14 2018/01/13 15:10:02 stsp Exp $ */
+/* $OpenBSD: vldcp.c,v 1.15 2018/01/17 15:52:34 stsp Exp $ */
/*
* Copyright (c) 2009, 2012 Mark Kettenis
*
@@ -212,13 +212,13 @@ vldcp_tx_intr(void *arg)
if (tx_state != lc->lc_tx_state) {
switch (tx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Tx link down\n"));
+ DPRINTF(("%s: Tx link down\n", __func__));
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Tx link up\n"));
+ DPRINTF(("%s: Tx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Tx link reset\n"));
+ DPRINTF(("%s: Tx link reset\n", __func__));
break;
}
lc->lc_tx_state = tx_state;
@@ -247,7 +247,7 @@ vldcp_rx_intr(void *arg)
if (rx_state != lc->lc_rx_state) {
switch (rx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Rx link down\n"));
+ DPRINTF(("%s: Rx link down\n", __func__));
if (rx_head == rx_tail)
break;
/* Discard and ack pending I/O. */
@@ -258,10 +258,10 @@ vldcp_rx_intr(void *arg)
printf("%s: hv_ldc_rx_set_qhead %d\n", __func__, err);
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Rx link up\n"));
+ DPRINTF(("%s: Rx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Rx link reset\n"));
+ DPRINTF(("%s: Rx link reset\n", __func__));
break;
}
lc->lc_rx_state = rx_state;
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c
index 0cd73a3376b..4d1e96bbadb 100644
--- a/sys/arch/sparc64/dev/vnet.c
+++ b/sys/arch/sparc64/dev/vnet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnet.c,v 1.58 2017/01/22 10:17:37 dlg Exp $ */
+/* $OpenBSD: vnet.c,v 1.59 2018/01/17 15:52:34 stsp Exp $ */
/*
* Copyright (c) 2009, 2015 Mark Kettenis
*
@@ -341,13 +341,13 @@ vnet_tx_intr(void *arg)
if (tx_state != lc->lc_tx_state) {
switch (tx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Tx link down\n"));
+ DPRINTF(("%s: Tx link down\n", __func__));
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Tx link up\n"));
+ DPRINTF(("%s: Tx link up\n", __func__));
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Tx link reset\n"));
+ DPRINTF(("%s: Tx link reset\n", __func__));
break;
}
lc->lc_tx_state = tx_state;
@@ -376,17 +376,17 @@ vnet_rx_intr(void *arg)
if (rx_state != lc->lc_rx_state) {
switch (rx_state) {
case LDC_CHANNEL_DOWN:
- DPRINTF(("Rx link down\n"));
+ DPRINTF(("%s: Rx link down\n", __func__));
lc->lc_tx_seqid = 0;
lc->lc_state = 0;
lc->lc_reset(lc);
break;
case LDC_CHANNEL_UP:
- DPRINTF(("Rx link up\n"));
+ DPRINTF(("%s: Rx link up\n", __func__));
timeout_add_msec(&sc->sc_handshake_to, 500);
break;
case LDC_CHANNEL_RESET:
- DPRINTF(("Rx link reset\n"));
+ DPRINTF(("%s: Rx link reset\n", __func__));
lc->lc_tx_seqid = 0;
lc->lc_state = 0;
lc->lc_reset(lc);