freebsd-skq/sys/dev/ata
rodrigc c78f4c8ed1 Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel
option is defined.  This sysctl can be queried by feature_present(3).

Query for this feature in /sbin/atacontrol and /usr/sbin/burncd.
If these utilities detect that ATA_CAM is enabled, then these utilities
will error out.  These utilities are compatible with the old ATA
driver, but are incomptible with the new ATA_CAM driver.  By erroring out,
we give end-users an idea as to what remedies to use, and reduce the need for them
to file PR's.  For atacontrol, camcontrol must be used instead,
and for burncd, alternative utilties from the ports collection must be used
such as sysutils/cdrtools.

In future, maybe someone can re-write burncd to work with ATA_CAM,
but at least for now, we give a somewhat useful error message to end users.

PR:		160979
Reviewed by:	jh, Arnaud Lacombe <lacombar at gmail dot com>
Reported by:	Joe Barbish <fbsd8 at a1poweruser dot com>
MFC after:	3 days
2011-10-09 21:42:02 +00:00
..
chipsets Do not force AHCI mode on NVIDIA MCP89 SATA controllers. Recent Apple 2011-08-02 11:07:47 +00:00
ata_if.m
ata-all.c Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel 2011-10-09 21:42:02 +00:00
ata-all.h Implement automatic SCSI sense fetching for ata(4) in ATA_CAM mode. 2011-04-12 09:55:24 +00:00
ata-card.c Minor formatting nits. 2010-07-04 05:58:17 +00:00
ata-cbus.c
ata-disk.c Add the disk ident and a human-meaningful description (here, the disk model 2011-02-26 14:58:54 +00:00
ata-disk.h
ata-dma.c - Allocate the DMA memory used for the work area as coherent as at least 2011-03-06 12:54:00 +00:00
ata-isa.c
ata-lowlevel.c Make PATA-like soft-reset in ata(4) more strict in checking disk signature. 2011-04-21 07:26:14 +00:00
ata-pci.c - Use mutex to serialize index/data register pair usage, when 2011-07-22 16:37:04 +00:00
ata-pci.h - Use mutex to serialize index/data register pair usage, when 2011-07-22 16:37:04 +00:00
ata-queue.c
ata-raid-ddf.h
ata-raid.c
ata-raid.h
ata-sata.c Intel NM10 chipset's SATA controller has same PCI ID and revision as ICH7's, 2011-06-09 16:30:13 +00:00
atapi-cam.c Fix possible use after free. 2010-06-05 08:58:03 +00:00
atapi-cd.c
atapi-cd.h
atapi-fd.c
atapi-fd.h
atapi-tape.c
atapi-tape.h