summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Import new libcxxrt / libc++. This brings some bug fixes, including a ↵theraven2013-07-1041-1623/+2384
| | | | potential race condition for static initialisers.
* Add vfs_mounted and vfs_unmounted events so that components can be informedmarcel2013-07-102-2/+14
| | | | | | | | | | | | | | | | | about mount and unmount events. This is used by Juniper to implement a more optimal implementation of NetBSD's veriexec. This change differs from r253224 in the following way: o The vfs_mounted handler is called before mountcheckdirs() and with newdp locked. vp is unlocked. o The event handlers are declared in <sys/eventhandler.h> and not in <sys/mount.h>. The <sys/mount.h> header is used in user land code that pretends to be kernel code and as such creates a very convoluted environment. It's hard to untangle. Submitted by: stevek@juniper.net Discussed with: pjd@ Obtained from: Juniper Networks, Inc.
* Extend debug logging of TCP timestamp related specificationandre2013-07-102-5/+42
| | | | | | violations. Update related comments and style.
* Report error for out-of-range numerical inputs. Requested by brooks.theraven2013-07-101-0/+8
|
* Fix build for gcc users by declaring variables for unions in structs whichnetchild2013-07-101-7/+7
| | | | | | | | don't declare a variable. The size before/after this change of the structs doesn't change with gcc/clang. Noticed by: several Suggested by: Gary Jennejohn <gljennjohn@googlemail.com>
* Remove trailing whitespaces.ray2013-07-101-6/+6
|
* When panicing due to the gjournal overflow, print the geom metadatakib2013-07-101-1/+3
| | | | | | | journal id. Requested by: Andreas Longwitz <longwitz@incore.de> MFC after: 1 week
* Clear m->object for the page taken from the delayed free list forkib2013-07-101-0/+1
| | | | | | | | | | reuse as the pv chink page in reclaim_pv_chunk(). Having non-NULL m->object is wrong for page not owned by an object and confuses both vm_page_free_toq() and vm_page_remove() when the page is freed later. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 3 days
* Adding urtwn(4) firmware and related changes.hiren2013-07-1012-2/+680
| | | | | Reviewed by: rpaulo Approved by: sbruno (mentor)
* Install authpf-noip.des2013-07-101-0/+3
| | | | MFC after: 3 days
* Add the ARM processor-specific section types.kevlo2013-07-101-0/+7
| | | | Reviewed by: imp
* Avoid controller reinitialization which could be triggered byyongari2013-07-101-0/+6
| | | | | | dhclient(8) or alias addresses are added. Tested by: dcx dcy <dcbsdx@hotmail.com>
* Refactor random_systat to be a *random_systat. This avoids unnecessaryobrien2013-07-094-27/+27
| | | | | | | | | structure copying in random_ident_hardware(). This change will also help further modularization of random(4) subsystem. Submitted by: arthurmesh@gmail.com Reviewed by: obrien Obtained from: Juniper Networks
* Adjust comments to fit within 80-columns.dteske2013-07-091-4/+4
|
* - As it turns out, not only MSI-X is broken for devices passed through bymarius2013-07-094-36/+77
| | | | | | | | | | | | | | | | | VMware up to at least ESXi 5.1. Actually, using INTx in that case instead may still result in interrupt storms, with MSI being the only working option in some configurations. So introduce a PCI_QUIRK_DISABLE_MSIX quirk which only blacklists MSI-X but not also MSI and use it for the VMware PCI-PCI-bridges. Note that, currently, we still assume that if MSI doesn't work, MSI-X won't work either - but that's part of the internal logic and not guaranteed as part of the API contract. While at it, add and employ a pci_has_quirk() helper. Reported and tested by: Paul Bucher - Use NULL instead of 0 for pointers. Submitted by: jhb (mostly) Approved by: jhb MFC after: 3 days
* Sync with KAME.delphij2013-07-092-5/+4
| | | | MFC after: 1 month
* Fix conditional (der should match the comment above it).dteske2013-07-091-1/+1
| | | | MFC after: 1 day
* Do two things: First, don't obscure the backtitle. Second, read ~/.dialogrcdteske2013-07-091-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | if it exists to determine if use_shadow is true (ON) or false (OFF). The purpose of determining the value of use_shadow is to know how many lines to subtract from the maximum height value in assuring that the backtitle is not obscured. The detriment of obscuring the backtitle is that it provides information that is not easily obtained elsewhere. That is the command-line shortcut used to access the current menu. As you navigate from one dialog to the next, invariably transparently corssing module boundaries, the backtitle represents the command-line argument used to get there. Obscuring this information with a widget that is too-tall and/or too-wide would see that data go unnoticed (leaving few other ways to get that information in the same helpful context). So despite the fact that this change reduces the standard maximum height for all widgets, there is a trap-door to prevent this calculation. If you want to utilize the full screen height on the terminal (remember, this adjustment is not made for Xdialog(1)) you can set $NO_BACKTITLE to 1 (or any non-NULL value for that matter) and this calculation will be skipped. You will be able to draw a widget that partially obscures the backtitle if-necessary. MFC after: 1 day
* Ensure controller or namespace node name is specified before trying tojimharris2013-07-092-1/+5
| | | | | | | | | | access it. While here, also fix the identify usage message to show the -v and -x parameters. Sponsored by: Intel MFC after: 3 days
* Condense the output for displaying LBA formats.jimharris2013-07-091-6/+4
| | | | | Sponsored by: Intel MFC after: 3 days
* Send per-namespace logpage commands to the controller devnode, so theyjimharris2013-07-094-57/+53
| | | | | | | | | | | are processed as admin commands, not I/O commands. As part of this change, pull out the code for parsing a namespace node string into a separate function, since it is used for both identify and logpage commands. Sponsored by: Intel MFC after: 3 days
* Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.hjimharris2013-07-091-0/+4
| | | | | | | if not already defined elsewhere. Requested by: attilio MFC after: 3 days
* Update copyright dates.jimharris2013-07-0910-10/+10
| | | | MFC after: 3 days
* Update nvme(4) and nvd(4) to reflect recent work and upcoming inclusionjimharris2013-07-092-30/+12
| | | | | | | in 9.2 release. Sponsored by: Intel MFC after: 3 days
* Try to read firmware image before prompting the user to confirmjimharris2013-07-091-1/+3
| | | | | | | | | firmware download. This correctly prints an error and exits for an incorrect firmware image name before prompting the user to confirm the download. Sponsored by: Intel MFC after: 3 days
* Incorporate feedback from bde@ based on r252672 changes:jimharris2013-07-097-204/+134
| | | | | | | | | | | | * Use 0/1 instead of sysexits. Man pages are confusing on this topic, but 0/1 is sufficient for nvmecontrol. * Use err function family where possible instead of fprintf/exit. * Fix some typing errors. * Clean up some error message inconsistencies. Sponsored by: Intel Submitted by: bde (parts of firmware.c changes) MFC after: 3 days
* Do not retry failed async event requests.jimharris2013-07-091-5/+5
| | | | | Sponsored by: Intel MFC after: 3 days
* Add pci_enable_busmaster() and pci_disable_busmaster() calls injimharris2013-07-091-0/+3
| | | | | | | nvme_attach() and nvme_detach() respectively. Sponsored by: Intel MFC after: 3 days
* There are several code sequences likekib2013-07-096-8/+25
| | | | | | | | | | | | | | | | | | | vfs_busy(mp); vfs_write_suspend(mp); which are problematic if other thread starts unmount between two calls. The unmount starts a write, while vfs_write_suspend() drain writers. On the other hand, unmount drains busy references, causing the deadlock. Add a flag argument to vfs_write_suspend and require the callers of it to specify VS_SKIP_UNMOUNT flag, when the call is performed not in the mount path, i.e. the covered vnode is not locked. The suspension is not attempted if VS_SKIP_UNMOUNT is specified and unmount is in progress. Reported and tested by: Andreas Longwitz <longwitz@incore.de> Sponsored by: The FreeBSD Foundation MFC after: 3 weeks
* Fix the handling of SCTP_CURRENT_ASSOC and SCTP_ALL_ASSOC intuexen2013-07-091-0/+5
| | | | | | sctp_opt_info(). MFC after: 3 days
* Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled bytuexen2013-07-091-0/+3
| | | | | | sctp_opt_info(). MFC after: 3 days
* Nearly a complete rewrite of elf.h.imp2013-07-091-187/+182
| | | | | | | | | | | | | | | | | | | | | | Start with NetBSD's sys/arch/mips/include/elf_machdep.h 1.18. Remove the NetBSD specific glue pieces (leaving mostly just relocation types). Add in FreeBSD specific glue pieces from older versions of this file, and move to the top of the file: r237430 | kib | 2012-06-22 00:38:31 -0600 (Fri, 22 Jun 2012) | 5 lines r232449 | jmallett | 2012-03-03 01:19:18 -0700 (Sat, 03 Mar 2012) | 18 lines r217097 | kib | 2011-01-07 07:22:34 -0700 (Fri, 07 Jan 2011) | 3 lines r211412 | kib | 2010-08-17 02:55:45 -0600 (Tue, 17 Aug 2010) | 7 lines r202908 | gonzo | 2010-01-23 19:59:22 -0700 (Sat, 23 Jan 2010) | 4 lines r195356 | imp | 2009-07-05 01:00:51 -0600 (Sun, 05 Jul 2009) | 6 lines r195128 | gonzo | 2009-06-27 17:27:41 -0600 (Sat, 27 Jun 2009) | 4 lines r197933 | kib | 2009-10-10 09:31:24 -0600 (Sat, 10 Oct 2009) | 9 lines r189926 | kib | 2009-03-17 06:50:16 -0600 (Tue, 17 Mar 2009) | 9 lines r186191 | imp | 2008-12-16 13:07:47 -0700 (Tue, 16 Dec 2008) | 7 lines as closely as I can tell, the projects/mips branch merge was disruptive to good history. This should make merges easier in the future from NetBSD and vice versa.
* Remove redundant definitions to appease tinderbox.jkim2013-07-092-7/+3
|
* Correct the size of allocated memory to store array of counters.ae2013-07-091-3/+4
|
* Correct CTASSERT condition.ae2013-07-091-1/+2
|
* Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statisticstuexen2013-07-091-2/+2
| | | | | | accounting. X-MFC with: r252026
* Reinstate the assertion from r253045.pfg2013-07-091-2/+2
| | | | | | | UFS r232732 reverted the change as the real problem was to be fixed at the syscall level. Reported by: bde
* Fix typo in comment.kib2013-07-091-1/+1
| | | | MFC after: 3 days
* Use MSI for xhci(4), if supported.kib2013-07-092-6/+19
| | | | | | | Reviewed by: jhb Tested by: dchagin Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Make mandoc lint happy.joel2013-07-091-3/+2
|
* Added 4K QUIRK for OCZ Vertex 4 SSDssmh2013-07-092-0/+16
| | | | | Submitted by: Borja Marcos <borjam@sarenet.es> MFC after: 2 days
* Allow assert() to operate correctly when building userland code.rmh2013-07-091-1/+3
|
* Bump __FreeBSD_version to reflect changes in statistics structures.ae2013-07-092-1/+6
|
* Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat,ae2013-07-0915-60/+99
| | | | ipsec4stat, ipsec6stat to PCPU counters.
* Migrate struct carpstats to PCPU counters.ae2013-07-093-9/+25
|
* Migrate structs in6_ifstat and icmp6_ifstat to PCPU counters.ae2013-07-093-19/+42
|
* Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters.ae2013-07-099-26/+49
|
* Migrate structs arpstat, icmpstat, mrtstat, pimstat and udpstat to PCPUae2013-07-0912-46/+68
| | | | counters.
* Use new macros to implement ipstat and tcpstat using PCPU counters.ae2013-07-097-291/+42
| | | | Change interface of kread_counters() similar ot kread() in the netstat(1).
* Add several macros to help migrate statistics structures to PCPU counters.ae2013-07-092-0/+68
|
OpenPOWER on IntegriCloud