22 Jul, 2016

1 commit

  • When CONFIG_API is selected with DM_ETH this
    error is present:
    api/api_net.c: In function 'dev_enum_net':
    api/api_net.c:61:35: warning: initialization from incompatible pointer
    type
    struct eth_device *eth_current = eth_get_dev();
    ^
    api/api_net.c:68:39: error: dereferencing pointer to incomplete type
    memcpy(di->di_net.hwaddr, eth_current->enetaddr, 6);
    ^
    Disable api_net functions when ETH_DM is selected.

    Signed-off-by: Chris Johns
    Signed-off-by: Michal Simek

    Michal Simek
     

19 Apr, 2015

1 commit

  • This value is not used by the network stack and is available in the
    global data, so stop passing it around. For the one legacy function
    that still expects it (init op on old Ethernet drivers) pass in the
    global pointer version directly to avoid changing that interface.

    Signed-off-by: Joe Hershberger
    Reported-by: Simon Glass
    Reviewed-by: Simon Glass
    Signed-off-by: Simon Glass
    (Trival fix to remove an unneeded variable declaration in 4xx_enet.c)

    Joe Hershberger
     

22 Aug, 2014

1 commit


24 Jul, 2013

1 commit


06 Oct, 2011

1 commit

  • This is long over due. All but two net drivers have been converted, but
    those have now been dropped.

    The only thing left to do is actually delete all references to NET_MULTI
    and code that is compiled when that is not defined. So here we scrub the
    core code.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

16 May, 2009

1 commit


10 Jan, 2008

2 commits