freebsd-dev/sys/cam/scsi
Poul-Henning Kamp 38e2693b94 Unhook the SCSI CD driver from the disk "mini-layer" and/or GEOM.
SCSI disks are too square pegs for the round holes in both of these.

And since atapi-cd has clearly shown that there are better acccess
models for CD media than trying to pretend to be a classical disk,
we stop the masquerade rather than patch up the costume.

But do implement the DIOCGMEDIASIZE and DIOCGSECTORSIZE so it will
be possible to manually attach to GEOM, should some the need arise.

Ideally, this driver should do media-detection and call make_dev()
when a CD is inserted and destroy_dev() when it is removed, this
would allow our future devd(8) to automount etc etc but coding that
takes SCSI-clue beyond anything I posses.

Tested on:      sparc64
2002-10-04 13:33:30 +00:00
..
scsi_all.c A SCSI_DELAY of zero is a legitimate value to have. 2002-09-23 04:56:35 +00:00
scsi_all.h Make SCSI_DELAY setable at boot time and runtime via the 2002-09-02 20:10:19 +00:00
scsi_cd.c Unhook the SCSI CD driver from the disk "mini-layer" and/or GEOM. 2002-10-04 13:33:30 +00:00
scsi_cd.h Remove spurious ';' 2002-02-10 21:36:13 +00:00
scsi_ch.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
scsi_ch.h
scsi_da.c Fix style problems in the quirk entry section. 2002-10-03 19:59:24 +00:00
scsi_da.h
scsi_dvcfg.h
scsi_iu.h scsi_message.h: 2002-06-05 19:05:01 +00:00
scsi_low_pisa.c o Add KLD support for scsi_low. 2001-12-15 12:32:23 +00:00
scsi_low_pisa.h Remove __P. 2002-03-20 08:56:31 +00:00
scsi_low.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
scsi_low.h use __packed. 2002-09-23 18:54:32 +00:00
scsi_message.h scsi_message.h: 2002-06-05 19:05:01 +00:00
scsi_pass.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_pass.h Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
scsi_pt.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_pt.h
scsi_sa.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_sa.h
scsi_ses.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
scsi_ses.h
scsi_targ_bh.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_target.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_targetio.h (Forced commit- last commit was inadvertant in that it missed the comments) 2001-07-30 00:27:54 +00:00