Page MenuHomeFreeBSD

Extending camdd utility to handle ATA devices.
Needs ReviewPublic

Authored by raviprakash.darbha_gmail.com on Jul 30 2016, 8:04 PM.
Tags
None
Referenced Files
F173360502: D7373.id18907.diff
Fri, Sep 25, 10:57 AM
F173348906: D7373.diff
Fri, Sep 25, 9:22 AM
Unknown Object (File)
Tue, Sep 22, 7:33 AM
Unknown Object (File)
Fri, Sep 11, 3:03 AM
Unknown Object (File)
Sun, Sep 6, 3:08 PM
Unknown Object (File)
Sun, Sep 6, 9:33 AM
Unknown Object (File)
Sun, Sep 6, 1:25 AM
Unknown Object (File)
Sat, Sep 5, 3:25 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
Tests Skipped