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/setup-pci.c | |
parent | a02227c9774b3bff08c7f557d06247e0a03ac435 (diff) | |
download | op-kernel-dev-1785192b5310ee25165768f5bb80f13146788e3e.zip op-kernel-dev-1785192b5310ee25165768f5bb80f13146788e3e.tar.gz |
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/setup-pci.c')
0 files changed, 0 insertions, 0 deletions