diff options
author | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2007-04-07 13:37:25 +0000 |
---|---|---|
committer | Christopher Pascoe <pascoe@cvs.openbsd.org> | 2007-04-07 13:37:25 +0000 |
commit | 29d71ba328e7445e1d16043cccb1b89a0b8b8494 (patch) | |
tree | 0a446ff67d9f2b832b7691d5d210682426db1097 /sys | |
parent | effa7ae0b051e87a64051ff68b2a009d70872257 (diff) |
Permit PACKET command issue.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/sili.c | 8 |
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; |