summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-12-12 13:01:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-12-12 13:01:01 +0000
commit419e4672af8c96cb34fd4e48dbcbe310ec85af1f (patch)
tree70dbadbfe0ec78743340d86ea2c1bf08e38396a3 /sys/arch/sparc64
parent31e4d3e58564298ae8adfbed843dc117632ebaca (diff)
Remove debug printf and properly dequeue command instead when a read times out
on LOMLite2.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/lom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/lom.c b/sys/arch/sparc64/dev/lom.c
index 65beaac25fe..2c2139a6738 100644
--- a/sys/arch/sparc64/dev/lom.c
+++ b/sys/arch/sparc64/dev/lom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lom.c,v 1.19 2009/11/10 22:26:48 kettenis Exp $ */
+/* $OpenBSD: lom.c,v 1.20 2009/12/12 13:01:00 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -606,7 +606,7 @@ lom2_read(struct lom_softc *sc, uint8_t reg, uint8_t *val)
error = tsleep(&lc, PZERO, "lom2rd", hz);
if (error)
- printf("oops\n");
+ lom_dequeue_cmd(sc, &lc);
*val = lc.lc_data;