FreeBSD Bugzilla – Attachment 7326 Details for
Bug 15975
Bug in cam_periph.c:cam_periph_error()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.52 KB, created by
cmascott
on 2000-01-08 02:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
cmascott
Created:
2000-01-08 02:50:01 UTC
Size:
1.52 KB
patch
obsolete
>*** sys/cam/cam_periph.c.org Sun Aug 29 12:21:38 1999 >--- sys/cam/cam_periph.c Thu Dec 23 11:40:40 1999 >*************** >*** 1434,1454 **** > SCSI_STATUS_CHECK_COND > && status != CAM_AUTOSENSE_FAIL) { > /* no point in decrementing the retry count */ > panic("cam_periph_error: scsi status of " > "CHECK COND returned but no sense " > "information is availible. " > "Controller should have returned " > "CAM_AUTOSENSE_FAILED"); > /* NOTREACHED */ > error = EIO; >! } else if (ccb->ccb_h.retry_count > 0) { > /* > * XXX KDM shouldn't there be a better > * argument to return?? > */ > error = EIO; > } else { > /* decrement the number of retries */ > retry = ccb->ccb_h.retry_count > 0; > if (retry) > ccb->ccb_h.retry_count--; >--- 1434,1454 ---- > SCSI_STATUS_CHECK_COND > && status != CAM_AUTOSENSE_FAIL) { > /* no point in decrementing the retry count */ > panic("cam_periph_error: scsi status of " > "CHECK COND returned but no sense " > "information is availible. " > "Controller should have returned " > "CAM_AUTOSENSE_FAILED"); > /* NOTREACHED */ > error = EIO; >! } else if (ccb->ccb_h.retry_count == 0) { > /* > * XXX KDM shouldn't there be a better > * argument to return?? > */ > error = EIO; > } else { > /* decrement the number of retries */ > retry = ccb->ccb_h.retry_count > 0; > if (retry) > ccb->ccb_h.retry_count--;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15975
: 7326