cvs commit: src/sys/dev/ata atapi-cam.c
Scott Long
scottl at FreeBSD.org
Mon Apr 4 19:03:31 PDT 2005
scottl 2005-04-05 02:03:31 UTC
FreeBSD src repository
Modified files:
sys/dev/ata atapi-cam.c
Log:
Commit ATAPI-CAM for ATAmkIII. Improvements and changes:
- newbus plumbing. Each atapicam bus is a child off of a parent ata channel
bus. This is somewhat of a hack, but allows the ata core to be completely
free of atapicam knowledge.
- No more global lists of softc's and no more groping around in internal ata
structures on each command.
- Giant-free operation of the completion handler.
- Per-bus mutex for protecting the busy list and synchronizing detach.
- Lots of streamlining and dead code elimination, better adherence to the
CAM locking protocol.
This feature still requires that the appropriate atapi-* driver be present
for each atapi device that you want to talk to (i.e. atapi-cd for cdroms).
It does work both compiled into the kernel and as a loadable module.
Reviewed by: thomas, sos
Revision Changes Path
1.36 +186 -151 src/sys/dev/ata/atapi-cam.c
More information about the cvs-src
mailing list