diff options
author | ken <ken@FreeBSD.org> | 1998-09-18 22:33:59 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1998-09-18 22:33:59 +0000 |
commit | b1e2d556fc3ac0cf8b7428eac3adb108a35d95c6 (patch) | |
tree | 8065269e4383504b33b65ff66ea37908426c3570 /lib/libstand/tftp.c | |
parent | e00d4f6e8d46a42e518512b38e0d2fb3d89e7470 (diff) | |
download | FreeBSD-src-b1e2d556fc3ac0cf8b7428eac3adb108a35d95c6.zip FreeBSD-src-b1e2d556fc3ac0cf8b7428eac3adb108a35d95c6.tar.gz |
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
Diffstat (limited to 'lib/libstand/tftp.c')
0 files changed, 0 insertions, 0 deletions