
On Thu, 19 Feb 2009, Wolfgang Denk wrote:
Dear ksi@koi8.net,
In message Pine.LNX.4.64ksi.0902191149360.18501@home-gw.koi8.net you wrote:
For what you will do this, when you can;t use the adapter, when running from flash? See Later, why you cannot use it.
Using multiple adapters while running from flash is an exception. I can let myself call adapter-specific functions directly if needed, without changing busses.
Maybe we all can save some time here?
For the following discussion, please let's assume that we have reached an agreement that we do NOT support multiple adapters while running from flash.
OK? Thanks.
As a matter of fact I wasn't going to support it either :) That bus_num variable is not writable before relocation and I deliberately made i2c_set_bus() fail when running from flash.
But if somebody wants to use several adapters it can do it by calling adapter methods directly. This provides necessary means for a simple hack if a board or two would require such access thus saving us from extensive and complex hack. But those are clear exceptions and they are NOT covered by regular API.
--- ****************************************************************** * KSI@home KOI8 Net < > The impossible we do immediately. * * Las Vegas NV, USA < > Miracles require 24-hour notice. * ******************************************************************