summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_sim.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1999-04-19 21:26:08 +0000
committergibbs <gibbs@FreeBSD.org>1999-04-19 21:26:08 +0000
commit752ab9a8587b6cc446cde857f5bb2361eed5c846 (patch)
treea534a3da6fa8385d145943dcd7c44a6cd687af4d /sys/cam/cam_sim.c
parent1626101dd4984de63fb4928fa8e59fb6fa5651ff (diff)
downloadFreeBSD-src-752ab9a8587b6cc446cde857f5bb2361eed5c846.zip
FreeBSD-src-752ab9a8587b6cc446cde857f5bb2361eed5c846.tar.gz
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.
Diffstat (limited to 'sys/cam/cam_sim.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud