1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys
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
..
amd64 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
arm Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
arm64 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
bsm
cam Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
cddl Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
compat LinuxKPI: Finalize move of lindebugfs from ports to base. 2019-05-19 15:44:21 +00:00
conf Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
contrib Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
crypto Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
ddb Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
dev Reverse the bit logic of sc_led_modes_mask. Instead of initializing it to 2019-05-20 22:32:31 +00:00
dts arm64: Add support for NanoPI NEO2 2019-05-02 12:56:13 +00:00
fs Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
gdb
geom List-ify kernel dump device configuration 2019-05-06 18:24:07 +00:00
gnu dts: Import files from Linux 5.1 2019-05-08 19:27:30 +00:00
i386 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
isa
kern kcov depends on eventhandler.h. 2019-05-20 19:14:07 +00:00
kgssapi * Handle SIGPIPE in gssd 2019-02-21 01:30:37 +00:00
libkern random(4): depessimize arc4random 2019-05-12 06:32:46 +00:00
mips [mediatek] Add support for non-flash devices on the SPI bus of the Mediatek SoCs. 2019-05-20 17:43:58 +00:00
modules Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
net Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
net80211 net80211: correct check for SMPS node flags updates 2019-03-18 02:40:22 +00:00
netgraph Remove 'dir' argument in ng_ipfw_input, since ip_fw_args now has this info. 2019-03-14 22:30:05 +00:00
netinet Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
netinet6 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
netipsec Replace read_random(9) with more appropriate arc4rand(9) KPIs 2019-04-04 01:02:50 +00:00
netpfil Add IPv6 support for O_IPLEN opcode. 2019-04-29 09:33:16 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Add new rates to ibcore. 2019-05-08 10:55:47 +00:00
opencrypto Don't panic for empty CCM requests. 2019-04-24 23:27:39 +00:00
powerpc Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
riscv Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
rpc Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. 2019-04-04 01:23:06 +00:00
security Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
sparc64 FCP-101: Remove wb(4) 2019-05-17 15:24:34 +00:00
sys Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
teken Attempt to complete fixing programmable function keys for syscons. 2019-02-20 02:14:41 +00:00
tests
tools Avoid literal @generated tag in file-generating scripts 2019-05-08 13:35:51 +00:00
ufs Ensure that error is initialized in ufs_bmap_seekdata(). 2019-05-05 16:57:03 +00:00
vm Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
x86 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
xdr
xen
Makefile