freebsd-skq/sys/dev
bde 0bc4f8ada7 Fix bright colors for syscons, and make them work for the first time
for vt.  Restore syscons' rendering of background (bg) brightness as
foreground (fg) blinking and vice versa, and add rendering of blinking
as background brightness to vt.

Bright/saturated is conflated with light/white in the implementation
and in this description.

Bright colors were broken in all cases, but appeared to work in the
only case shown by "vidcontrol show".  A boldness hack was applied
only in 1 layering-violation place (for some syscons sequences) where
it made some cases seem to work but was undone by clearing bold using
ANSI sequences, and more seriously was not undone when setting
ANSI/xterm dark colors so left them bright.  Move this hack to drivers.

The boldness hack is only for fg brightness.  Restore/add a similar hack
for bg brightness rendered as fg blinking and vice versa.  This works
even better for vt, since vt changes the default text mode to give the
more useful bg brightness instead of fg blinking.

The brightness bit in colors was unnecessarily removed by the boldness
hack.  In other cases, it was lost later by teken_256to8().  Use
teken_256to16() to not lose it.  teken_256to8() was intended to be
used for bg colors to allow finer or bg-specific control for the more
difficult reduction to 8; however, since 16 bg colors actually work
on VGA except in syscons text mode and the conversion isn't subtle
enough to significantly in that mode, teken_256to8() is not used now.

There are still bugs, especially in vidcontrol, if bright/blinking
background colors are set.

Restore XOR logic for bold/bright fg in syscons (don't change OR
logic for vt).  Remove broken ifdef on FG_UNDERLINE and its wrong
or missing bit and restore the correct hard-coded bit.  FG_UNDERLINE
is only for mono mode which is not really supported.

Restore XOR logic for blinking/bright bg in syscons (in vt, add
OR logic and render as bright bg).  Remove related broken ifdef
on BG_BLINKING and its missing bit and restore the correct
hard-coded bit.  The same bit means blinking or bright bg depending
on the mode, and we want to ignore the difference everywhere.

Simplify conversions of attributes in syscons.  Don't pretend to
support bold fonts.  Don't support unusual encodings of brightness.
It is as good as possible to map 16 VGA colors to 16 xterm-16
colors.  E.g., VGA brown -> xterm-16 Olive will be converted back
to VGA brown, so we don't need to convert to xterm-256 Brown.  Teken
cons25 compatibility code already does the same, and duplicates some
small tables.  This is mostly for the sc -> te direction.  The other
direction uses teken_256to16() which is too generic.
2017-03-18 11:13:54 +00:00
..
aac Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
aacraid aacraid: fix build with AACRAID_DEBUG=2 2017-03-11 18:40:39 +00:00
acpi_support Hide unneeded message under bootverbose. 2017-01-27 14:17:48 +00:00
acpica Export the actual LID state via sysctl. This allows more complex 2017-03-12 18:00:02 +00:00
adb Force the setting of bit 7 in the sysmouse packet byte 1 to be unsigned. 2017-01-30 02:32:33 +00:00
adlink
advansys Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ae
age
agp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
aha Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ahci Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
aic Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
aic7xxx Fix LUN enabling on wildcard target, as done by CTL. 2017-02-26 19:25:33 +00:00
al_eth sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
alc alc: Add Killer E2500 support 2017-01-16 03:03:47 +00:00
ale
alpm
altera Merge enhancements to the ALTERA Avalon bus generic device attachment 2017-01-28 13:25:06 +00:00
amd_ecc_inject add a module that provides support for DRAM ECC error injection on AMD CPUs 2017-03-03 22:51:04 +00:00
amdpm
amdsbwd
amdsmb
amdtemp
amr Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
an sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
arcmsr sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
asmc [asmc] Add support for MacBook Pro 11,2 2017-02-17 18:49:18 +00:00
ata Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
ath Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
atkbdc [psm] Fix calculation for clickpad softbuttons at the top 2017-02-15 02:52:43 +00:00
auxio
axgbe Port the Linux AMX 10G network driver to FreeBSD as axgbe. It is unlikely 2017-02-15 13:56:04 +00:00
bce sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
beri sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bfe
bge
bhnd [bhnd] fix mask for PMU control 2017-03-15 18:57:18 +00:00
bktr bktr(4): double assignment. 2017-02-23 16:18:57 +00:00
bm
bnxt Restore changes for RSS routing improvements made in 314369 that were 2017-03-14 13:54:18 +00:00
buslogic sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
bvm
bwi net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
bwn net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
bxe 1. state checks in bxe_tx_mq_start_locked() and bxe_tx_mq_start() to sync threads during interface down or detach. 2017-02-27 23:38:51 +00:00
cadence
cardbus
cas
ce dev/ce: double assignment. 2017-02-23 15:30:21 +00:00
cesa Remove remaining ifdefs from CESA header 2017-02-02 06:07:39 +00:00
cfe
cfi
chromebook_platform chromebook_platform: catch up with ig4iic -> ig4iic_pci in r310621 2017-02-25 15:55:46 +00:00
ciss In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
cm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cmx
coretemp
cp sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cpuctl
cpufreq
cs
ctau sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
cxgb Add some ntohl() love to r315277 2017-03-14 20:57:54 +00:00
cxgbe cxgbe/iw_cxgbe: Use the socket and not the toepcb to reach for the 2017-03-15 19:10:04 +00:00
cy
cyapa
dc
dcons
de sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
digi
dme
dpaa
dpms
dpt Remove EISA support from dpt. Remove known EISA models from 2017-02-16 21:57:13 +00:00
drm Use atop() instead of OFF_TO_IDX() for convertion of addresses or 2017-03-14 19:39:17 +00:00
drm2 Use atop() instead of OFF_TO_IDX() for convertion of addresses or 2017-03-14 19:39:17 +00:00
dwc
e1000 Actually set the MTU to the requested value and fixup handling of jumbo 2017-03-15 14:44:59 +00:00
ed sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
efidev
en
ep Remove EISA support for ep driver. Left in place EISA strings that are 2017-02-16 21:56:51 +00:00
esp Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
et
etherswitch etherswitch: Fix RT305x vlan group operation 2017-02-20 08:10:41 +00:00
evdev [evdev] Fix Right Alt and Keypad Enter event codes for atkbd(4) and kbdmux(4) drivers 2017-03-12 19:28:44 +00:00
ex
exca Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
extres Export a sysctl dev.<clkdom>.<unit>.clocks for each clock domain containing 2017-03-05 07:13:29 +00:00
fatm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
fb Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
fdc Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fdt Make the default FDT implementation of platform_mp_setmaxid use the cpu 2017-03-17 12:45:53 +00:00
fe sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
ffec Add definitions for the IEEE-1588 registers. 2017-02-18 18:27:28 +00:00
filemon
firewire firewire/sbp: try to improve locking, plus a few style nits 2017-03-07 16:07:52 +00:00
flash
fxp
gem
glxiic
glxsb
gpio [gpioths] new driver for temperature/humidity sensor DHT11 2017-01-16 15:36:36 +00:00
gxemul gxemul: 2017-02-06 11:37:20 +00:00
hatm
hdmi Add support for audio on I2S based DesignWare HDMI controllers. 2016-12-29 14:08:24 +00:00
hifn
hme
hpt27xx Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptiop sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
hptmv sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
hptnr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hptrr Clean redundant MIN/MAX declarations in some HighPoint drivers. 2017-02-10 15:18:41 +00:00
hwpmc Fix arm stack frame walking support: 2017-03-14 16:06:57 +00:00
hyperv hyperv/hn: Misaligned chimney sending buffers should not be used 2017-03-01 09:05:12 +00:00
ic Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ichiic
ichsmb
ichwd Fixed TCO v3 tick convert 2017-03-01 05:18:43 +00:00
ida Remove support for EISA in the ida driver. Remove references to 2017-02-16 21:56:57 +00:00
if_ndis
iicbus sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
iir Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
intel
intpm
io
ioat ioat: don't specify inline for function with variable argument list 2017-03-04 12:51:57 +00:00
ipmi
ips
ipw
isci scif_sas_controller: Fix inverted logic range check 2017-03-13 17:58:08 +00:00
iscsi Inline some trivial wrapper functions. 2017-03-02 16:14:15 +00:00
iscsi_initiator Use getsock_cap() instead of deprecated fgetsock(). 2017-01-13 18:36:46 +00:00
iser
isl
ismt
isp Do some notify acks cleanup. 2017-03-18 10:34:29 +00:00
ispfw
iwi iwi, ral, zyd: fix possible use-after-free. 2017-02-17 23:20:22 +00:00
iwm net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
iwn iwn: add promiscuous mode support. 2017-03-08 22:49:22 +00:00
ixgb
ixgbe Fix reference to free memory in ixgbe/if_media.c 2017-01-20 17:16:48 +00:00
ixl ixl(4): Update to 1.7.12-k 2017-02-10 01:04:11 +00:00
jedec_ts jedec_ts: fix slave address check 2017-02-21 12:24:31 +00:00
jme
joy
kbd Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kbdmux
ksyms
le sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
led
lge
lmc
malo
mbox
mc146818
md Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mdio
mem
mfi Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
mge
mii
mk48txx
mlx Remove references to EISA support in mlx. The driver never supported 2017-02-16 21:56:32 +00:00
mlx4 Improve code readability and fix compilation error when using clang 4.x. 2017-02-15 18:31:09 +00:00
mlx5 Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry 2017-01-30 08:35:15 +00:00
mly In the same vein as r311350, fix whitespace in handling of XPT_PATH_INQ in 2017-01-05 03:08:57 +00:00
mmc Again, fixes regarding style(4), to comments, includes and unused 2017-03-17 22:57:37 +00:00
mn
mpr Import mpr(4) driver P12 to P14 diff from vendor site. 2017-03-06 19:39:31 +00:00
mps Rework the debug print API. Event printing no longer gets special handling. 2017-01-19 21:47:50 +00:00
mpt Partially fix target task management requests handling. 2017-03-11 14:25:14 +00:00
mrsas Fix a typo introduced in r306024. 2017-01-23 21:09:27 +00:00
mse Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
msk
mvs Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
mwl [net80211] RX parameter shuffle in net80211 in preparation for 4x4 NICs and 160MHz channels. 2017-02-20 02:08:08 +00:00
mxge
my
nand - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
ncr sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
nctgpio
ncv
netfpga10g/nf10bmac
netmap sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
nfe
nfsmb
nge
nmdm Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nsp
ntb Pretend we support some IOCTLs to not scary upper layers. 2017-01-11 20:23:45 +00:00
null
nvd Report random flash storage as non-rotating to GEOM_DISK. 2017-01-12 08:53:10 +00:00
nvme Avoid dereferencing unintialized elements in the error path. 2017-03-07 23:06:41 +00:00
nvram
nvram2env
nxge
oce
ofw Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
otus net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
ow
patm sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
pbio
pccard sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
pccbb Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pcf
pci If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. 2017-03-16 17:49:37 +00:00
pcn
pdq Remove EISA attachment (fea) from pdq driver. Remove vestiges of 2017-02-16 21:57:08 +00:00
pms sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
powermac_nvram
ppbus sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
ppc sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
proto
psci
pst
pty
puc
qlxgb
qlxgbe add bus_dmamap_unload in ql_free_dmabuf() 2017-02-21 23:32:27 +00:00
qlxge
quicc
ral net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
random
rc
rccgpio Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0. 2016-12-31 02:23:15 +00:00
re
rl
rndtest
rp
rt rt_attach(): double assignment. 2017-02-23 18:15:04 +00:00
rtwn net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
safe
sbni sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
scc
sdhci Again, fixes regarding style(4), to comments, includes and unused 2017-03-17 22:57:37 +00:00
sec
sf
sfxge sfxge(4): compact the first hot part of RxQ control 2017-01-27 11:59:02 +00:00
sge
siba
siis Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
sio Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sis
sk
smbus
smc
sn sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
snp
sound Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
speaker
spibus [spigen] make spigen device ready to be compiled as a module 2017-03-09 01:00:27 +00:00
ste
stg
stge
sym sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
syscons Fix bright colors for syscons, and make them work for the first time 2017-03-18 11:13:54 +00:00
tdfx
terasic
ti
tl
tpm
trm Remove dead mentions of CAM target mode APIs from drivers. 2017-02-19 17:27:58 +00:00
tsec
twa Update tw_cl_share.h to allow 255 LUNs 2017-03-01 04:40:57 +00:00
twe
tws Always null-terminate ccb_pathinq.(sim_vid|hba_vid|dev_name) 2017-01-04 20:26:42 +00:00
tx
txp
uart Extend the pl011 small-fifos fix to other SoCs that indicate rev 5 2017-03-11 22:34:02 +00:00
ubsec
usb Make wsp process a single touchpad tap and interpret it as a 2017-03-01 04:27:58 +00:00
utopia
vge
viapm
viawd
videomode
virtio vtnet: don't update VLAN filter when parent is not running 2017-02-13 21:44:29 +00:00
vkbd
vmware/vmxnet3 Spell VMXNET3_LEGACY_TX correctly. 2017-02-18 06:18:14 +00:00
vnic Add the folowing set accessor functions for recently-added members of ifnet 2017-01-31 16:12:31 +00:00
vr
vt Fix bright colors for syscons, and make them work for the first time 2017-03-18 11:13:54 +00:00
vte
vx sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
vxge vxge(4): Yet another (minor) mismatch. 2017-02-23 18:56:31 +00:00
watchdog
wb
wbwd
wi Fix unreachable code in wi_pci_resume(). 2017-03-15 09:31:58 +00:00
wpi net80211 drivers: fix rate setup for EAPOL frames, obtain Tx parameters 2017-02-26 20:49:35 +00:00
wtap
xdma Add parenthesis. 2016-12-30 16:26:54 +00:00
xe
xen xen/netfront: fix inbound packet flags for checksum offload 2017-03-07 09:18:52 +00:00
xilinx
xl