[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111016023943.GA3787@suse.de>
Date: Sat, 15 Oct 2011 19:39:43 -0700
From: Greg KH <gregkh@...e.de>
To: Yinghai Lu <yinghai.lu@...cle.com>
Cc: Jesse Barnes <jbarnes@...tuousgeek.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 8/8] PCI, sys: only create rescan under
/sys/.../pci/devices/... for pci bridges
On Sat, Oct 15, 2011 at 06:32:38PM -0700, Yinghai Lu wrote:
>
> Current code will create rescan for every pci device,
> that is not right. the device is already there, there is no reason to rescan it.
>
> So only have rescan for pci bridges. less confusing
>
> Need to add cond to be new member of device_attribute.
> device_add_attrs will check cond to see if need to create the attr.
No, we already have a way to do this, this is not acceptable, sorry.
greg k-h
--
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