Hi All,

I am trying to dump AtaIdentify() buffer to find 
ModelName,SerialNo,cylinders,head and etc.

My setup Details:

My board has IDE controller and it has two IDE channels. I have connected one 
SATA harddisk on IDE channel 0.

Query :

My driver has ability to identity device presence (Harddisk/CD-ROM/Unknow 
device).
>From EDK2 source,"IdeMode.c" file I would like to dump those fields after 
>AtaIdentify () return status as SUCCESS.

 if (DeviceType == EfiIdeHarddisk) {
      Status = AtaIdentify (Instance, IdeChannel, IdeDevice, &Buffer, NULL);
       Print(L"AtaIdentify() : Status is %r \n", Status);   ===========>   /* 
Success in my case */
}


 Please guide me to dump ModelName,SerialNo and other fields from Buffer 
(output of ATA_CMD_IDENTIFY_DRIVE command) .


Thanks
Murali.S





________________________________
The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. L&T Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail"
*************************************************************************
 This email and attachments have been scanned for
 potential proprietary or sensitive information leakage.
 Websense Data Security, Protecting Your Information from the Inside Out.
 www.websense.com
 *************************************************************************
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to