freebsd-skq/sys/dev
dumbbell 9ac8060e57 vt(4): Colors are indexed against a console palette, not a VGA palette
Rename vt_generate_vga_palette() to vt_generate_cons_palette() and
change it to build a palette where the color index is the same than in
terminal escape codes, not the VGA index. That's what TCHAR_CREATE()
uses and passes to vt(4).

The main differences between both orders are:
    o  Blue and red are swapped (1 <-> 4)
    o  Yellow and cyan are swapped (3 <-> 6)

The problem remained unnoticed, because the RGB bit indexes passed to
vt_generate_vga_palette() were reversed. This inversion was cancelled
by the colors inversions in the generated palette. For instance, red
(0xff0000) and blue (0x0000ff) have bytes in opposite order, but were
swapped in the palette. But after changing the value of blue (see last
paragraph), the modified color was in fact the red one.

While here, tune the palette to better match console colors and improve
the readability (especially the dark blue).

This is an MFC of r269783 and r269791.
2014-08-21 10:18:42 +00:00
..
aac MFC 266281: 2014-06-04 18:21:33 +00:00
aacraid MFC r257847, r260243: Update aacraid to version 3.2.5. 2014-03-11 14:59:34 +00:00
acpi_support Consistently cast ACPICA 64-bit integer types when we print them. 2013-06-26 23:52:10 +00:00
acpica MFC 267883: 2014-07-24 00:02:39 +00:00
adb MFC r257180, r257195, r257196, r257198, r257209, r257295 2014-05-14 01:16:05 +00:00
adlink Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
advansys MFC r259825: 2013-12-28 00:16:58 +00:00
ae MFC r259543: 2014-04-14 04:58:50 +00:00
age MFC r263957: 2014-04-14 04:51:59 +00:00
agp MFC r258779,r258780,r258787,r258822: 2014-02-04 03:36:42 +00:00
aha MFC r260893: Free dma memory from the dma map before destroying the map. 2014-05-14 20:47:51 +00:00
ahb Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
ahci MFC r260161, r260163, r260165, r260166, r260189 2014-05-14 18:25:13 +00:00
aic Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
aic7xxx MFC r262534, r262548, r262549, r262552, r262568, r262581, r262583, r262584, 2014-05-16 02:21:51 +00:00
alc MFC r263957: 2014-04-14 04:51:59 +00:00
ale MFC r260429: 2014-04-14 05:04:23 +00:00
altera MFC r264542: 2014-08-16 14:17:09 +00:00
amdsbwd Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
amdtemp MFC: r263169 2014-03-28 08:55:34 +00:00
amr Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
an Merge r259393 from head: 2014-05-07 21:38:33 +00:00
arcmsr Update arcmsr(4) driver to 1.20.00.28 which fixes mutex recursion in 2013-09-19 20:30:35 +00:00
asmc Give device_printf format string to pacify clang warning. 2012-11-09 14:58:26 +00:00
asr Re-do r255853. Along with adding back the API/ABI changes from the 2013-09-25 17:16:21 +00:00
ata MFC: r268095 2014-07-04 13:57:58 +00:00
ath MFC r262930 2014-03-11 05:58:52 +00:00
atkbdc Revert r255152: 2013-09-04 18:42:05 +00:00
auxio Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
bce MFC r265703 2014-05-12 15:52:49 +00:00
bfe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
bge MFC: r260045 2014-04-25 21:28:39 +00:00
bktr MFC r258779,r258780,r258787,r258822: 2014-02-04 03:36:42 +00:00
bm Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
buslogic MFC r256893: 2014-01-05 22:43:40 +00:00
bvm Probe for existence of the bvm debug port instead of just assuming that it is 2012-10-27 22:54:23 +00:00
bwi MFC r260444: 2014-02-17 01:36:53 +00:00
bwn MFC r260444: 2014-02-17 01:36:53 +00:00
bxe MFC r265703 2014-05-12 15:52:49 +00:00
cadence Bring copyright changes with the agreement of Thomas Skibo. 2013-04-28 07:00:36 +00:00
cardbus
cas Give (*ext_free) an int return value allowing for very sophisticated 2013-08-25 10:57:09 +00:00
ce Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
cesa MFC r261410 2014-05-15 16:11:06 +00:00
cfe MFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370, 2014-05-14 01:35:43 +00:00
cfi MFC r261410 2014-05-15 16:11:06 +00:00
ciss MFC r268017 and r268018 2014-07-21 20:08:53 +00:00
cm Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
cmx
coretemp Mark the coretemp(4) sysctls as MPSAFE, ensuring that Giant won't be held 2013-02-18 22:47:16 +00:00
cp Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
cpuctl MFC r267651 (by attilio): 2014-07-02 13:09:26 +00:00
cpufreq MFC 2013-02-26 21:09:35 +00:00
cs Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ct Use ANSI prototype to fix build with clang. 2012-11-10 14:58:06 +00:00
ctau Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
cx Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
cxgb MFC r259897: 2013-12-28 02:15:30 +00:00
cxgbe MFC r266596: 2014-08-16 13:50:15 +00:00
cy
dc Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
dcons MFcalloutng: 2013-02-19 18:22:25 +00:00
de Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
digi Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
dpms
dpt Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
drm MFC r258779,r258780,r258787,r258822: 2014-02-04 03:36:42 +00:00
drm2 MFC r268954 2014-08-10 21:45:58 +00:00
e1000 MFC 270063: update of netmap code 2014-08-20 23:34:36 +00:00
ed MFC: r260050, r261528 2014-04-25 21:32:34 +00:00
eisa
en MFC r260038: 2014-01-04 18:48:29 +00:00
ep Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
esp MFC r262613: 2014-03-26 07:31:57 +00:00
et Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
etherswitch MFC: r262571 2014-03-06 13:15:53 +00:00
ex Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
exca
fatm Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
fb MFC r262613: 2014-03-26 07:31:57 +00:00
fdc Reimplement the FDOPT_NOERROR feature that was kicked out in r134081. 2013-08-26 21:15:50 +00:00
fdt MFC r269594, r269596, r269597, r269598, r269605, r269606: 2014-08-17 01:28:03 +00:00
fe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
ffec MFC 257774, 256760, 262916, 262905, 262918, 262919, 262920, 262921, 262924, 2014-05-17 00:53:12 +00:00
filemon Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
firewire MFC: r266270 2014-05-31 11:08:22 +00:00
flash Fix a few typos for s25fl types. 2013-08-28 14:49:36 +00:00
fxp MFC r263957: 2014-04-14 04:51:59 +00:00
gem Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
glxiic MFC: r267852 2014-07-03 10:59:42 +00:00
glxsb Merge from project branch via main. Uninteresting commits are trimmed. 2013-10-12 15:31:36 +00:00
gpio MFC r266922: 2014-08-20 17:39:53 +00:00
gxemul MFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370, 2014-05-14 01:35:43 +00:00
hatm MFC r258779,r258780,r258787,r258822: 2014-02-04 03:36:42 +00:00
hifn Merge from project branch via main. Uninteresting commits are trimmed. 2013-10-12 15:31:36 +00:00
hme Avoid controller reinitialization which could be triggered by 2013-07-10 06:46:46 +00:00
hpt27xx MFC r267368: 2014-06-14 00:44:57 +00:00
hptiop Re-do r255853. Along with adding back the API/ABI changes from the 2013-09-25 17:16:21 +00:00
hptmv MFC r267368: 2014-06-14 00:44:57 +00:00
hptnr Re-do r255853. Along with adding back the API/ABI changes from the 2013-09-25 17:16:21 +00:00
hptrr MFC r267368: 2014-06-14 00:44:57 +00:00
hwpmc MFC r267062: 2014-06-18 05:35:09 +00:00
hyperv MFC: r264177 2014-05-28 09:06:36 +00:00
ic MFC r257170, r257171, r257172, r257240, r257278, r257279, r257280, r257281, 2014-05-14 16:32:27 +00:00
ichsmb MFC r258169: 2014-01-05 22:53:55 +00:00
ichwd Add new Coleto Creek device support: SATA, SMBus, and Watchdog devices. 2013-07-19 21:37:40 +00:00
ida
ie MFC r259886: 2014-08-16 13:23:23 +00:00
ieee488
if_ndis Give (*ext_free) an int return value allowing for very sophisticated 2013-08-25 10:57:09 +00:00
iicbus MFC r266923: 2014-08-20 19:12:19 +00:00
iir Re-do r255853. Along with adding back the API/ABI changes from the 2013-09-25 17:16:21 +00:00
io
ipmi Merge r257421 from head: 2013-11-14 09:11:54 +00:00
ips Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
ipw MFC r260444: 2014-02-17 01:36:53 +00:00
isci Merge r268024, 268025: 2014-07-01 06:23:48 +00:00
iscsi MFC r269197: 2014-08-13 11:11:27 +00:00
iscsi_initiator Improve error handling in the old initiator, preventing panic on attempt 2013-09-24 17:01:29 +00:00
isp MFC r259860 (by mjacob): 2014-03-19 22:50:14 +00:00
ispfw
iwi MFC: r260063 2014-04-25 22:19:18 +00:00
iwn MFC: r260086 2014-04-25 21:58:28 +00:00
ixgb Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
ixgbe MFC 270063: update of netmap code 2014-08-20 23:34:36 +00:00
jme MFC r263957: 2014-04-14 04:51:59 +00:00
joy
kbd
kbdmux
ksyms
le MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-24 13:48:04 +00:00
led MFcalloutng: 2013-02-19 19:25:50 +00:00
lge Give (*ext_free) an int return value allowing for very sophisticated 2013-08-25 10:57:09 +00:00
lindev
lmc Clean up SIOCSIFDSTADDR usage from ifnet drivers. The ioctl itself is 2013-09-11 09:19:44 +00:00
malo MFC r260444: 2014-02-17 01:36:53 +00:00
mbox Add a mailbox interface. 2013-07-07 19:47:22 +00:00
mc146818
mca
mcd MFC r260040: 2014-01-04 18:53:31 +00:00
md MFC r269190: 2014-08-04 01:14:27 +00:00
mem Add new privileges, PRIV_KMEM_READ and PRIV_KMEM_WRITE, used in opening 2013-07-05 21:31:16 +00:00
mfi MFC r266848: 2014-06-05 00:43:32 +00:00
mge MFC r261410 2014-05-15 16:11:06 +00:00
mii MFC r257702, r257745, r257746, r257747, r257751, r257791, r257793, 2014-05-14 01:53:20 +00:00
mk48txx MFC r262613: 2014-03-26 07:31:57 +00:00
mlx
mly Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
mmc MFC r269341: Populate disk->d_ident with the sd or mmc card's serial number. 2014-08-11 01:22:10 +00:00
mn Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
mpr MFC mpr(4) changes: r265484, r265485, r265709 and r265712 2014-05-22 16:34:00 +00:00
mps MFC r269314 and r269316 2014-08-20 23:09:27 +00:00
mpt MFC r267690 2014-06-27 05:37:00 +00:00
mrsas Correct memset size. 2014-07-11 00:14:29 +00:00
mse
msk MFC r263957: 2014-04-14 04:51:59 +00:00
mvs MFC r261410 2014-05-15 16:11:06 +00:00
mwl MFC r260444: 2014-02-17 01:36:53 +00:00
mxge MFC r258779,r258780,r258787,r258822: 2014-02-04 03:36:42 +00:00
my MFC: r266270 2014-05-31 11:08:22 +00:00
nand MFC r262591, r262592, r262593, r262597, r262598, r262599, r262600, r262601, 2014-05-16 12:43:45 +00:00
ncv
netfpga10g/nf10bmac MFC r264601,264646,265766,267918,267919,267920: 2014-08-16 14:30:46 +00:00
netmap MFC 270063: update of netmap code 2014-08-20 23:34:36 +00:00
nfe MFC: r266270 2014-05-31 11:08:22 +00:00
nge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
nmdm
nsp Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
ntb Remove contractions. 2013-09-05 23:14:27 +00:00
null Provide a device name in the sysctl tree for programs to query the 2012-11-01 17:01:05 +00:00
nvd Add driver-assisted striping for upcoming Intel NVMe controllers that can 2013-10-08 15:44:04 +00:00
nve Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
nvme MFC r267342: 2014-06-18 19:32:38 +00:00
nvram
nvram2env Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
nxge Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
oce MFC r267839: 2014-06-30 16:23:31 +00:00
ofw MFC r269769, r269770: 2014-08-17 01:59:54 +00:00
patm Restructure the mbuf pkthdr to make it fit for upcoming capabilities and 2013-08-24 19:51:18 +00:00
pbio
pccard
pccbb MFC 261216: 2014-01-30 19:09:59 +00:00
pcf
pci MFC r266468: 2014-06-03 06:48:35 +00:00
pcn Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
pdq Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
powermac_nvram MFC r261423, r261424, r261516, r261513, r261562, r261563, r261564, r261565, 2014-05-15 17:30:16 +00:00
ppbus Clean up SIOCSIFDSTADDR usage from ifnet drivers. The ioctl itself is 2013-09-11 09:19:44 +00:00
ppc MFC r257883: 2014-02-19 19:38:25 +00:00
pst Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
pty
puc MFC: r264257, r264327, r264514 2014-04-22 13:02:03 +00:00
qlxgb MFC 261861 2014-02-14 02:48:14 +00:00
qlxgbe MFC r258155 2013-11-22 00:26:21 +00:00
qlxge MFC r258779,r258780,r258787,r258822: 2014-02-04 03:36:42 +00:00
quicc MFC r261410 2014-05-15 16:11:06 +00:00
ral MFC: r260061 2014-04-25 22:04:40 +00:00
random MFC r267984: 2014-07-11 00:26:57 +00:00
rc
re MFC r265943: 2014-05-16 05:10:16 +00:00
rndtest Merge from project branch via main. Uninteresting commits are trimmed. 2013-10-12 15:31:36 +00:00
rp Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
rt MFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370, 2014-05-14 01:35:43 +00:00
safe Merge from project branch via main. Uninteresting commits are trimmed. 2013-10-12 15:31:36 +00:00
sbni Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
scc MFC r260057: 2014-01-04 21:32:53 +00:00
scd
sdhci MFC r264096, r264097, r264099 r264100, r264101, r264102, r264119: 2014-05-27 15:30:24 +00:00
sec MFC r261410 2014-05-15 16:11:06 +00:00
sf Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
sfxge MFC: 263302, 264461, 264772 2014-05-11 17:18:09 +00:00
sge MFC r263957: 2014-04-14 04:51:59 +00:00
si Remove incorrect comment about splsoftclock. 2013-02-21 07:19:50 +00:00
siba MFC: r266270 2014-05-31 11:08:22 +00:00
siis MFC Alexander Motin's direct dispatch, multi-queue, and finer-grained 2014-01-07 01:51:48 +00:00
sio Add support for CIR1000 - Cirrus Logic V34 to the sio driver 2012-11-13 20:38:55 +00:00
sis MFC: r266270 2014-05-31 11:08:22 +00:00
sk MFC: r266270 2014-05-31 11:08:22 +00:00
smbus
smc Disable interrupts in filter in order to avoid interrupt storm and 2012-12-13 03:33:01 +00:00
sn Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
snc Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
snp
sound MFC r268584: 2014-08-05 01:03:10 +00:00
speaker
spibus MFC r257064: 2014-01-09 18:28:58 +00:00
ste Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
stg Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
stge Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
streams Restore the previous sendfile(2) behaviour on the block devices. 2013-08-16 14:22:20 +00:00
sym MFC r259880: 2013-12-28 01:47:19 +00:00
syscons 267622 Log: 2014-07-07 14:16:05 +00:00
tdfx Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
terasic MFC r261410 2014-05-15 16:11:06 +00:00
ti Remove unused and incomplete support for delayed fragment checksums 2013-08-19 10:20:20 +00:00
tl Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
tpm MFC r260054: 2014-01-04 19:13:25 +00:00
trm Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
tsec MFC r261410 2014-05-15 16:11:06 +00:00
twa Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
twe
tws MFC r262572: 2014-03-14 00:57:32 +00:00
tx MFC: r266270 2014-05-31 11:08:22 +00:00
txp Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
uart MFC: r257808 2014-05-19 09:29:59 +00:00
ubsec Merge from project branch via main. Uninteresting commits are trimmed. 2013-10-12 15:31:36 +00:00
usb MFC r269567: 2014-08-13 08:21:52 +00:00
utopia
vge Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
viawd
virtio MFC 260847,264055,264867: 2014-07-21 00:21:56 +00:00
vkbd - Use make_dev_credf(MAKEDEV_REF) instead of the race-prone make_dev()+ 2013-09-07 13:45:44 +00:00
vmware/vmxnet3 MFC r268012, r268196: 2014-07-05 03:48:22 +00:00
vr Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
vt vt(4): Colors are indexed against a console palette, not a VGA palette 2014-08-21 10:18:42 +00:00
vte Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
vx Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
vxge MFC r260056: 2014-01-04 21:23:49 +00:00
watchdog Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
wb Give (*ext_free) an int return value allowing for very sophisticated 2013-08-25 10:57:09 +00:00
wbwd Add ID for Nuvoton WPCM450RA0BX found on Supermicro X9SCA-F motherboards. 2013-01-11 10:22:09 +00:00
wds Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
wi MFC r260444: 2014-02-17 01:36:53 +00:00
wl Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
wpi MFC: r260064 2014-04-25 22:23:38 +00:00
wtap wtap should not set the IEEE80211_F_DATAPAD flag; 2012-12-18 16:15:20 +00:00
xe Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00
xen MFC r269814: 2014-08-18 08:50:05 +00:00
xl Mechanically substitute flags from historic mbuf allocator with 2012-12-04 09:32:43 +00:00