tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tracking ATA/ATAPI ioctl() calls....



On Wed, Oct 01, 2008 at 04:41:52PM -0500, Bryce Simonds wrote:
> Hi,
> 
> I've been attempting to send some raw commands to the ATA/ATAPI controller
> in hopes to get the drive to initialize its secure erase protocol; however,
> I'm not certain if the command data that I'm sending it is getting
> reformatted by the kernel or not, and was hoping I could find out by tracing
> through the ioctl() call.
> 
> I've gotten as far as were the ATA driver calls
> d->atabus->ata_exec_command(), but I cannot figure out where this function
> pointer is getting initialized and what it's being initialized to.
> 
> Any assistance would be greately appreaciated,

Try searching the sources for struct ata_bustype.  There's a few
different possibities, e.g. wdc_exec_command.


Home | Main Index | Thread Index | Old Index