freebsd-dev/sys/cam
Kenneth D. Merry 37b9efd37b 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 Fix the CAM code so that people can compile kernels with the CD driver but 1998-09-18 22:33:59 +00:00
cam_ccb.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_conf.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_debug.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_extend.c CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_extend.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_periph.c CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_periph.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_queue.c CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_queue.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_sim.c CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_sim.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_xpt_periph.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_xpt_sim.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam_xpt.c Change the Atlas II quirk entries so they work with differential Atlas 1998-09-18 19:55:34 +00:00
cam_xpt.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam.c CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00
cam.h CAM Transport Layer (XPT). 1998-09-15 06:33:23 +00:00