239020 Commits

Author SHA1 Message Date
ozaki-r
b86b70a179 Don't assign unused IP address
It sometimes creates an unexpected NDP cache.
2015-11-18 04:13:01 +00:00
ozaki-r
7cdf5bbe65 Unify nd6_ns_output calls in nd6_llinfo_timer
Inspired by FreeBSD
2015-11-18 02:51:11 +00:00
christos
057be2c9f2 If MAX_BSIZE == hashp->BSIZE (65536) then it does not fit in a short, and
we end up storing 0... This means that every entry needs a page. We store
MAX_BSIZE - 1 here, but it would be better to always store (avail - 1) here
so that we don't waste a byte and be consistent.
2015-11-18 00:23:39 +00:00
jakllsch
1f4f07e05b Add PCI Extended Configuration support for tegrapcie(4).
Similar to the acpimcfg code, this only maps the extended configuration
space into KVA for known busses.
2015-11-17 22:01:39 +00:00
christos
8b926f831a PR/50441: Manuel Bouyer: hash seq enumeration skips keys on big data.
XXX: pullup-7
2015-11-17 20:19:55 +00:00
msaitoh
30cc026319 - ARI's function group is not bit 32-24 but 22-20.
- Add the Structure Length field in AF capability register.
- Add Enhanced Allocation extended capability ID (ECN: Enhanced Allocation (EA)
  for Memory and I/O Resources).
- Add LN System CLS (ECN: Lightweight Notification (LN) Protocol).
- Add ST Upper and Lower bit definitions (ECN: TLP Processiong Hints).
- Add the Global Invalidate bit in the ATS capability register and the PRG
  Response PASID Required bit in the Page Request status register (ECN: PASID
  Translation)
- Decode ASPM support bit more (ECN: ASPM Optionally)
- Use __BITS()
2015-11-17 18:26:50 +00:00
msaitoh
9931e08a9f No functional change:
- Add comments.
 - Remove obsolete comment.
 - Move definitions to better location.
 - Rename bit definition.
 - KNF.
 - Indent.
2015-11-17 17:51:42 +00:00
jakllsch
098138c412 Switch PCI athn(4) attachment from pci_intr_map() to
pci_intr_alloc()/pci_intr_release(), this enables MSI where available.
2015-11-17 17:15:29 +00:00
macallan
b9de1f8955 Long overdue suggestions from Taylor Campbell and a few syntax/style
tweaks from myself.

From Michael McConville
2015-11-17 16:53:21 +00:00
jakllsch
ff955c277f Revert changes of athn.c r1.8.
- aprint_normal is correct for the attach message
 - KNF adjustments in code we sync with upstream are a nuisance
 - aprint_error{,_dev}() is inappropriate for use in runtime code
2015-11-17 16:37:22 +00:00
hannken
043a0ecd5d Replace SIMPLEQ_FOREACH with SIMPLEQ_FOREACH_SAFE to prevent use-after-free. 2015-11-17 10:34:04 +00:00
ozaki-r
d54fcc93ce Add tests for GC of neighbor caches 2015-11-17 06:44:13 +00:00
pooka
35ce72762f Fix argument to empty()
Guess none of the fast-running tests exercised the
component being initialized ...
2015-11-17 01:07:34 +00:00
jakllsch
bd3ae4e6bc Do not clear the PCIe interrupt until we've allowed its cause to become
deasserted.  This halves the PCIe interrupt rate.
2015-11-17 00:08:33 +00:00
pooka
eda4460d2b Use IOCONF #define to determine component name.
Avoids having to manually retype info already in .ioconf.

