diff options
author | ps <ps@FreeBSD.org> | 2004-04-19 17:16:06 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2004-04-19 17:16:06 +0000 |
commit | 59dc6aea9df9e691bea4a37a6ef9a1e002f5afbf (patch) | |
tree | 97b45b346bd7e86dd9b229069d3469e705b16581 /sys/dev/ciss | |
parent | e1cf016fa5c8841c036a8b96c29ccfb1b895ce82 (diff) | |
download | FreeBSD-src-59dc6aea9df9e691bea4a37a6ef9a1e002f5afbf.zip FreeBSD-src-59dc6aea9df9e691bea4a37a6ef9a1e002f5afbf.tar.gz |
There's no need to call ciss_report_request in the passthru ioctl
routine since the error will be reported back to the user buffer.
This will quiet down the bootverbose case when using an ACU which
does brute force discovery of the physical and logical devices.
Diffstat (limited to 'sys/dev/ciss')
-rw-r--r-- | sys/dev/ciss/ciss.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index d472ab8..74b195f 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2115,10 +2115,8 @@ ciss_user_command(struct ciss_softc *sc, IOCTL_Command_struct *ioc) * Check to see if the command succeeded. */ ce = (struct ciss_error_info *)&(cc->sg[0]); - if (ciss_report_request(cr, NULL, NULL) == 0) + if ((cc->header.host_tag & CISS_HDR_HOST_TAG_ERROR) == 0) bzero(ce, sizeof(*ce)); - else - error = EIO; /* * Copy the results back to the user. |