Date: Tue, 5 Apr 2005 02:03:31 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata atapi-cam.c Message-ID: <200504050203.j3523VG9093169@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504050203.j3523VG9093169>
