diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 22:39:32 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-10 22:39:32 +0200 |
commit | 1785192b5310ee25165768f5bb80f13146788e3e (patch) | |
tree | 526b0eb23c057b47fd5cdc6389808eba7f55faf0 /drivers/ide/pci/siimage.c | |
parent | ide: lba_capacity_is_ok() -> ata_id_is_lba_capacity_ok() (diff) | |
download | linux-1785192b5310ee25165768f5bb80f13146788e3e.tar.xz linux-1785192b5310ee25165768f5bb80f13146788e3e.zip |
hpt366: add hpt3xx_disable_fast_irq() helper
* Factor out disabling of "fast interrupt" prediction from
init_hwif_hpt366() to hpt3xx_disable_fast_irq() helper.
* Use hpt3xx_disable_fast_irq() in ->init_chipset instead of
->init_hwif method.
This is a preparation for adding proper PCI PM support.
While at it:
* Cache chip type in chip_type variable in hpt3xx_disable_fast_irq().
There should be no functional changes caused by this patch.
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/siimage.c')
0 files changed, 0 insertions, 0 deletions