From: mglocker Date: Thu, 9 May 2024 08:21:52 +0000 (+0000) Subject: Sprinkle some more DPRINTFs. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3fcde4b2475b2df121fea711d6353c76d6c675fc;p=openbsd Sprinkle some more DPRINTFs. --- diff --git a/sys/dev/ic/ufshci.c b/sys/dev/ic/ufshci.c index 438646a77a4..7360ab623a4 100644 --- a/sys/dev/ic/ufshci.c +++ b/sys/dev/ic/ufshci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufshci.c,v 1.17 2024/05/09 08:18:20 mglocker Exp $ */ +/* $OpenBSD: ufshci.c,v 1.18 2024/05/09 08:21:52 mglocker Exp $ */ /* * Copyright (c) 2022 Marcus Glocker @@ -1370,6 +1370,7 @@ ufshci_scsi_cmd(struct scsi_xfer *xs) case READ_10: case READ_12: case READ_16: + DPRINTF("io read\n"); ufshci_scsi_io(xs, SCSI_DATA_IN); break; @@ -1377,21 +1378,26 @@ ufshci_scsi_cmd(struct scsi_xfer *xs) case WRITE_10: case WRITE_12: case WRITE_16: + DPRINTF("io write\n"); ufshci_scsi_io(xs, SCSI_DATA_OUT); break; case SYNCHRONIZE_CACHE: + DPRINTF("sync\n"); ufshci_scsi_sync(xs); break; case INQUIRY: + DPRINTF("inquiry\n"); ufshci_scsi_inquiry(xs); break; case READ_CAPACITY_16: + DPRINTF("capacity16\n"); ufshci_scsi_capacity16(xs); break; case READ_CAPACITY: + DPRINTF("capacity\n"); ufshci_scsi_capacity(xs); break;