How to use ioctl write data to ide device?

From: Richard Liu (richliu@ite.techarea.org)
Date: Tue Jul 23 2002 - 04:53:46 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:42 EST