Date: Mon, 19 Apr 1999 14:26:19 -0700 (PDT) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_periph.c cam_queue.c cam_queue.h cam_xpt.c src/sys/cam/scsi scsi_cd.c Message-ID: <199904192126.OAA22458@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 1999/04/19 14:26:19 PDT
Modified files:
sys/cam cam_periph.c cam_queue.c cam_queue.h
cam_xpt.c
Log:
cam_periph.c:
Move handling of CAM_AUTOSENSE_FAIL into block dealing with
all other scsi status errors.
cam_queue.c:
cam_queue.h:
Fix 'off by one' heap bug in a more efficient manner. Since
heap algorithms like to deal with indexes started from 1,
offset our heap array pointer at allocation time to make this
so for a C environment. This makes the implementation of the
algorithm a bit more efficient.
cam_xpt.c:
Use macros for accessing the head of the heap so that code
is isolated from implementation details of the heap.
Revision Changes Path
1.12 +4 -3 src/sys/cam/cam_periph.c
1.3 +36 -21 src/sys/cam/cam_queue.c
1.4 +5 -1 src/sys/cam/cam_queue.h
1.52 +22 -23 src/sys/cam/cam_xpt.c
Modified files:
sys/cam/scsi scsi_cd.c
Log:
Use macros for accessing the head of the heap so that code
is isolated from implementation details of the heap.
Revision Changes Path
1.17 +2 -2 src/sys/cam/scsi/scsi_cd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904192126.OAA22458>
