Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262650AbUDEOig (ORCPT ); Mon, 5 Apr 2004 10:38:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262673AbUDEOig (ORCPT ); Mon, 5 Apr 2004 10:38:36 -0400 Received: from cardinal.mail.pas.earthlink.net ([207.217.121.226]:989 "EHLO cardinal.mail.pas.earthlink.net") by vger.kernel.org with ESMTP id S262650AbUDEOiC (ORCPT ); Mon, 5 Apr 2004 10:38:02 -0400 Message-ID: <40716F40.4070609@penguincomputing.com> Date: Mon, 05 Apr 2004 07:37:52 -0700 From: Philip Pokorny User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adrian Cox CC: sensors@Stimpy.netroedge.com, linux-kernel@vger.kernel.org, Michael Hunold , Greg KH Subject: Re: [RFC|PATCH][2.6] Additional i2c adapter flags for i2c client isolation References: <40686476.7020603@convergence.de> <406EBA38.1030203@gmx.de> <20040403163031.122b5df8.khali@linux-fr.org> <1081163597.607.15.camel@newt> In-Reply-To: <1081163597.607.15.camel@newt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 38 Adrian Cox wrote: >On Sat, 2004-04-03 at 15:30, Jean Delvare wrote: > > > >>I'm not sure that the function you propose would be really useful. I >>guess that most people don't load i2c chip drivers they don't need. The >>class filter you propose, added to the different I2C addresses, should >>do the rest. >> >> > >What about using two DVB cards of different models to record off one >multiplex while watching another? > >Only an explicit list of which chips should be probed on each I2C bus is >safe for this sort of system. > > > You might be able to use the ignore= and force= parameters to the i2c drivers to accomplish this. With ignore you can prevent a driver from scanning an address (specify -1 as the bus to ignore that address on all busses) and with force you can specify which bus/address to find the specific chip. I haven't read the code in detail yet, but if force doesn't already override ignore, it probably should. I can't think of reason why you would want ignore to override a force directive. :v) - 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/