How to use ioctl write data to ide device?

Richard Liu (richliu@ite.techarea.org)
Tue, 23 Jul 2002 17:53:46 +0800


Hi all:

I have a ide device which need use special command to configure it.
I want to write a user space program to control it.

so I try to use ioctl send my command, but after I send IDE command
I must send 512byte to device.

does anyone know how to write data from user space?

and I have another question,
what is "hwif->drives[0].unmask = 1;", how to use it correctly?

--
Richard Liu

- 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/