From: Richard Liu <richliu@ite.techarea.org>
To: Linux Kernel Mail List <linux-kernel@vger.kernel.org>
Subject: How to use ioctl write data to ide device?
Date: Tue, 23 Jul 2002 17:53:46 +0800 [thread overview]
Message-ID: <20020723174653.4B46.RICHLIU@ite.techarea.org> (raw)
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
reply other threads:[~2002-07-23 9:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020723174653.4B46.RICHLIU@ite.techarea.org \
--to=richliu@ite.techarea.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®