summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpascoe <pascoe@openbsd.org>2007-04-07 13:37:24 +0000
committerpascoe <pascoe@openbsd.org>2007-04-07 13:37:24 +0000
commitef22dba7488c084cea0015c77c19be421b801695 (patch)
treed24346486bb3aa9a2c8cacb9b69a6f015fd76f10
parentFill out control information for ATAPI commands. (diff)
downloadwireguard-openbsd-ef22dba7488c084cea0015c77c19be421b801695.tar.xz
wireguard-openbsd-ef22dba7488c084cea0015c77c19be421b801695.zip
Permit PACKET command issue.
-rw-r--r--sys/dev/ic/sili.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ic/sili.c b/sys/dev/ic/sili.c
index 13fb1823ead..ec51d85a3a5 100644
--- a/sys/dev/ic/sili.c
+++ b/sys/dev/ic/sili.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sili.c,v 1.20 2007/04/07 13:23:30 pascoe Exp $ */
+/* $OpenBSD: sili.c,v 1.21 2007/04/07 13:37:24 pascoe Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -531,7 +531,8 @@ sili_ata_probe(void *xsc, int port)
/* we use slot 0 */
sili_post_direct(sp, 0, &sreset, sizeof(sreset));
if (!sili_pwait_eq(sp, SILI_PREG_PSS, (1 << 0), 0, 1000)) {
- /* DPRINTF timeout waiting for soft reset */
+ DPRINTF(SILI_D_VERBOSE, "%s: timed out while waiting for soft "
+ "reset\n", PORTNAME(sp));
return (ATA_PORT_T_NONE);
}
@@ -582,9 +583,6 @@ sili_ata_cmd(struct ata_xfer *xa)
sgl = atapi->sgl;
sgllen = sizeofa(atapi->sgl);
-
- xa->state = ATA_S_ERROR;
- return (ATA_ERROR);
} else {
ata = ccb->ccb_cmd;