Subject: Re: New i2c framework
To: None <>
From: None <>
List: tech-kern
Date: 07/30/2003 09:40:49
At Wed, 30 Jul 2003 15:53:16 +0000 (UTC), "Jason Thorpe" wrote:
> > 2) How is the I2C bus probed?
> Indirect configuration.  It is not possible to do direct configuration
> of an I2C bus.

IMO -- and i've not looked at what you want -- is to allow config
files to have devices fully specified, but also allow wildcards.

I.e., some hybrid between what is normally thought of as direct
(hardware driven) and indirect (config file driven) config.

In particular, if you know that you've got a given type of board, it's
quite right for the kernel to build in the knowledge "this board
includes these on-board i2c/smbus devices," and then drive
configuration of wildcarded config file entries from that table.

Of course, it may be that one or more of those devices are optional
(stuffing options, etc.), so you still need to probe the hardware as
indirect config dies.

What you want is basically indirect config plus widlcards.  8-)