-/* $OpenBSD: i2s.c,v 1.30 2015/09/08 08:29:35 deraadt Exp $ */
+/* $OpenBSD: i2s.c,v 1.31 2016/06/26 06:48:39 mglocker Exp $ */
/* $NetBSD: i2s.c,v 1.1 2003/12/27 02:19:34 grant Exp $ */
/*-
#include <macppc/dev/i2sreg.h>
#include <macppc/pci/macobio.h>
+#define I2S_DEBUG
#ifdef I2S_DEBUG
# define DPRINTF(x) printf x
#else
mtx_leave(&audio_lock);
return (0);
}
- DPRINTF(("i2s_intr: cmd %x\n", cmd));
+ DPRINTF(("i2s_intr: cmd %p\n", cmd));
c = in16rb(&cmd->d_command);
status = in16rb(&cmd->d_status);
mtx_leave(&audio_lock);
return (0);
}
- DPRINTF(("i2s_intr: cmd %x\n", cmd));
+ DPRINTF(("i2s_intr: cmd %p\n", cmd));
c = in16rb(&cmd->d_command);
status = in16rb(&cmd->d_status);