mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to use ioctl write data to ide device?
@ 2002-07-23  9:53 Richard Liu
  0 siblings, 0 replies; only message in thread
From: Richard Liu @ 2002-07-23  9:53 UTC (permalink / raw)
  To: Linux Kernel Mail List

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-23  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-23  9:53 How to use ioctl write data to ide device? Richard Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®