From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: Re: [PATCH V6 09/11] ACPI: introduce flag .is_master_device Date: Wed, 21 May 2014 11:52:07 +0300 Message-ID: <20140521085207.GR1651@lahna.fi.intel.com> References: <1400136256-2218-1-git-send-email-rui.zhang@intel.com> <1400136256-2218-10-git-send-email-rui.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga09.intel.com ([134.134.136.24]:36079 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbaEUIwM (ORCPT ); Wed, 21 May 2014 04:52:12 -0400 Content-Disposition: inline In-Reply-To: <1400136256-2218-10-git-send-email-rui.zhang@intel.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Zhang Rui Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com, matthew.garrett@nebula.com, rafael.j.wysocki@intel.com, dmitry.torokhov@gmail.com On Thu, May 15, 2014 at 02:44:14PM +0800, Zhang Rui wrote: > For some ACPI device objects, they represent master devices, > and their children devices are enumerated by bus controller drivers > for the buses they are on. > > In this case, we do not want to enumerate their children devices to > platform bus explicitly in acpi scan code. > > Thus a new flag .is_master_device is introduced in this patch. > > For devices with this flag set, we will not do default enumeration > for their children. Is there any particular reason we would like to enumerate everything below the first device by default?