* struct to be passed to ioctl call for commanf HDIO_DRIVE_CMD
@ 2002-12-04 9:08 Paresh Sawant
2002-12-04 9:25 ` Matti Aarnio
0 siblings, 1 reply; 2+ messages in thread
From: Paresh Sawant @ 2002-12-04 9:08 UTC (permalink / raw)
To: Majordomo; +Cc: linux-kernel, linux-ide@vger.kernel.org, linux-c-programming
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: struct to be passed to ioctl call for commanf HDIO_DRIVE_CMD
2002-12-04 9:08 struct to be passed to ioctl call for commanf HDIO_DRIVE_CMD Paresh Sawant
@ 2002-12-04 9:25 ` Matti Aarnio
0 siblings, 0 replies; 2+ messages in thread
From: Matti Aarnio @ 2002-12-04 9:25 UTC (permalink / raw)
To: Paresh Sawant; +Cc: linux-kernel, linux-ide, linux-c-programming
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-04 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 9:08 struct to be passed to ioctl call for commanf HDIO_DRIVE_CMD Paresh Sawant
2002-12-04 9:25 ` Matti Aarnio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).