[PATCH] Fix and clean up quirk_intel_ide_combined() configuration
authorJeff Garzik <jgarzik@pobox.com>
Mon, 17 Oct 2005 17:01:57 +0000 (13:01 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 17 Oct 2005 22:01:53 +0000 (15:01 -0700)
commitcc675230a9ca17010694bc8bd3c69ca9adf2efef
tree338784dc40e0a3ec5f96f5a76c267846ad2f5e8d
parent47d6b08334a43fafa61a587f721fa21ef65d81be
[PATCH] Fix and clean up quirk_intel_ide_combined() configuration

This change makes quirk_intel_ide_combined() dependent on the precise
conditions under which it is needed:

* IDE is built in
* IDE SATA option is not set
* ata_piix or ahci drivers are enabled

This fixes an issue where some modular configurations would not cause
the quirk to be enabled.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Linus torvalds <torvalds@osdl.org>
drivers/pci/quirks.c
drivers/scsi/Kconfig