linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Berck E. Nash" <flyboy@gmail.com>
To: Tejun Heo <htejun@gmail.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: libata Intel PIIX/ICH fails to detect both PATA drives, spews ACPI errors
Date: Sat, 28 Apr 2007 10:20:16 -0600	[thread overview]
Message-ID: <46337440.9040509@gmail.com> (raw)
In-Reply-To: <45F546C0.1030502@gmail.com>

Tejun Heo wrote:
>>>>> Berck E. Nash wrote:
>>>>>> Testing the new libata ICH PATA drivers.  There's one PATA port on this
>>>>>> chip, and I've got two optical drives connected to it.  The master drive
>>>>>> fails to detect.  The slave detects and works properly.
>>>>> Can you test 2.6.20.1 and post full dmesg?
>>>> Here's 2.6.20.2...  No ACPI errors, but still doesn't detect both drives.
>>> Please apply the attached patch and see if it works.  If it works,
>>> please post the result of hdparm -I /dev/srX of the optical drive.  Thanks.

> ------------------------------------------------------------------------
> 
> diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
> index dc42ba1..6e7775a 100644
> --- a/drivers/ata/ata_piix.c
> +++ b/drivers/ata/ata_piix.c
> @@ -105,7 +105,8 @@ enum {
>  	PIIX_FLAG_AHCI		= (1 << 27), /* AHCI possible */
>  	PIIX_FLAG_CHECKINTR	= (1 << 28), /* make sure PCI INTx enabled */
>  
> -	PIIX_PATA_FLAGS		= ATA_FLAG_SLAVE_POSS,
> +	PIIX_PATA_FLAGS		= ATA_FLAG_SLAVE_POSS |
> +				  ATA_FLAG_SETXFER_POLLING,
>  	PIIX_SATA_FLAGS		= ATA_FLAG_SATA | PIIX_FLAG_CHECKINTR,
>  
>  	/* combined mode.  if set, PATA is channel 0.

Since this patch fixes the problem, is there some reason it still hasn't
been included?

Berck

  parent reply	other threads:[~2007-04-28 16:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 16:19 libata Intel PIIX/ICH fails to detect both PATA drives, spews ACPI errors Berck E. Nash
2007-02-27 15:01 ` Tejun Heo
2007-03-11 12:40   ` Berck E. Nash
2007-03-12  7:09     ` Tejun Heo
2007-03-12 12:02       ` Berck E. Nash
2007-03-12 12:25         ` Tejun Heo
2007-03-12 23:40           ` Berck E. Nash
2007-03-13  1:53             ` Mark Lord
2007-04-28 16:20           ` Berck E. Nash [this message]
2007-03-14  1:46       ` Berck E. Nash

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46337440.9040509@gmail.com \
    --to=flyboy@gmail.com \
    --cc=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).