linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan <alan@lxorguk.ukuu.org.uk>
To: Thinus Viljoen <thinus.viljoen@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Disabling SATA hardware interrupts
Date: Mon, 4 Dec 2006 14:47:07 +0000	[thread overview]
Message-ID: <20061204144707.2b0787f7@localhost.localdomain> (raw)
In-Reply-To: <c70dbe410612040534y6a357064m7a0d28d3d40fa4ab@mail.gmail.com>

On Mon, 4 Dec 2006 15:34:09 +0200
"Thinus Viljoen" <thinus.viljoen@gmail.com> wrote:

> How do I go about setting/clearing this nIEN bit from my own module?
> Open a handle to /dev/sda and calling some or other IOCTL, perhaps? (
> I haven't accessed the HDD on this low level before, so I would
> appreciate some details, or perhaps a small example).

The ATA layer manages nIEN per command itself so you'll need to do a
rework of parts of the ATA layer. Alternatively you could just make sure
you've flushed all outstanding I/O before doing any realtime work.


      reply	other threads:[~2006-12-04 14:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-04 11:08 Disabling SATA hardware interrupts Thinus Viljoen
2006-12-04 12:03 ` Alan
2006-12-04 13:34   ` Thinus Viljoen
2006-12-04 14:47     ` Alan [this message]

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=20061204144707.2b0787f7@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-ide@vger.kernel.org \
    --cc=thinus.viljoen@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).