Re: Disabling SATA hardware interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/4/06, Alan <alan@xxxxxxxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux