Re: struct to be passed to ioctl call for commanf HDIO_DRIVE_CMD

Matti Aarnio (matti.aarnio@zmailer.org)
Wed, 4 Dec 2002 11:25:36 +0200


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/