]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r233274
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 30 Mar 2012 23:50:16 +0000 (23:50 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 30 Mar 2012 23:50:16 +0000 (23:50 +0000)
commitd04fe7e692d923b893d59feb3390865f305605b5
treef668e011e2f81f726475d432a8386b5a0ec605dd
parentba7fdd85125635acc8a2a43d75f280ec078ce697
MFC: r233274

Remove remnants of ATA_LOCKING uses in the ATA_CAM case and wrap it
along with functions, SYSCTLs and tunables that are not used with
ATA_CAM in #ifndef ATA_CAM, similar to the existing #ifdef'ed ATA_CAM
code for the other way around. This makes it easier to understand
which parts of ata(4) actually are used in the new world order and
to later on remove the !ATA_CAM bits. It also makes it obvious that
there is something fishy with the C-bus front-end as well as in the
ATP850 support, as these used ATA_LOCKING which is defunct in the
ATA_CAM case. When fixing the former, ATA_LOCKING probably needs to
be brought back in some form or other.

Reviewed by: mav

git-svn-id: svn://svn.freebsd.org/base/stable/9@233715 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ata/ata-all.c
sys/dev/ata/ata-cbus.c
sys/dev/ata/ata-pci.c
sys/dev/ata/ata-pci.h
sys/dev/ata/ata-queue.c
sys/dev/ata/chipsets/ata-acard.c