diff --git a/arch/arm/src/c5471/c5471_ethernet.c b/arch/arm/src/c5471/c5471_ethernet.c index 12a15eee7c..abf608cf04 100644 --- a/arch/arm/src/c5471/c5471_ethernet.c +++ b/arch/arm/src/c5471/c5471_ethernet.c @@ -2156,7 +2156,7 @@ void up_netinitialize(void) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&g_c5471[0].c_dev); + (void)netdev_register(&g_c5471[0].c_dev, NET_LL_ETHERNET); } #endif /* CONFIG_NET */ diff --git a/arch/arm/src/kinetis/kinetis_enet.c b/arch/arm/src/kinetis/kinetis_enet.c index 096d3fbd0e..9042fca407 100644 --- a/arch/arm/src/kinetis/kinetis_enet.c +++ b/arch/arm/src/kinetis/kinetis_enet.c @@ -1541,7 +1541,7 @@ int kinetis_netinitialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->dev); + (void)netdev_register(&priv->dev, NET_LL_ETHERNET); return OK; } diff --git a/arch/arm/src/lpc17xx/lpc17_ethernet.c b/arch/arm/src/lpc17xx/lpc17_ethernet.c index 46c857ed2a..05108d3cfa 100644 --- a/arch/arm/src/lpc17xx/lpc17_ethernet.c +++ b/arch/arm/src/lpc17xx/lpc17_ethernet.c @@ -2587,7 +2587,7 @@ static inline int lpc17_ethinitialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->lp_dev); + (void)netdev_register(&priv->lp_dev, NET_LL_ETHERNET); return OK; } diff --git a/arch/arm/src/sam34/sam_emac.c b/arch/arm/src/sam34/sam_emac.c index bb0e1ff2d4..2573778a4d 100644 --- a/arch/arm/src/sam34/sam_emac.c +++ b/arch/arm/src/sam34/sam_emac.c @@ -3108,7 +3108,7 @@ void up_netinitialize(void) /* Register the device with the OS so that socket IOCTLs can be performed */ - ret = netdev_register(&priv->dev); + ret = netdev_register(&priv->dev, NET_LL_ETHERNET); if (ret >= 0) { return; diff --git a/arch/arm/src/sama5/sam_emaca.c b/arch/arm/src/sama5/sam_emaca.c index f7df54fd61..ecfa5a45c7 100644 --- a/arch/arm/src/sama5/sam_emaca.c +++ b/arch/arm/src/sama5/sam_emaca.c @@ -3157,7 +3157,7 @@ int sam_emac_initialize(void) /* Register the device with the OS so that socket IOCTLs can be performed */ - ret = netdev_register(&priv->dev); + ret = netdev_register(&priv->dev, NET_LL_ETHERNET); if (ret >= 0) { return ret; diff --git a/arch/arm/src/sama5/sam_emacb.c b/arch/arm/src/sama5/sam_emacb.c index b52144cef7..a32174512d 100644 --- a/arch/arm/src/sama5/sam_emacb.c +++ b/arch/arm/src/sama5/sam_emacb.c @@ -3851,7 +3851,7 @@ int sam_emac_initialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - ret = netdev_register(&priv->dev); + ret = netdev_register(&priv->dev, NET_LL_ETHERNET); if (ret >= 0) { return ret; diff --git a/arch/arm/src/sama5/sam_gmac.c b/arch/arm/src/sama5/sam_gmac.c index fb18c8953f..7f112b04c3 100644 --- a/arch/arm/src/sama5/sam_gmac.c +++ b/arch/arm/src/sama5/sam_gmac.c @@ -3229,7 +3229,7 @@ int sam_gmac_initialize(void) /* Register the device with the OS so that socket IOCTLs can be performed */ - ret = netdev_register(&priv->dev); + ret = netdev_register(&priv->dev, NET_LL_ETHERNET); if (ret >= 0) { return ret; diff --git a/arch/arm/src/stm32/stm32_eth.c b/arch/arm/src/stm32/stm32_eth.c index 729e034f54..e72a008afb 100644 --- a/arch/arm/src/stm32/stm32_eth.c +++ b/arch/arm/src/stm32/stm32_eth.c @@ -3610,7 +3610,7 @@ int stm32_ethinitialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->dev); + (void)netdev_register(&priv->dev, NET_LL_ETHERNET); return OK; } diff --git a/arch/arm/src/tiva/tiva_ethernet.c b/arch/arm/src/tiva/tiva_ethernet.c index a235fe0c14..1fb19f8828 100644 --- a/arch/arm/src/tiva/tiva_ethernet.c +++ b/arch/arm/src/tiva/tiva_ethernet.c @@ -1448,7 +1448,7 @@ static inline int tiva_ethinitialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->ld_dev); + (void)netdev_register(&priv->ld_dev, NET_LL_ETHERNET); return OK; } diff --git a/arch/hc/src/m9s12/m9s12_ethernet.c b/arch/hc/src/m9s12/m9s12_ethernet.c index 023bc922b2..b179fb728d 100644 --- a/arch/hc/src/m9s12/m9s12_ethernet.c +++ b/arch/hc/src/m9s12/m9s12_ethernet.c @@ -685,7 +685,7 @@ int emac_initialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->d_dev); + (void)netdev_register(&priv->d_dev, NET_LL_ETHERNET); return OK; } diff --git a/arch/mips/src/pic32mx/pic32mx-ethernet.c b/arch/mips/src/pic32mx/pic32mx-ethernet.c index eeaf3ad5c1..f1633f7529 100644 --- a/arch/mips/src/pic32mx/pic32mx-ethernet.c +++ b/arch/mips/src/pic32mx/pic32mx-ethernet.c @@ -3143,7 +3143,7 @@ static inline int pic32mx_ethinitialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->pd_dev); + (void)netdev_register(&priv->pd_dev, NET_LL_ETHERNET); return OK; } diff --git a/arch/sim/src/up_netdriver.c b/arch/sim/src/up_netdriver.c index c6636a0454..90ff0bb3e6 100644 --- a/arch/sim/src/up_netdriver.c +++ b/arch/sim/src/up_netdriver.c @@ -215,7 +215,7 @@ int netdriver_init(void) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&g_sim_dev); + (void)netdev_register(&g_sim_dev, NET_LL_ETHERNET); return OK; } diff --git a/arch/z80/src/ez80/ez80_emac.c b/arch/z80/src/ez80/ez80_emac.c index baaa953cf1..f0f1797eb7 100644 --- a/arch/z80/src/ez80/ez80_emac.c +++ b/arch/z80/src/ez80/ez80_emac.c @@ -2148,7 +2148,7 @@ int up_netinitialize(void) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->dev); + (void)netdev_register(&priv->dev, NET_LL_ETHERNET); return OK; errout: