[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140416204955.GC26632@htj.dyndns.org>
Date: Wed, 16 Apr 2014 16:49:55 -0400
From: Tejun Heo <tj@...nel.org>
To: Kefeng Wang <wangkefeng.wang@...wei.com>
Cc: Hans de Goede <hdegoede@...hat.com>, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org, guohanjun@...wei.com,
Kefeng Wang <kefeng.wang@...aro.org>,
Haojian Zhuang <haojian.zhuang@...aro.org>
Subject: Re: [PATCH V2 1/2] ata: ahci: append new hflag AHCI_HFLAG_NO_FBS
On Thu, Apr 10, 2014 at 01:24:27PM +0800, Kefeng Wang wrote:
> diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
> index 6bd4f66..573edb3 100644
> --- a/drivers/ata/libahci.c
> +++ b/drivers/ata/libahci.c
> @@ -452,6 +452,11 @@ void ahci_save_initial_config(struct device *dev,
> cap &= ~HOST_CAP_SNTF;
> }
>
> + if ((cap & HOST_CAP_FBS) && (hpriv->flags & AHCI_HFLAG_NO_FBS)) {
> + dev_info(dev, "controller can't do FBS, turning off CAP_FBS\n");
> + cap &= ~HOST_CAP_FBS;
> + }
Can you please put this chunk after YES_FBS?
> if (!(cap & HOST_CAP_FBS) && (hpriv->flags & AHCI_HFLAG_YES_FBS)) {
> dev_info(dev, "controller can do FBS, turning on CAP_FBS\n");
> cap |= HOST_CAP_FBS;
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists