linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Martins Krikis <mkrikis@yahoo.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
	alan@lxorguk.ukuu.org.uk
Subject: Re: [PATCH 2.4.29] libata: fix ata_piix on ICH6R in RAID mode
Date: Sun, 06 Feb 2005 00:06:59 -0500	[thread overview]
Message-ID: <4205A5F3.9050804@pobox.com> (raw)
In-Reply-To: <87d5vjtzf5.fsf@yahoo.com>

Martins Krikis wrote:
> --- linux-2.4.29/drivers/scsi/libata-core.c	2005-01-25 20:55:41.000000000 -0500
> +++ linux-2.4.29-iswraid/drivers/scsi/libata-core.c	2005-02-01 20:23:51.000000000 -0500
> @@ -3597,7 +3597,8 @@ int ata_pci_init_one (struct pci_dev *pd
>  	else
>  		port[1] = port[0];
>  
> -	if ((port[0]->host_flags & ATA_FLAG_NO_LEGACY) == 0) {
> +	if ((port[0]->host_flags & ATA_FLAG_NO_LEGACY) == 0
> +	    && (pdev->class >> 8) == PCI_CLASS_STORAGE_IDE) {
>  		/* TODO: support transitioning to native mode? */
>  		pci_read_config_byte(pdev, PCI_CLASS_PROG, &tmp8);
>  		mask = (1 << 2) | (1 << 0);

applied


      reply	other threads:[~2005-02-06  5:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-02  3:26 [PATCH 2.4.29] libata: fix ata_piix on ICH6R in RAID mode Martins Krikis
2005-02-06  5:06 ` Jeff Garzik [this message]

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=4205A5F3.9050804@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkrikis@yahoo.com \
    /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).