Re: RFC: Mega rename of device tree routines from of_*() to dt_*()

2010-11-25 Thread Geert Uytterhoeven
uot;. Gr{oetje,eeting}s,                         Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer&quo

Re: [PATCH 1/4] of: Add support for linking device tree blobs into vmlinux

2010-12-22 Thread Geert Uytterhoeven
this series should go through the tip tree, as your primary > target seems to be x86 and patch 2/4 depends on the ce4100 code that is only > in tip. If the two lines +# device tree blob +obj-$(CONFIG_X86_INTEL_CE) += ce4100.dtb.o are removed, patch 2/4 no longer depends on the ce4100 code

Re: [PATCH] of: include errno.h

2011-10-29 Thread Geert Uytterhoeven
3 weeks after its detection in -next... > Fix this by including errno.h from of.h. > > Signed-off-by: Kalle Valo Acked-by: Geert Uytterhoeven > --- >  include/linux/of.h |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/linux/of.h b/incl

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-29 Thread Geert Uytterhoeven
ummarized: | The address to load the initrd is decided by the bootloader/user and set | at that point later in time. | The dtb should not be tied to the kernel you are booting. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge.

Re: [PATCH] of: Specify initrd location using 64-bit

2013-07-01 Thread Geert Uytterhoeven
a message and continues. And if it is not > allowed to read? It is clearly the user's fault for booting a non-PAE > kernel. That's actual the original reason: DT has it as 64 bit, and passes it to a 32 bit kernel when running in 32 bit mode without PAE. Gr{oetje,eeting}s,

Re: [PATCH V2] video: implement a simple framebuffer driver

2013-04-09 Thread Geert Uytterhoeven
bj-$(CONFIG_FB_SSD1307) += ssd1307fb.o # the test framebuffer is last obj-$(CONFIG_FB_VIRTUAL) += vfb.o Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conver

Re: [PATCH V2] video: implement a simple framebuffer driver

2013-04-11 Thread Geert Uytterhoeven
On Thu, Apr 4, 2013 at 4:39 AM, Stephen Warren wrote: > + { "r5g6b5", 16, {11, 5}, {5, 6}, {0, 5}, {0, 0} }, Why "r5g6b5" instead of "rgb565", which is what's commonly used? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- T

Re: [PATCH V2] video: implement a simple framebuffer driver

2013-05-02 Thread Geert Uytterhoeven
m memory allocator to support this, but it seemed a > little pointless to write a whole memory allocator when the existing FB > interface allows the driver to just set a struct member to the address > and be done with it. I'm also curious to see the code for the first real simplekm

[PATCH] of_net.h: Make of_get_phy_mode() return int i.s.o. const int

2013-05-03 Thread Geert Uytterhoeven
include/linux/of_net.h:16: warning: type qualifiers ignored on function return type Signed-off-by: Geert Uytterhoeven --- include/linux/of_net.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/of_net.h b/include/linux/of_net.h index 61bf53b..34597c8

Re: [PATCH] of_net.h: Make of_get_phy_mode() return int i.s.o. const int

2013-05-16 Thread Geert Uytterhoeven
On Fri, May 3, 2013 at 11:32 PM, Geert Uytterhoeven wrote: > include/linux/of_net.h:16: warning: type qualifiers ignored on function > return type > > Signed-off-by: Geert Uytterhoeven > --- > include/linux/of_net.h |4 ++-- > 1 files changed, 2 insertions(+), 2 deleti

[PATCH v2] of_net.h: Make of_get_phy_mode() return int i.s.o. const int

2013-05-16 Thread Geert Uytterhoeven
include/linux/of_net.h:16: warning: type qualifiers ignored on function return type Signed-off-by: Geert Uytterhoeven --- [v2] Update drivers/of/of_net.c, too drivers/of/of_net.c|2 +- include/linux/of_net.h |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH] video: simplefb: add mode parsing function

2013-05-23 Thread Geert Uytterhoeven
than 32 bits? IIRC, some SGI and Sun graphics cards had e.g. 80 bit pixels (incl. Z buffer). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call mys

Re: [PATCH] video: simplefb: add mode parsing function

2013-05-23 Thread Geert Uytterhoeven
On Thu, May 23, 2013 at 9:21 PM, Stephen Warren wrote: > On 05/23/2013 10:57 AM, Geert Uytterhoeven wrote: >> On Thu, May 23, 2013 at 6:27 PM, Stephen Warren >> wrote: >>>> + >>>> + cpt += field->length; >>>> + } >>

Re: [PATCH] ata: Don't use NO_IRQ in pata_of_platform driver

2011-12-03 Thread Geert Uytterhoeven
s TIMER_IRQ being zero. A quick grep found many more IRQ definitions being zero, but surprisingly the few I looked into were definitions without users (e.g. SE7343_FPGA_IRQ_MRSHPC0, ROUTE_VIA_IRQ0 aka IRQ_MB93493_VDC_ROUTE). Perhaps request_irq() should just reject zero to find all of them?

Re: [PATCH] ata: Don't use NO_IRQ in pata_of_platform driver

2011-12-05 Thread Geert Uytterhoeven
ed, and hope the compiler catches all of them (comparison always false blah blah blah)? Gr{oetje,eeting}s,                         Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hack

Re: [PATCH] ata: Don't use NO_IRQ in pata_of_platform driver

2011-12-06 Thread Geert Uytterhoeven
The (gmail damaged) patch below fixes this bug. From 46f51a2d42548358868a34df00c2a4e47bbdf691 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Tue, 6 Dec 2011 11:55:05 +0100 Subject: [PATCH] /proc/interrupts: irq zero is invalid As zero is an invalid irq number, show_interrupts() should not try to print it. Just