Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754329AbYHVOdj (ORCPT ); Fri, 22 Aug 2008 10:33:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752795AbYHVOdc (ORCPT ); Fri, 22 Aug 2008 10:33:32 -0400 Received: from py-out-1112.google.com ([64.233.166.179]:14441 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752146AbYHVOdb (ORCPT ); Fri, 22 Aug 2008 10:33:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jOlrTKV5CaYDdZn4R7rdYQkS5DAqRELnlQdK9hj+56Pn7/T+mV16Oc1A6aXgMqXvdp Y0M1DBuTBIPuo2iAHi6ahWeyqJlbB0p3AUqIJuc+zfqbdpwCnpegzf6IGGExehfmv4ik rr3DM5Pf0moHgUGW+hVigagQ/d2COzlKKGlJU= Message-ID: <9e4733910808220733o7a8904do9dec947dde7d09c0@mail.gmail.com> Date: Fri, 22 Aug 2008 10:33:30 -0400 From: "Jon Smirl" To: "Eric Miao" Subject: Re: Fundamental Design Flaw of the Device Driver Model? Cc: LKML In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 794 Lines: 20 On 8/22/08, Eric Miao wrote: ====================================================== > This, however, creates many questions you have to face with: > > 1. on what bus shall these sub-devices be? > ** this is the reason I choose to use "platform_device", at least they > can reside on the platform_bus_type, thus platform_driver can be used > for this sub-device Another option is making your own bus. If I understand your hardware it effectively has an internal bus. -- Jon Smirl jonsmirl@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/