[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] how to set the link up
From: |
massimiliano cialdi |
Subject: |
[lwip-users] how to set the link up |
Date: |
Wed, 5 Jul 2017 13:24:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
I haveKSZ8081RNACA as phy that has to be polled (interrupt signal is not
routed)
In LWIP documentation I read:
- netif_set_link_up(struct netif *netif)
This is the hardware link state; e.g. whether cable is plugged for wired
Ethernet interface. This function must be called even if you don't know
the current state. Having link up and link down events is optional but
DHCP and IPv6 discover benefit well from those events.
- netif_set_up(struct netif *netif)
This is the administrative (= software) state of the netif, when the
netif is fully configured this function must be called.
So I understand that netif_set_link_up() has to be called from phy
driver? and what about netif_set_up()?
best regads
--
Powersoft logo <http://www.powersoft.it>
*Massimiliano Cialdi |*Senior Firmware Engineer
*skype:* mci.pws *| email:* address@hidden
<mailto:address@hidden>
*HQ Italy:* Via E. Conti, 5 *|* 50018 Scandicci (FI) Italy
*direct phone:* +39 055 0153429 *| Fax:* +39 055 735 6235
*web site:* www.powersoft.it <http://www.powersoft.it>
Green Audio Power
- [lwip-users] how to set the link up,
massimiliano cialdi <=
- Re: [lwip-users] how to set the link up, Noam Weissman, 2017/07/05
- Re: [lwip-users] how to set the link up, massimiliano cialdi, 2017/07/05
- Re: [lwip-users] how to set the link up, Noam Weissman, 2017/07/05
- Re: [lwip-users] how to set the link up, Sylvain Rochet, 2017/07/05
- Re: [lwip-users] how to set the link up, Noam Weissman, 2017/07/05
- Re: [lwip-users] how to set the link up, Sylvain Rochet, 2017/07/05
- Re: [lwip-users] how to set the link up, massimiliano cialdi, 2017/07/05
- Re: [lwip-users] how to set the link up, Noam Weissman, 2017/07/05
- Re: [lwip-users] how to set the link up, Sylvain Rochet, 2017/07/05
- Re: [lwip-users] how to set the link up, Noam Weissman, 2017/07/05