freebsd-dev/sys/dev/usb/net
Ian Lepore 2c597054b4 Reverse the bit logic of sc_led_modes_mask. Instead of initializing it to
all-ones then carving out blocks of zeroes where specified values go, init
it to all-zeroes, put in ones where values need to be masked, then use it
as value &= ~sc_led_modes_mask.  In addition to being more idiomatic, this
means everything related to FDT data is initialized to zero along with the
rest of the softc, and that allows removing some #ifdef FDT sections and
wrapping the whole muge_set_leds() function in a single ifdef block.

This also deletes the early-out from muge_set_leds() when an eeprom exists.
Even if there is an eeprom with led config in it, the fdt data (if present)
should override that, because the user is in control of the fdt data.
2019-05-20 22:32:31 +00:00
..
if_aue.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_auereg.h
if_axe.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_axereg.h
if_axge.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_axgereg.h
if_cdce.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
if_cdcereg.h
if_cue.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_cuereg.h
if_ipheth.c
if_iphethvar.h
if_kue.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_kuefw.h
if_kuereg.h
if_mos.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_mosreg.h
if_muge.c Reverse the bit logic of sc_led_modes_mask. Instead of initializing it to 2019-05-20 22:32:31 +00:00
if_mugereg.h muge: update FDT LED configuration 2019-05-20 19:31:49 +00:00
if_rue.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_ruereg.h
if_smsc.c Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
if_smscreg.h
if_udav.c ifnet: Replace if_addr_lock rwlock with epoch + mutex 2018-05-18 20:13:34 +00:00
if_udavreg.h
if_ure.c In some cases like NanoPI R1, its second USB ethernet 2019-04-09 13:54:08 +00:00
if_urereg.h Fix URE_WDT6_SET_MODE value in the register definition. 2019-04-08 13:40:46 +00:00
if_urndis.c
if_urndisreg.h
if_usie.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
if_usievar.h
ruephy.c
ruephyreg.h
uhso.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
usb_ethernet.c Add function to wait for USB ethernet attach to complete. 2018-05-24 15:24:42 +00:00
usb_ethernet.h Add function to wait for USB ethernet attach to complete. 2018-05-24 15:24:42 +00:00