From: "Thinus Viljoen" <thinus.viljoen@gmail.com>
To: Alan <alan@lxorguk.ukuu.org.uk>
Cc: linux-ide@vger.kernel.org
Subject: Re: Disabling SATA hardware interrupts
Date: Mon, 4 Dec 2006 15:34:09 +0200 [thread overview]
Message-ID: <c70dbe410612040534y6a357064m7a0d28d3d40fa4ab@mail.gmail.com> (raw)
In-Reply-To: <20061204120350.3bbd520d@localhost.localdomain>
On 12/4/06, Alan <alan@lxorguk.ukuu.org.uk> wrote:
>
> The nIEN bit in the device registers control interrupt generation on ATA
> devices. However ATA devices don't generate interrupts except on command
> completion or during command processing so if you have no I/O outstanding
> you won't have any interrupts anyway.
>
> With funky new stuff like AHCI and NCQ this isn't so simple but for
> simple ATA as with the ata_piix driver it is.
>
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).
Thanks
Thinus
next prev parent reply other threads:[~2006-12-04 13:34 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 [this message]
2006-12-04 14:47 ` Alan
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=c70dbe410612040534y6a357064m7a0d28d3d40fa4ab@mail.gmail.com \
--to=thinus.viljoen@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).