On Tue, 27 Jul 2010 15:27:50 +0800 David Brownell <[email protected]> wrote:
> > > --- On Tue, 7/27/10, Feng Tang <[email protected]> wrote: > > > What I want to say is the matching mechanism between spi > > board info > > and spi master, currently they use bus number to match, but > > there is > > a ordering limit now. For general device/driver matching in > > linux > > device model, there is no such limit. Is it > > possible to remove the order limit? > > > I have no idea what you mean. Are you proposing > to change how SPI busses are identified? Lots of > busses are numbered, SPI isn't unique; a device on > PCI bus #2 is different from one on bus #1, etc. > > What do you mean by "order limit" ???? > In current spi core, spi_register_info() has to be called before the spi controller driver call spi_register_master(), then these board info will be matched and used to create a new spi device. But if spi_register_info() are called after its related spi master is registered, then these info will be ignored and never get to create a new spi device. This is the "order limit" I want to describe :) Thanks, Feng ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
