Page MenuHomeFreeBSD

Extending camdd utility to handle ATA devices.
Needs ReviewPublic

Authored by raviprakash.darbha_gmail.com on Jul 30 2016, 8:04 PM.

Details

Reviewers
ken
Summary

As of now , camdd utility only supports SCSI. This diff extends this tool for ATA by sending direct ATA commands for identify and for read/writes. We are not using SCSI passthrough for performance benefits.
For now we are considering only NCQ, DMA48,DMA. All flags to extend it further are in place. Will be extended as and when we need the support. (FYI I fixed some indentation issues which i saw on my box. Still working on that to get it through completely. )

Test Plan

It has been tested on virtual environments as well as on direct hardware. Reads and writes work fine.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Unit Tests Skipped