Also, COMPONENT_SIMPLE -> RUMP_COMPONENT=simple.  That way, we can add
other attributes where necessary.  As "future directions", the "ioconf"
attribute for RUMP_COMPONENT can just be removed when a driver is
converted to modular and has a proper modcmd.
2015-11-16 23:27:07 +00:00
jmcneill
bd7b975898 initialize allocated gem object memory to 0 2015-11-16 21:41:29 +00:00
phx
ce99ffa7ea wscons and Xorg support for CirrusLogic GD542x based boards (grf3). 2015-11-16 21:25:34 +00:00
phx
2bf6198c32 Fixed bug in wsdisplay copyrows textop.
Fixed WSDISPLAYIO_SVIDEO, which had inverted functionality.
Improved FBINFO setup. 15 and 16 bits depth both have 16bpp now.
2015-11-16 21:24:06 +00:00
jmcneill
99ca455981 commit window changes when updating base 2015-11-16 21:14:51 +00:00
jmcneill
8797104197 use XRGB8888 for framebuffer 2015-11-16 21:14:33 +00:00
christos
fcc3c9564a PR/50434: Louis Guillaume: Bump the in and out formats to 511 (NAME_MAX) 2015-11-16 17:09:56 +00:00
christos
d59d77037c - update NAME_MAX to match the kernel.
- add a comment about where the constant is used.
2015-11-16 17:06:47 +00:00
msaitoh
78cac4e704 Add Braswell PCU SMBus. 2015-11-16 15:01:22 +00:00
msaitoh
2cb5ced466 Regen. 2015-11-16 15:00:13 +00:00
msaitoh
7d58b53c7f Change macro name of Braswell PCU SMBus. 2015-11-16 14:59:45 +00:00
msaitoh
31350bb457 Regen. 2015-11-16 14:20:00 +00:00
msaitoh
91c255d2ec Add Braswell devices from "Table 23-4 PCI Devices and Functions,
N-Series Intel Pentium Processorts and Intel Celeron Processors Datasheet
(Document Number: 332093-001)"
2015-11-16 14:19:39 +00:00
bouyer
050d2bcdd9 Remove USB HID entries, they're already in usbdevices.config 2015-11-16 12:35:54 +00:00
jnemeth
6141a178e3 correctly print the gpt header revision as a "float" 2015-11-16 12:24:13 +00:00
msaitoh
addef40090 Define PCIE_XCAP_{VER,TYPE}(x) and use them. 2015-11-16 09:10:58 +00:00
ozaki-r
17001ea619 Add missing rtfree 2015-11-16 05:39:39 +00:00
mrg
b6e10eb27c note cpuctl and multiple-cpu support. 2015-11-16 03:38:18 +00:00
mrg
d94f57291f allow most commands to specify more than one cpu. now you can online or
offline (or identify, or intr/nointr) a list of cpus all together.
2015-11-16 03:34:50 +00:00
mrg
f94c9137cf convert getcpuid() to take char* not char** 2015-11-16 02:04:32 +00:00
mrg
0e5e5d5b01 use stdbool.h 2015-11-16 02:02:41 +00:00
jmcneill
a85a846423 disable data island packet transmission on Tegra124 HDMI codec 2015-11-15 23:03:50 +00:00
jakllsch
3bf079f55c Avoid NULL dereference in linux_worker_intr() in WORK_DELAYED_CANCELLED case.
Potentially fixes PR#49560.
2015-11-15 22:56:24 +00:00
bouyer
4a42ef10b1 Add genfb1, awindebe1, and awintcon1. These will attach if the fex
script request them.
While there add USB HID, keyboard, mouse and touchscreen.
If you have a display you'll most proabbly want input devices too.
2015-11-15 21:31:29 +00:00
bouyer
dd1e9ee14e Add support for LVDS output on tcon0. Tested with a full HD LVDS display.
Other LCD interfaces not supported yet, mostly by lack of hardware.
The LVDS output and timings are set from the FEX script.
2015-11-15 21:28:54 +00:00
martin
c6240a4b43 PR 32999: adjust VM parameters for 64 bit kernel/userlands.
Limit old binaries (i.e. processes not using topdown VA layout) to 2 GB
data size.
Use the same limits as native sparc for netbsd32 emulation - we need to
revisit this, but currently automatic test runs in this environment
fail big time, so there is no easy way to verify any changes.
2015-11-15 20:35:33 +00:00
plunky
11e6538c0e Antti is Kantee 2015-11-15 19:44:31 +00:00
pooka
d97f016d89 Always descend into component directories for rumpdescribe. 2015-11-15 16:54:16 +00:00
bouyer
d4845d0072 Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbjörn Granlund on port-xen@
2015-11-15 14:42:03 +00:00
jmcneill
8bb09c02f2 If we are going to be doing read/modify/write in triple-buffered mode, make sure we don't read back the buffered values and not the active ones 2015-11-15 14:39:12 +00:00
pooka
33a1fe2a2d describe => rumpdescribe 2015-11-15 13:50:10 +00:00
isaki
e95d7bfcc6 Correct the x68k's Backspace key behavior.
With this fix, the Backspace key on x68k keyboard erases
previous one character, instead of outputting '^?' character.
Reported by Yasushi Oshima (two months ago..)
2015-11-15 06:43:17 +00:00
pgoyette
276f2f0e73 Add the newly-created wapbl module to the sets list. 2015-11-15 03:13:18 +00:00
pgoyette
d00d1cd7dc Actually create the wapbl module, since it works. 2015-11-15 03:12:14 +00:00
pgoyette
3b2f494e00 Enable the module's MODULE_CMD_FINI action. It actually works as
intended.
2015-11-15 03:09:39 +00:00
pgoyette
4873380492 If file system ffs is built with WAPBL defined, make sure that the
module depends on the wapbl module.

No impact to users of built-in ffs file system code, as the WAPBL
#define will cause inclusion of the code in the kernel.

A standard build of the modular ffs file system code will #define
WAPBL, so the module will only work on a kernel which was also
built with WAPBL defined (or, once I commit it, with a dynamically-
loaded wapbl module).
2015-11-15 01:39:23 +00:00