Hi!
I want to send ATA command to IDE hard disk driver using ioctl with comand "HDIO_DRIVE_CMD", to do raw write to hard disk. Which Struct i should pass to ioctl call as a third argument ?
thanks
paresh
On Wed, Dec 04, 2002 at 02:38:18PM +0530, Paresh Sawant wrote:
> Hi!
> I want to send ATA command to IDE hard disk driver using ioctl
> with comand "HDIO_DRIVE_CMD", to do raw write to hard disk.
> Which Struct i should pass to ioctl call as a third argument ?
Read the source of ide_cmd_ioctl() at drivers/ide/ide-taskfile.c
Presently that is the only documentation on it.
> thanks
> paresh