ATA device detecting