Because this bus number is used to create the device name on /sys/bus/spi/..., name that the user app must know to work with.
Le 1 févr. 2012 14:55, "Mark Brown" <[email protected]> a écrit : > > On Tue, Jan 31, 2012 at 04:54:06PM +0100, Tobias Klauser wrote: > > From: Frederic Lambert <[email protected]> > > > > Until now we let the code in spi.c assign us the bus number if the platform > > device didn't specify its id. This patch adds the possibility to explicitely > > specify the bus number via device tree. > > Why would this be required? Bus numbers are a Linux specific thing... ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
