]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: fix ide_intr() for non-PCI devices and CONFIG_BLK_DEV_IDEPCI=y
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:31 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:31 +0000 (23:09 +0100)
commit425afb61032a245f53320b7efa0f0dfd7a23f87f
treea529125e82489111a286ada3c456cfffcd6acbe3
parent2be564b03483e57dc0efbd91d91393665caa5aa4
ide: fix ide_intr() for non-PCI devices and CONFIG_BLK_DEV_IDEPCI=y

'hwif->pci_dev && !hwif->pci_dev->vendor' condition is never true,
check for 'hwif->chipset != ide_pci' instead.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c