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" [off-list ref] a écrit :
On Tue, Jan 31, 2012 at 04:54:06PM +0100, Tobias Klauser wrote:
quoted
From: Frederic Lambert <redacted>
Until now we let the code in spi.c assign us the bus number if the
platform
quoted
device didn't specify its id. This patch adds the possibility to
explicitely
quoted
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