-/* $OpenBSD: exesdhc.c,v 1.2 2015/05/27 00:06:14 jsg Exp $ */
+/* $OpenBSD: exesdhc.c,v 1.3 2015/05/30 02:17:36 jsg Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
return 0;
delay(10);
}
- DPRINTF(0,("%s: timeout waiting for %x\n", HDEVNAME(sc),
+ DPRINTF(0,("%s: timeout waiting for %x, state %x\n", HDEVNAME(sc),
value, state));
return ETIMEDOUT;
}
int error;
int s;
- DPRINTF(1,("%s: start cmd %u arg=%#x data=%#x dlen=%d flags=%#x "
+ DPRINTF(1,("%s: start cmd %u arg=%#x data=%p dlen=%d flags=%#x "
"proc=\"%s\"\n", HDEVNAME(sc), cmd->c_opcode, cmd->c_arg,
cmd->c_data, cmd->c_datalen, cmd->c_flags, curproc ?
curproc->p_comm : ""));
/* Acknowledge the interrupts we are about to handle. */
HWRITE4(sc, SDHC_INT_STATUS, status);
DPRINTF(2,("%s: interrupt status=0x%08x\n", HDEVNAME(sc),
- status, status));
+ status));
/*
* Service error interrupts.
-/* $OpenBSD: imxesdhc.c,v 1.10 2015/05/17 12:28:03 jsg Exp $ */
+/* $OpenBSD: imxesdhc.c,v 1.11 2015/05/30 02:17:36 jsg Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
return 0;
delay(10);
}
- DPRINTF(0,("%s: timeout waiting for %x\n", HDEVNAME(sc),
+ DPRINTF(0,("%s: timeout waiting for %x, state %x\n", HDEVNAME(sc),
value, state));
return ETIMEDOUT;
}
int error;
int s;
- DPRINTF(1,("%s: start cmd %u arg=%#x data=%#x dlen=%d flags=%#x "
+ DPRINTF(1,("%s: start cmd %u arg=%#x data=%p dlen=%d flags=%#x "
"proc=\"%s\"\n", HDEVNAME(sc), cmd->c_opcode, cmd->c_arg,
cmd->c_data, cmd->c_datalen, cmd->c_flags, curproc ?
curproc->p_comm : ""));
/* Acknowledge the interrupts we are about to handle. */
HWRITE4(sc, SDHC_INT_STATUS, status);
DPRINTF(2,("%s: interrupt status=0x%08x\n", HDEVNAME(sc),
- status, status));
+ status));
/*
* Service error interrupts.
-/* $OpenBSD: ommmc.c,v 1.13 2014/11/04 13:18:04 jsg Exp $ */
+/* $OpenBSD: ommmc.c,v 1.14 2015/05/30 02:17:36 jsg Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
int error;
int s;
- DPRINTF(1,("%s: start cmd %u arg=%#x data=%#x dlen=%d flags=%#x "
+ DPRINTF(1,("%s: start cmd %u arg=%#x data=%p dlen=%d flags=%#x "
"proc=\"%s\"\n", DEVNAME(sc), cmd->c_opcode, cmd->c_arg,
cmd->c_data, cmd->c_datalen, cmd->c_flags, curproc ?
curproc->p_comm : ""));