freebsd-dev/sys/cam
Poul-Henning Kamp 5ae652c0ed For removable devices without media we set a zero mediasize but a non-zero
sectorsize in order to avoid a lot of checks around various divisions etc.

Enforce the sectorsize being > 0 with a KASSERT on successful open.

Fix scsi_cd.c to return 2k sectors when no media inserted.
2004-09-05 21:15:58 +00:00
..
scsi For removable devices without media we set a zero mediasize but a non-zero 2004-09-05 21:15:58 +00:00
cam_ccb.h Reformat the comments for cam_hdr so that they can be read. 2004-06-07 19:12:44 +00:00
cam_debug.h
cam_periph.c Correct a typo in a comment: alloation->allocation 2004-08-30 20:14:21 +00:00
cam_periph.h Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
cam_queue.c Use __FBSDID(). 2003-06-10 17:50:20 +00:00
cam_queue.h
cam_sim.c Use __FBSDID(). 2003-06-10 17:50:20 +00:00
cam_sim.h
cam_xpt_periph.h
cam_xpt_sim.h
cam_xpt.c Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00
cam_xpt.h
cam.c Merge common XPT_CALC_GEOMETRY functions into a single convenience function. 2003-06-14 22:17:38 +00:00
cam.h