The FreeBSD CAM SCSI subsystem ( cam(4)) now includes experimental support for ATA/SATA/AHCI-compliant devices. This is disabled by default. To enable this, adding the following kernel options to your kernel configuration file and rebuild the kernel:
device ahci
device siis
The current implementation supports AHCI-compliant controllers and SiliconImage SiI3124/SiI3132/SiI3531 controllers. The device node of an ATA drive is ada and an ATAPI drive is cd.
Seeker said:Code:ad4: 156334MB <Maxtor 6Y160M0 YAR511W0> at ata2-master SATA150
But it is sata HD, connected with sata cable to mainboard.
So..., shouldn't it be da instead ad driver?
Same thing on my laptop: SATA is ATA
Driver features include support for Serial ATA and ATAPI devices.
Connected ATA disks are handled by the ATA protocol disk peripheral driver ada(4).
ATAPI devices are handled by the SCSI protocol peripheral drivers cd(4), da(4), sa(4), etc.
Is it an IDE drive or SATA? If it's IDE it'll show as acd0, or if you have atapicam as cd0.Seeker said:So..., why is my DVD/RW device, still appeared as acd0 instead of cd0?
I get cd0, when I kldload atapicam, but that is not a point here.
I expected it to appear as cd0, that is, same as if I would kldload atapicam.ATAPI devices are handled by the SCSI protocol peripheral drivers cd(4), da(4), sa(4), etc.
See ahci(4):Seeker said:So is this because of experimental AHCI's status or somehing else.
NAME
ahci -- Serial ATA Advanced Host Controller Interface driver
Nowhere!SirDice said:See ahci(4):
Where does it state that the ahci driver handles P-ATA?
ATAPI devices are handled by the SCSI protocol peripheral drivers cd(4), da(4), sa(4), etc.
ATAPI devices, connected via SATA cable, are handled by the SCSI protocol peripheral drivers cd(4), da(4), sa(4), etc.
No, it mentions that it handles ATAPI devices on SATA controllers. Not ATAPI on any controller.Seeker said:Nowhere!
It mentions that the ahci driver handles ATAPI.
So if optical device is conected with PATA or SATA cable, in either way it talks ATAPI protocol, while HDD no matter of cabling too; SATA or PATA, it talks ATA protocol.
Thus ATA/ATAPI standard
AHCI doesn't support PATA at all. PATA uses a different controller (ata(4)).Do you wana say, that, under ahci driver:
Optical ATAPI device, connected via PATA cable - shows as acd0
Optical ATAPI device, connected via SATA cable - shows as cd0
Then my statement is true;SirDice said:No, it mentions that it handles ATAPI devices on SATA controllers. Not ATAPI on any controller.
PATA and SATA both talk ata(4) and are recognized through it.SirDice said:AHCI doesn't support PATA at all. PATA uses a different controller (ata(4)).