Hello!
It seems that there might be some problem with relocation on P2020RDB-PC
board when U-Boot is compiled with a relatively new toolchain. It is hard
to detect because it seems that the relocation leaves only some constants
on their old addresses but otherwise it works fine.
I have a Tur
On Thu, Jul 12, 2012 at 10:22 AM, Michal Simek wrote:
>
>
>> thats what platform_data is for, if i understand what you mean
>>
>
> That's my understanding too. But the point is how it is passed to the
> driver itself
> because I didn't see any pointer to it there.
>
>
I had an impression that plat
Hello!
I am working on early_malloc() for U-Boot Driver Model (this malloc is
going to serve for internal DM structures during early init and it has it's
minimalistic heap in global data).
My question is how to correctly switch from early allocator to full-scale
malloc and when to enable caches.
Hello Marek,
On Sat, Jul 28, 2012 at 10:36 PM, Marek Vasut wrote:
> I think we should still mark early patches as RFC.
Sure...
> > +#include
>
> Do we need early_malloc.h at all? malloc.h won't cut it?
My intention was to keep the early_malloc in separate instance from
real malloc. Although t
Hi Graeme,
On Sun, Jul 29, 2012 at 12:53 PM, Graeme Russ wrote:
> Not exactly on-topic, but I really hope that everything is wrapped so a
> simple call to malloc() will work pre-relocation. Of course, everything you
> malloc pre-relocation will have to be re-malloc'd and relocated after
> reloca
Hello all!
In u-boot-dm mailinglist we had a discussion about implementation of
early_malloc (not only) for U-Boot Driver Model. The intention is to
have a simple malloc() function in the early stage of init before
relocation and before RAM is up and running. There was an experimental
patch that a
Hi Graeme,
On Wed, Aug 1, 2012 at 4:57 AM, Graeme Russ wrote:
> More specifically, we must not assume that we have a single, contiguous
> region of memory capable of holding pre-relocations early stack,
> pre-relocation global data, pre-console buffer, and early (pre-relocation)
> heap.
Agreed.
Dear Wolfgang,
On Tue, Jul 31, 2012 at 9:52 PM, Wolfgang Denk wrote:
>> Can/should we use some existing mechanism? Or would it be considered a
>> viable option to choose different beginning address for early heap,
>> use it (in architecture-specific way) and keep the pointer to the
>> beginning
Dear Wolfgang,
On Wed, Aug 1, 2012 at 9:09 PM, Wolfgang Denk wrote:
> Hm... I have to admit that I am not really happy about such an
> "explanation". The statement that "other guys" want something is not
> exactly an explanation of a concept that I can understand, and without
> being able to un
Dear Wolfgang,
On Tue, Aug 7, 2012 at 11:07 PM, Wolfgang Denk wrote:
> But "relocation" means that you have to add the address difference
> (aka relocation offset) to _all_ pointers pointing into this area.
> And there is no way to keep track of _all_ such pointers.
Sure there is no way to do r
Hi Graeme,
On Thu, Aug 9, 2012 at 1:33 AM, Graeme Russ wrote:
>
> OK, this got me to thinking about the 'relocation' function in the driver
> structure and how we can make the early heap more generic. My thoughts tie
> into the DM tree structure being discussed in another thread...
>
[snip]
>
>
Hello Marek,
On Sun, Aug 12, 2012 at 1:16 AM, Marek Vasut wrote:
>
> So ... we should aim for firing up the real mallocator as soon as possible and
> maybe implement discontigmem (sparsemem) into it, so we don't have to bother
> with relocating pointers maybe?
>
> The only problem I see is platfo
On Tue, Aug 14, 2012 at 3:54 PM, Graeme Russ wrote:
>> dm_malloc you mean? I'm not happy about it, maybe Graeme can pour in some
>> crazy
>> juice in our direction again?
>
> I don't like the idea of dm_malloc() either, but it may be the only way to
> get this past Wolfgang in the initial pass..
Hello Graeme!
On Fri, Aug 17, 2012 at 3:15 AM, Graeme Russ wrote:
> dm_malloc(bytes, driver *)
> |
> +-> early_malloc(bytes, reloc_helper *) /* Pre-Relocation */
> | |
> | +->register_helper(reloc_helper *)
> | |
> | +->pre_reloc_malloc(size_t bytes)
> |
> +-> mal
Modular early_malloc for DM with support for more heaps and lightweight
first heap on stack.
(RFC. Not intended for merging!)
Signed-off-by: Tomas Hlavacek
---
arch/arm/include/asm/global_data.h|1 +
arch/arm/lib/board.c |5 ++
arch/avr32/include/asm
collect the feedback.
Tomas
On Mon, Aug 27, 2012 at 2:18 PM, Marek Vasut wrote:
> Dear Tomas Hlavacek,
>
>> Modular early_malloc for DM with support for more heaps and lightweight
>> first heap on stack.
>>
>> (RFC. Not intended for merging!)
>>
>> Signed
Modular early_malloc for DM with support for more heaps and lightweight
first heap on stack.
(Not intended for merging!)
Signed-off-by: Tomas Hlavacek
---
arch/arm/include/asm/global_data.h|1 +
arch/arm/lib/board.c |5 ++
arch/avr32/include/asm
early_malloc for DM with support for more heaps and lightweight
first heap on stack.
Adaptation layer for seamless calling of early_malloc or dlmalloc from
DM based on init stage added (dmmalloc() and related functions).
Signed-off-by: Tomas Hlavacek
---
arch/arm/include/asm/config.h
early_malloc for DM with support for more heaps and lightweight
first heap in the same memory as an early stack.
Adaptation layer for seamless calling of early_malloc or dlmalloc from
DM based on init stage added (dmmalloc() and related functions).
Signed-off-by: Tomas Hlavacek
---
arch/arm
Hello all,
I have sent a new version. Although I tried to take into account all
the opinions and comments I might have missed something.
On Wed, Sep 19, 2012 at 1:29 AM, Graeme Russ wrote:
>>
>> I'd say, pull out the modification of global data into separate patch and
>> put it
>> before this p
Hello Marek,
On Sat, Sep 22, 2012 at 2:28 AM, Marek Vasut wrote:
> Dear Tomas Hlavacek,
>
>> early_malloc for DM with support for more heaps and lightweight
>> first heap in the same memory as an early stack.
>>
>> Adaptation layer for seamless calling of early
early_malloc for DM with support for more heaps and lightweight
first heap in the same memory as an early stack.
Adaptation layer for seamless calling of early_malloc or dlmalloc from
DM based on init stage added (dmmalloc() and related functions).
Signed-off-by: Tomas Hlavacek
---
Changelog
Hello!
On Sun, Sep 23, 2012 at 3:06 PM, Graeme Russ wrote:
>
> On Sep 23, 2012 8:09 AM, "Tomas Hlavacek" wrote:
>>
>> early_malloc for DM with support for more heaps and lightweight
>> first heap in the same memory as an early stack.
>>
>> Adaptat
early_malloc for DM with support for more heaps and lightweight
first heap in the same memory as an early stack.
Adaptation layer for seamless calling of early_malloc or dlmalloc from
DM based on init stage added (dmmalloc() and related functions).
Signed-off-by: Tomas Hlavacek
---
Changelog
early_malloc for DM with support for more heaps and lightweight
first heap in the same memory as an early stack.
Adaptation layer for seamless calling of early_malloc or dlmalloc from
DM based on init stage added (dmmalloc() and related functions).
Signed-off-by: Tomas Hlavacek
---
Changelog
Dear Wolfgang Denk,
On Sun, Sep 23, 2012 at 6:32 PM, Wolfgang Denk wrote:
>>
>> Changelog since v7:
>> dmcalloc() implmentation added.
>> Comments added to header.
>
> Your change log does not make much sense to me. It appears there has
> been some dmcalloc() implementation already in v5 (and ee
Hi Graeme!
On Mon, Sep 24, 2012 at 2:00 AM, Graeme Russ wrote:
> Hi Tomas,
>
> On Mon, Sep 24, 2012 at 2:15 AM, Tomas Hlavacek wrote:
>> early_malloc for DM with support for more heaps and lightweight
>> first heap in the same memory as an early stack.
>>
>&
Hello Marek,
On Mon, Sep 24, 2012 at 1:11 AM, Marek Vasut wrote:
> Dear Tomas Hlavacek,
>
> [..]
>> +
>> + if (early_malloc_active()) {
>> + addr = early_malloc(size);
>> + for (i=0; i> + addr[i] =
Hello Graeme!
On Tue, Sep 25, 2012 at 2:37 AM, Graeme Russ wrote:
> Hi Marek,
[...]
> The last two are NOPs for early heap as we have no way to track free'd blocks
>
> Keep in mind that 'real' realloc() has access to information providing
> the size of the source block of allocated memory, so i
Hello Graeme,
On Wed, Sep 26, 2012 at 1:04 AM, Graeme Russ wrote:
> Hi Tomas
>
> On Tue, Sep 25, 2012 at 7:09 PM, Graeme Russ wrote:
>
>> We should implement each of malloc(), free(), calloc(), and realloc().
>>
>> Don't worry about reclaiming and reusing space with a proper free()
>> implementa
calls - dmmalloc, dmfree, dmrealloc and dmcalloc.
Signed-off-by: Tomas Hlavacek
---
Changes in v9:
- Rework early_malloc to keep track of allocated block size.
- Add early_free and dmfree functions.
- Rework dmrealloc.
- Add kerneldoc comments to dmmalloc.h.
Changes in v8
Hello Graeme,
On Thu, Oct 25, 2012 at 3:40 AM, Graeme Russ wrote:
>> diff --git a/arch/arm/include/asm/global_data.h
>> b/arch/arm/include/asm/global_data.h
>> index 2b9af93..9045829 100644
>> --- a/arch/arm/include/asm/global_data.h
>> +++ b/arch/arm/include/asm/global_data.h
>> @@ -82,6 +82,9
calls - dmmalloc, dmfree, dmrealloc and dmcalloc.
Signed-off-by: Tomas Hlavacek
---
Changes in v10:
- Change GD type to struct early_heap_header *.
- Move dmmalloc, dmfree, ... function from .h to dmmalloc.c .
- Rework early_malloc_active() to use new GD_FLG_HEAP_INIT flag.
- Add
ops function pointers by static struct.
3) Do minor style cleanup.
Tomas Hlavacek (50):
net: dm: Pull out ops from struct eth_device
net: 4xx_enet: Pull out init of struct eth_ops
net: altera_tse: Pull out init of struct eth_ops
net: dm9000x: Pull out init of struct eth_ops
net
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/4xx_enet.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/armada100_fec.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/altera_tse.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/dm9000x.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/at91_emac.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/bfin_mac.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/ax88180.c | 13 +
1 file changed, 9 insertions(+), 4 deletions
ops functions stored in a separate static
structure. The structure then will be passed to the DM driver instance on
driver init.
Signed-off-by: Tomas Hlavacek
---
board/davinci/da8xxevm/da830evm.c |2 +-
drivers/net/4xx_enet.c|8
drivers/net/altera_tse.c
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/dnet.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/cs8900.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/cpsw.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/calxedaxgmac.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/designware.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/ep93xx_eth.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/ethoc.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/fec_mxc.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/enc28j60.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/davinci_emac.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/eepro100.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/greth.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/dc2114x.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/ftgmac100.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/e1000.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/pcnet.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/fsl_mcdmafec.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/lan91c96.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/macb.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/inca-ip_sw.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/plb2800_eth.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/rtl8139.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/uli526x.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/smc911x.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/rtl8169.c | 13 +
1 file changed, 9 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/xilinx_emaclite.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/zynq_gem.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/tsec.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/tsi108_eth.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/smc9.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/xilinx_ll_temac.c | 27 ---
1 file changed, 20 insertions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/ks8695eth.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/xilinx_axi_emac.c | 15 ++-
1 file changed, 10 insertions(+), 5
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/sh_eth.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/mpc512x_fec.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/mcffec.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/ne2000_base.c | 12
1 file changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/natsemi.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/mpc5xxx_fec.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/mvgbe.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/ns8382x.c | 13 +
1 file changed, 9 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/npe/npe.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff
Dear Wolfgang,
On Sat, Nov 3, 2012 at 4:09 PM, Wolfgang Denk wrote:
> Dear Tomas Hlavacek,
>
> In message <1351876722-5183-1-git-send-email-tmshl...@gmail.com> you wrote:
>> This patchset is a first stage of preparation of the net subsystem
>> for the driver mo
Hello Joe!
On Wed, Nov 14, 2012 at 1:06 AM, Joe Hershberger
wrote:
> Hi Tomas,
>
> On Sat, Nov 3, 2012 at 6:23 PM, Tomas Hlavacek wrote:
>> Dear Wolfgang,
>>
>> On Sat, Nov 3, 2012 at 4:09 PM, Wolfgang Denk wrote:
>>> Dear Tomas Hlavacek,
>>>
>
compiled: 623
MAKEALL powepc (67/67 applied):
Boards compiled: 623
Tomas Hlavacek (67):
net: dm: Pull out ops from struct eth_device
net: 4xx_enet: Pull out init of struct eth_ops
net: altera_tse: Pull out init of struct eth_ops
net: dm9000x: Pull out init of struct eth_ops
net
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/armada100_fec.c | 12
1 files changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/dm9000x.c | 12
1 files changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/altera_tse.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/bfin_mac.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/cs8900.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff
ops functions stored in a separate static
structure. The structure then will be passed to the DM driver instance on
driver init.
Signed-off-by: Tomas Hlavacek
---
arch/mips/cpu/mips32/au1x00/au1x00_eth.c | 10 +-
arch/powerpc/cpu/mpc8220/fec.c |8
arch/powerpc/cpu
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/calxedaxgmac.c | 14 ++
1 files changed, 10 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/davinci_emac.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/at91_emac.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/4xx_enet.c | 12
1 files changed, 8 insertions(+), 4 deletions
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/dnet.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/e1000.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff
Add static struct eth_ops and set ops function pointers statically.
Remove setting eth_ops members dynamically.
This is a step toward converting the driver for DM.
Signed-off-by: Tomas Hlavacek
---
drivers/net/designware.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions
1 - 100 of 156 matches
Mail list logo