freebsd-nq/sys/cam/scsi
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_all.c
scsi_all.h
scsi_cd.c
scsi_cd.h
scsi_ch.c
scsi_ch.h
scsi_da.c
scsi_da.h
scsi_dvcfg.h
scsi_iu.h
scsi_low_pisa.c
scsi_low_pisa.h
scsi_low.c
scsi_low.h
scsi_message.h
scsi_pass.c
scsi_pass.h
scsi_pt.c
scsi_pt.h
scsi_sa.c
scsi_sa.h
scsi_ses.c
scsi_ses.h
scsi_targ_bh.c
scsi_target.c
scsi_targetio.h