On Mon, 4 Dec 2006 15:34:09 +0200
"Thinus Viljoen" <[EMAIL PROTECTED]> 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to