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
Unknown Object (File)
Tue, Feb 18, 12:14 AM
Unknown Object (File)
Jan 19 2025, 9:56 PM
Unknown Object (File)
Nov 29 2024, 6:43 AM
Unknown Object (File)
Nov 25 2024, 9:05 AM
Unknown Object (File)
Oct 8 2024, 3:39 PM
Unknown Object (File)
Oct 5 2024, 2:58 PM
Unknown Object (File)
Oct 5 2024, 5:00 AM
Unknown Object (File)
Oct 2 2024, 12:26 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