[PATCH 0/5 v2] sandbox fix + bus

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Sep 19 10:43:32 EDT 2012


HI,

	v2:
	 - on the sandbox we register device before barebox started
	   this is working today as nothing need to be initialized before
	   regisering a device. But as I attached device to bus this will no
	   be the case anymore so fix it

	 - net/tap fix allocated data to be set to 0

The following changes since commit 4f2aa8ffb124a7f40da2a5bc1a2c225554b24bdd:

  Merge branch 'for-next/testing-menu' into next (2012-09-17 12:15:53 +0200)

are available in the git repository at:


  git://git.jcrosoft.org/barebox.git delivery/bus

for you to fetch changes up to 8802c029970c7ac43a1544c1fe17c114e69aa573:

  driver: search device and driver based on the bus instead of all (2012-09-19 22:44:16 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (5):
      sandbox: check only image option in the second getopt
      sandbox: do not register device before base is started
      net/tap: use xzalloc to allocate data
      driver: register bus
      driver: search device and driver based on the bus instead of all

 arch/sandbox/board/Makefile   |    1 +
 arch/sandbox/board/console.c  |    2 +-
 arch/sandbox/board/devices.c  |   35 +++++++++++++++++++++++++++++++++++
 arch/sandbox/board/hostfile.c |   19 +++++++++++++++++--
 arch/sandbox/os/common.c      |   12 +-----------
 drivers/base/Makefile         |    1 +
 drivers/base/bus.c            |   37 +++++++++++++++++++++++++++++++++++++
 drivers/base/driver.c         |   11 ++++++-----
 drivers/base/platform.c       |   14 ++++----------
 drivers/i2c/i2c.c             |    7 +++++++
 drivers/net/phy/phy.c         |    7 +++++++
 drivers/net/tap.c             |    4 ++--
 drivers/spi/spi.c             |    6 ++++++
 drivers/usb/core/usb.c        |    5 +++++
 fs/fs.c                       |    6 ++++++
 include/driver.h              |   20 ++++++++++++++++++++
 16 files changed, 156 insertions(+), 31 deletions(-)
 create mode 100644 arch/sandbox/board/devices.c
 create mode 100644 drivers/base/bus.c

Best Regards,
J.



More information about the barebox mailing list