freebsd-skq/sys/cam/scsi
ken b1e2d556fc Fix the CAM code so that people can compile kernels with the CD driver but
without the DA driver.

The problem was that the CD driver depended on scsi_read_write() and
scsi_start_stop(), which were defined in scsi_da.c.

I moved both functions, and their associated data structures and defines
from scsi_da.* to scsi_all.*.  This is technically the "wrong" thing to do
since those commands are really only for direct-access type devices, not
for all SCSI devices.  I think, though, that the advantage (allowing people
to compile kernels without the disk driver) outweighs any architectural
purity arguments.

PR:		kern/7969
Reviewed by:	gibbs
1998-09-18 22:33:59 +00:00
..
scsi_all.c Fix the CAM code so that people can compile kernels with the CD driver but 1998-09-18 22:33:59 +00:00
scsi_all.h Fix the CAM code so that people can compile kernels with the CD driver but 1998-09-18 22:33:59 +00:00
scsi_cd.c SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_cd.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_ch.c SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_ch.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_da.c Fix the CAM code so that people can compile kernels with the CD driver but 1998-09-18 22:33:59 +00:00
scsi_da.h Fix the CAM code so that people can compile kernels with the CD driver but 1998-09-18 22:33:59 +00:00
scsi_message.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_pass.c Check to make sure that this device is opened read-write, not just read 1998-09-16 00:11:53 +00:00
scsi_pass.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_pt.c SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_pt.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_sa.c SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_sa.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00
scsi_target.c Correct printf format bugs. 1998-09-15 22:05:44 +00:00
scsi_targetio.h SCSI Peripheral drivers for CAM: 1998-09-15 06:36:34 +00:00