Commit Graph

238939 Commits

Author SHA1 Message Date
wiz 09534ff4a3 Bump date for previous. 2015-11-19 07:03:13 +00:00
marty bf9db215fe add 5422 gic handling to attach code 2015-11-19 05:44:41 +00:00
ozaki-r 53e3e4714d Restore softnet_lock and KERNEL_LOCK for rtrequest and rtfree
We still need them for rt operations.
2015-11-19 03:03:04 +00:00
ozaki-r 0edb16352e Call icmp6_error2 after releasing ln
This is a restructuring for coming changes.

From FreeBSD
2015-11-19 03:02:10 +00:00
christos 35bfced80d Put these back. They are used. 2015-11-19 00:40:43 +00:00
phx c835c55cd9 Patch by hannken@ to fix a bug which has been introduced with 1.71.
The kernel crashed with uvm fault when mounting an ados file system.
2015-11-18 22:06:25 +00:00
skrll ed7c71fc9a Remove unused files. 2015-11-18 20:25:02 +00:00
christos 8e68c59073 Add new db test. 2015-11-18 18:36:53 +00:00
christos 2bfc5fd1e4 Add more exhaustive db tests that include higher bucket sizes 2015-11-18 18:35:35 +00:00
christos 14fcefd52e Introduce a HASH_BSIZE macro to return the blocksize; in the 64K case this
returns 0xffff to avoid overflow. This is used where sizes are stored.
2015-11-18 18:22:42 +00:00
jakllsch e26793fb01 Add support for the AR5BHB63 ath(4) (the only ath(4) in Half Mini Card
form that isn't supported by athn(4)).
2015-11-18 18:04:45 +00:00
jakllsch 8c719f5f2b Note the interrupt for Tegra MC in the locators list. 2015-11-18 17:12:06 +00:00
jakllsch 009c795f13 Complete the interrupt definitions list from the Tertiary Interrupt
Controller range of the Tegra K1.
2015-11-18 17:01:39 +00:00
christos be39cd8f18 reapply 1.25 to fix upstream inconsistencies 2015-11-18 16:16:36 +00:00
pgoyette 9d449a8fd8 Update RETURN VALUE to match reality and POSIX 2015-11-18 13:19:52 +00:00
christos 60aa2a0eb6 Account for the -1 hack to fit 0x10000 in a short in hash_page.c 2015-11-18 13:00:46 +00:00
msaitoh 87c2fc6098 Delete #ifdef __HAVE_PCI_MSI_MSIX and use pci_intr_allo()/pci_intr_release()
on any systems. The third argument of pci_intr_alloc() is left because we will
use the code to support MSI-X in future.
2015-11-18 10:26:57 +00:00
ozaki-r 5d81659a46 Stop passing llinfo_nd6 to nd6_ns_output
This is a restructuring for coming changes to nd6 (replacing
llinfo_nd6 with llentry). Once we have a lock of llinfo_nd6,
we need to pass it to nd6_ns_output with holding the lock.
However, in a function subsequent to nd6_ns_output, the llinfo_nd6
may be looked up, i.e., its lock would be acquired again.
To avoid such a situation, pass only required data (in6_addr) to
nd6_ns_output instead of passing whole llinfo_nd6.

Inspired by FreeBSD
2015-11-18 05:16:22 +00:00
msaitoh 389a184aab - Add the Auto Slot Power Limit Disable bit in Slot Control register and
the Completion Timeout Prefix/Header Log Capable bit in the AER capability
  and control register (ECN: Downstream Port Containment (DPC)).
- Add the Poisoned TLP Egress Block bit (ECN: Enhanced DPC).
- Update Link Capabilities 2 register and Link Control 3 register (ECN:
  Separate Refclk Independent SSC Architecture (SRIS))
- ECN: Readiness Notifications (RN)
- Add the Retimer Presence Detect Supported bit in the Link Capabilities 2
  register and the Retimer Presence Detected bit in the Link Status 2 register
  (ECN: Extension Devices)
2015-11-18 04:24:02 +00:00
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