2002-12-06 05:08:29

by Paresh Sawant

[permalink] [raw]
Subject: WIN_READDMA

hi
i want to send "WIN_READDMA" ATA command to ide hard drive, i am doing ioctl call using command HDIO_DRIVE_TASK, what would be the third argument to the ioctl call ? currently i m passing following as third arg -
unsigned char args[8+512] = {WIN_READDMA,feature,sector_count,low_lba,mid_lba,high_lba,device,};

thanks
paresh