On Mon, 17 Oct 2005 13:01:57 -0400 Jeff Garzik wrote: > Here's a patch for the quirk. I'll split this off from the sata-menu > discussion. Jesse, I presume this also fixes the problem for you? > > > 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 <[email protected]> > +config SCSI_SATA_INTEL_COMBINED > + bool > + depends on IDE=y && !BLK_DEV_IDE_SATA && (SCSI_SATA_AHCI || SCSI_ATA_PIIX) > + default y The IDE=y part seems to be incorrect - quirk_intel_ide_combined() is needed even with modular IDE. Without this quirk you will get one of these configurations depending on the module load order: 1) ata_piix loads first - it grabs the whole controller, including the PATA port; the IDE module loaded later finds nothing. 2) IDE modules are loaded first - without the quirk IDE drivers will grab the whole controller, including the SATA part. The binding you get with builtin IDE (ata_piix/ahci for SATA, generic IDE driver for PATA) would be impossible to get with modular IDE without the quirk, which does not seem to be good...
Attachment:
pgpY34lYbxu7H.pgp
Description: PGP signature
- Follow-Ups:
- Re: [PATCH] libata: fix broken Kconfig setup
- From: Jeff Garzik <[email protected]>
- Re: [PATCH] libata: fix broken Kconfig setup
- References:
- [PATCH] libata: fix broken Kconfig setup
- From: Jeff Garzik <[email protected]>
- Re: [PATCH] libata: fix broken Kconfig setup
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] libata: fix broken Kconfig setup
- From: Jeff Garzik <[email protected]>
- Re: [PATCH] libata: fix broken Kconfig setup
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] libata: fix broken Kconfig setup
- From: Jeff Garzik <[email protected]>
- Re: [PATCH] libata: fix broken Kconfig setup
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] libata: fix broken Kconfig setup
- From: Jeff Garzik <[email protected]>
- [PATCH] libata: fix broken Kconfig setup
- Prev by Date: Re: [PATCH] Adaptive read-ahead v4
- Next by Date: Re: [PATCH] disable PREEMPT_BKL per default
- Previous by thread: Re: [PATCH] libata: fix broken Kconfig setup
- Next by thread: Re: [PATCH] libata: fix broken Kconfig setup
- Index(es):