• Alessandro Rubini's avatar
    net: link_status is now a global variable · b86b45c7
    Alessandro Rubini authored
    All "tasks" must have the same prototype, so we'd better get
    void in all of them at the time being (so we only change the nerwork
    function).
    
    Meanwhile, use value "0" for "link down", so it can work as a simple
    enable flag for the IP polling code.
    
    (note: we query the link status in wrc_ptp_update() too, and we should
    rather refer to the global variable)
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    b86b45c7
Name
Last commit
Last update
..
hw Loading commit data...
libwr Loading commit data...
std Loading commit data...
board-wrc.h Loading commit data...
board-wrs.h Loading commit data...
board.h Loading commit data...
dump-info.h Loading commit data...
endpoint.h Loading commit data...
flash.h Loading commit data...
gpio-wrs.h Loading commit data...
hal_exports.h Loading commit data...
i2c.h Loading commit data...
irq.h Loading commit data...
minic.h Loading commit data...
onewire.h Loading commit data...
pps_gen.h Loading commit data...
ppsi-wrappers.h Loading commit data...
ptpd_netif.h Loading commit data...
revision.h Loading commit data...
rxts_calibrator.h Loading commit data...
sdb.h Loading commit data...
sfp.h Loading commit data...
shell.h Loading commit data...
spll_defs.h Loading commit data...
storage.h Loading commit data...
syscon.h Loading commit data...
system_checks.h Loading commit data...
trace.h Loading commit data...
types.h Loading commit data...
uart-sw.h Loading commit data...
uart.h Loading commit data...
util.h Loading commit data...
w1.h Loading commit data...
wrc.h Loading commit data...