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

From: Matti Aarnio (matti.aarnio@zmailer.org)
Date: Wed Dec 04 2002 - 04:25:36 EST


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/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:18 EST