[RFC 2/3] readline: add ctrl-w handling (cut-the-last-word)

2012-10-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- lib/readline.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/readline.c b/lib/readline.c index 086b7f1..37566c3 100644 --- a/lib/readline.c +++ b/lib/readline.c @@ -328,6 +328,16 @@ int readline(const char *prompt, char *buf, int len)

[RFC 3/3] readline: fix the 'new blank line at EOF' typo

2012-10-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- lib/readline.c |1 - 1 file changed, 1 deletion(-) diff --git a/lib/readline.c b/lib/readline.c index 37566c3..3fb620e 100644 --- a/lib/readline.c +++ b/lib/readline.c @@ -353,4 +353,3 @@ int readline(const char *prompt, char *buf, int len) return r

[RFC 1/3] readline: move backspace key handling to the DO_BACKSPACE macro

2012-10-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- lib/readline.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/lib/readline.c b/lib/readline.c index 5717a17..086b7f1 100644 --- a/lib/readline.c +++ b/lib/readline.c @@ -137,6 +137,18 @@ static char* hist_next(void)

[RFC 0/3] readline: add ctrl-w handling (cut-the-last-word)

2012-10-25 Thread Antony Pavlov
The popular 'bash' command interpreter has the ctrl-w keystroke for cutting the last word in the command line. This keystroke is very handy for me and I really miss it in barebox. This patch series adds ctrl-w support to barebox's readline and in addition fixes a typo. [RFC 1/3] readline: move ba

Re: [PATCH 0/2] pm9g45 fix

2012-10-25 Thread Sascha Hauer
On Thu, Oct 25, 2012 at 06:24:31PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 09:09 Tue 23 Oct , Sascha Hauer wrote: > > On Tue, Oct 23, 2012 at 08:35:03AM +0200, Jean-Christophe PLAGNIOL-VILLARD > > wrote: > > > Ping > > > > Relax. I'm still catching up my backlog. > I did nt see i

Re: [PATCH 0/2] pm9g45 fix

2012-10-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:09 Tue 23 Oct , Sascha Hauer wrote: > On Tue, Oct 23, 2012 at 08:35:03AM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Ping > > Relax. I'm still catching up my backlog. I did nt see it on the tree Best Regards, J. ___ barebox mailing

[PATCH] of: Check for NULL pointer in of_find_property

2012-10-25 Thread Sascha Hauer
The console layer calls of_device_is_stdout_path for a new console. When we are booting without devicetree then of_chosen is NULL which makes barebox crash. Check for a NULL pointer in of_find_property to prevent this. Signed-off-by: Sascha Hauer --- drivers/of/base.c |3 +++ 1 file changed,

Re: [PATCH] mtd: ubi: fix typos in comment of build.c

2012-10-25 Thread Sascha Hauer
On Thu, Oct 25, 2012 at 05:37:20PM +0200, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang Applied, thanks Sascha > --- > drivers/mtd/ubi/build.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c > index f2c8923..1ea

[PATCH] mtd: ubi: fix typos in comment of build.c

2012-10-25 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- drivers/mtd/ubi/build.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index f2c8923..1ea1209 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -701,7 +701,7 @@ static int

Re: [PATCH] net phy: poll for a link

2012-10-25 Thread Eric Bénard
Le Thu, 25 Oct 2012 11:11:06 +0200, Jean-Christophe PLAGNIOL-VILLARD a écrit : > On 11:05 Thu 25 Oct , Eric Bénard wrote: > > Le Thu, 25 Oct 2012 10:49:02 +0200, > > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > > > On 21:56 Wed 24 Oct , Eric Bénard wrote: > > > > Hi, > > > > > > >

Re: [PATCH] net phy: poll for a link

2012-10-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:05 Thu 25 Oct , Eric Bénard wrote: > Le Thu, 25 Oct 2012 10:49:02 +0200, > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > On 21:56 Wed 24 Oct , Eric Bénard wrote: > > > Hi, > > > > > > Le Wed, 24 Oct 2012 20:33:59 +0200, > > > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > >

Re: [PATCH] net phy: poll for a link

2012-10-25 Thread Eric Bénard
Le Thu, 25 Oct 2012 10:49:02 +0200, Jean-Christophe PLAGNIOL-VILLARD a écrit : > On 21:56 Wed 24 Oct , Eric Bénard wrote: > > Hi, > > > > Le Wed, 24 Oct 2012 20:33:59 +0200, > > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > > > On 20:06 Wed 24 Oct , Sascha Hauer wrote: > > > > Since

Re: [PATCH] net phy: poll for a link

2012-10-25 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:56 Wed 24 Oct , Eric Bénard wrote: > Hi, > > Le Wed, 24 Oct 2012 20:33:59 +0200, > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > On 20:06 Wed 24 Oct , Sascha Hauer wrote: > > > Since we have phylib we have no instance which polls for a link. This > > > means that network boot of