From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/5 v2] sandbox fix + bus
Date: Wed, 19 Sep 2012 16:43:32 +0200 [thread overview]
Message-ID: <20120919144332.GX25990@game.jcrosoft.org> (raw)
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.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-09-19 14:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 14:43 Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-09-19 14:47 ` [PATCH 1/5] sandbox: check only image option in the second getopt Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 14:47 ` [PATCH 2/5] sandbox: do not register device before base is started Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 17:41 ` Sascha Hauer
2012-09-20 5:35 ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 14:47 ` [PATCH 3/5] net/tap: use xzalloc to allocate data Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 14:47 ` [PATCH 4/5] driver: register bus Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 14:47 ` [PATCH 5/5] driver: search device and driver based on the bus instead of all Jean-Christophe PLAGNIOL-VILLARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120919144332.GX25990@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox