[riot-commits] [RIOT-OS/RIOT] 2816ad: pkg/lwip: Start rework of netif initialisation

benpicco noreply at github.com
Fri Aug 20 15:53:03 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2816ade5f8fe8c729205324d0560f7ceeb81b541
      https://github.com/RIOT-OS/RIOT/commit/2816ade5f8fe8c729205324d0560f7ceeb81b541
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/Makefile.dep
    M pkg/lwip/Makefile.include
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/include/lwip_init_devs.h
    A pkg/lwip/init_devs/Makefile
    A pkg/lwip/init_devs/auto_init_netdev_tap.c
    A pkg/lwip/init_devs/init.c
    M sys/include/auto_init.h

  Log Message:
  -----------
  pkg/lwip: Start rework of netif initialisation

Use separate files with auto_init
Proof of concept with only moving netdev_tap


  Commit: 9a089d412bc253f831040005798378986b486836
      https://github.com/RIOT-OS/RIOT/commit/9a089d412bc253f831040005798378986b486836
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    M pkg/lwip/include/lwip_init_devs.h
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Set first netif as default

Set at create time, as all netifs will no longer be in one array.


  Commit: c9116f557089ad1fd950c2d20e99cbfd6edddcb3
      https://github.com/RIOT-OS/RIOT/commit/c9116f557089ad1fd950c2d20e99cbfd6edddcb3
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_esp_eth.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move esp_eth to netif auto init


  Commit: a18b24c7ed49a439b422fa8f6d3420acc4fec4fa
      https://github.com/RIOT-OS/RIOT/commit/a18b24c7ed49a439b422fa8f6d3420acc4fec4fa
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_esp_wifi.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move esp_wifi to netif auto init


  Commit: fea0c8d453ba0a872617473e0386b1eb1d26efc4
      https://github.com/RIOT-OS/RIOT/commit/fea0c8d453ba0a872617473e0386b1eb1d26efc4
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_atwinc15x0.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move atwinc15x0 to netif auto init


  Commit: e8c5ff162a1444995a32abd633963e436f5f195c
      https://github.com/RIOT-OS/RIOT/commit/e8c5ff162a1444995a32abd633963e436f5f195c
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_enc28j60.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move enc28j60 to netif auto init


  Commit: c631c0fddd3e23e522c15e78475bcbb535e77c57
      https://github.com/RIOT-OS/RIOT/commit/c631c0fddd3e23e522c15e78475bcbb535e77c57
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_sam0_eth.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move sam0_eth to netif auto init


  Commit: cdc8c35e13c842ab59ecfb75c259705f98abe926
      https://github.com/RIOT-OS/RIOT/commit/cdc8c35e13c842ab59ecfb75c259705f98abe926
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_stm32_eth.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move stm32_eth to netif auto init


  Commit: fff95fc882b3766fc841d1d80dbc2ab4a6ea9218
      https://github.com/RIOT-OS/RIOT/commit/fff95fc882b3766fc841d1d80dbc2ab4a6ea9218
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    M pkg/lwip/include/lwip_init_devs.h
    A pkg/lwip/init_devs/auto_init_mrf24j40.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Add 6lowpan helper, do auto init for mrf24j40


  Commit: 1897b57d8e2c566653ad21c3573c0fe6ea9762bb
      https://github.com/RIOT-OS/RIOT/commit/1897b57d8e2c566653ad21c3573c0fe6ea9762bb
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_at86rf2xx.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move at86rf2xx to netif auto init


  Commit: 9002da3d80dfc445e6874af0e7ab20381210681d
      https://github.com/RIOT-OS/RIOT/commit/9002da3d80dfc445e6874af0e7ab20381210681d
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_nrf802154.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move nrf802154 to netif auto init


  Commit: 06dfcdd3fa107ebded2f2e3819065448902aa4e5
      https://github.com/RIOT-OS/RIOT/commit/06dfcdd3fa107ebded2f2e3819065448902aa4e5
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/init_devs/auto_init_socket_zep.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move socket_zep to netif auto init


  Commit: 11f8ba89ae18ae3b785a01b77da47d34f7dfe879
      https://github.com/RIOT-OS/RIOT/commit/11f8ba89ae18ae3b785a01b77da47d34f7dfe879
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    A pkg/lwip/init_devs/auto_init_ethos.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Move ethos to netif auto init


  Commit: 9459dfaf6895fcb56fbbcc2540e5d789523c66f4
      https://github.com/RIOT-OS/RIOT/commit/9459dfaf6895fcb56fbbcc2540e5d789523c66f4
  Author: Erik Ekman <eekman at google.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/include/lwip_init_devs.h
    M pkg/lwip/init_devs/auto_init_at86rf2xx.c
    M pkg/lwip/init_devs/auto_init_atwinc15x0.c
    M pkg/lwip/init_devs/auto_init_enc28j60.c
    M pkg/lwip/init_devs/auto_init_esp_eth.c
    M pkg/lwip/init_devs/auto_init_esp_wifi.c
    M pkg/lwip/init_devs/auto_init_ethos.c
    M pkg/lwip/init_devs/auto_init_mrf24j40.c
    M pkg/lwip/init_devs/auto_init_netdev_tap.c
    M pkg/lwip/init_devs/auto_init_nrf802154.c
    M pkg/lwip/init_devs/auto_init_sam0_eth.c
    M pkg/lwip/init_devs/auto_init_socket_zep.c
    M pkg/lwip/init_devs/auto_init_stm32_eth.c
    M pkg/lwip/init_devs/init.c

  Log Message:
  -----------
  pkg/lwip: Use XFA to initialize network interfaces


  Commit: bff9cb7f3005fab031765adb0db241f647ef6889
      https://github.com/RIOT-OS/RIOT/commit/bff9cb7f3005fab031765adb0db241f647ef6889
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-08-20 (Fri, 20 Aug 2021)

  Changed paths:
    M pkg/lwip/Makefile.dep
    M pkg/lwip/Makefile.include
    M pkg/lwip/contrib/lwip.c
    A pkg/lwip/include/lwip_init_devs.h
    A pkg/lwip/init_devs/Makefile
    A pkg/lwip/init_devs/auto_init_at86rf2xx.c
    A pkg/lwip/init_devs/auto_init_atwinc15x0.c
    A pkg/lwip/init_devs/auto_init_enc28j60.c
    A pkg/lwip/init_devs/auto_init_esp_eth.c
    A pkg/lwip/init_devs/auto_init_esp_wifi.c
    A pkg/lwip/init_devs/auto_init_ethos.c
    A pkg/lwip/init_devs/auto_init_mrf24j40.c
    A pkg/lwip/init_devs/auto_init_netdev_tap.c
    A pkg/lwip/init_devs/auto_init_nrf802154.c
    A pkg/lwip/init_devs/auto_init_sam0_eth.c
    A pkg/lwip/init_devs/auto_init_socket_zep.c
    A pkg/lwip/init_devs/auto_init_stm32_eth.c
    A pkg/lwip/init_devs/init.c
    M sys/include/auto_init.h

  Log Message:
  -----------
  Merge pull request #16162 from yarrick/netif_init

pkg/lwip: Allow initializing different types of netifs


Compare: https://github.com/RIOT-OS/RIOT/compare/8ae782b98d42...bff9cb7f3005


More information about the commits mailing list