| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Submitted by: swildner@DragonFlyBSD.org
Reviewed by: alfred
|
| |
|
| |
|
|
|
|
| |
Reviewed by: delphij
|
|
|
|
|
| |
Reviewed by: swildner@dragonflybsd.org
Reviewed by: delphij
|
|
|
|
|
| |
non-default (and unsupportable) case of setting INSTALL="install -C" in
/etc/make.conf or /etc/src.conf.
|
|
|
|
|
|
| |
precedence than ternary conditional.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
perfect, but this is just a developer seatbelt.
PR: conf/176897
Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
MFC after: 1 week
|
|
|
|
|
|
|
| |
On Intel devices, put the Factory PPR in kenv. On some FPGA boards it may
be the only software accessable unique ID.
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
|
| |
Add a simplebus attachment for cfi(4)'s FDT support and move
cfi_bus_fdt.c to sys/conf/files so non-ppc architectures are supported.
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
|
| |
Due to the requirement that tty prefixes be unique per driver, rename
the Altera JTAG UART devices to ttyj#.
Sponsored by: DARPA, AFRL
|
|
|
|
|
|
|
|
| |
!defined(LIBRARIES_ONLY) so it is only created once on architectures
with 32-bit compat support.
Replace ln -fhs with ${INSTALL_SYMLINK} to the link is logged in the
METALOG.
|
|
|
|
|
|
|
| |
Thanks to Florian Smeets for pointing this out and providing a patch.
Submitted by: Florian Smeets <flo@smeets.im>
Approved by: jimharris (mentor)
|
|
|
|
| |
logic in the individual driver.
|
|
|
|
|
|
| |
netmap mode, removing the logic from individual drivers.
(note: if_lem.c not updated yet due to some other pending modifications)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- netmap_rx_irq()/netmap_tx_irq() can now be called by FreeBSD drivers
hiding the logic for handling NIC interrupts in netmap mode.
This also simplifies the case of NICs attached to VALE switches.
Individual drivers will be updated with separate commits.
- use the same refcount() API for FreeBSD and linux
- plus some comments, typos and formatting fixes
Portions contributed by Michio Honda
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
those of some non-architectural core events. This is not a problem in the
general case as long as there's an 1:1 mapping between the two, but there
are few exceptions. For example, 3CH_01H on Nehalem/Westmere represents
both unhalted-reference-cycles and CPU_CLK_UNHALTED.REF_P.
CPU_CLK_UNHALTED.REF_P on the aforementioned architectures does not measure
reference (i.e. bus) but TSC, so there's the need to disambiguate.
In order to avoid the namespace collision rename all the architectural
events in a way they cannot be ambigous and refactor the architectural
events handling function to reflect this change.
While here, per Jim Harris request, rename
iap_architectural_event_is_unsupported() to iap_event_is_architectural().
Discussed with: jimharris
Reviewed by: jimharris, gnn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A blocking accept (and some other operations) waits on &so->so_timeo. Once
it wakes up, it will detect the SBS_CANTRCVMORE bit.
The error from accept() is [ECONNABORTED] which is not the nicest one -- the
thread calling accept() needs to know out-of-band what is happening.
A spurious wakeup on so->so_timeo appears harmless (sleep retried) except
when lingering on close (SO_LINGER, and in that case there is no descriptor
to call shutdown() on) so this should be fairly safe.
A shutdown() already woke up a blocked accept() for TCP sockets, but not for
Unix domain sockets. This fix is generic for all domains.
This patch was sent to -hackers@ and -net@ on April 5.
MFC after: 2 weeks
|
|
|
|
| |
Do not change the initialization order in pmc_intel_initialize().
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
at least if FreeBSD is ran under VirtualBox. In order to avoid the leakage,
properly deallocate structures in case CPU claims that hw performance
monitoring counters are not supported.
Reported by: hiren
|
|
|
|
|
|
|
| |
intrucion-retired, llc-misses and llc-reference events can now be
allocated.
Reviewed by: jimharris, gnn
|
|
|
|
| |
PR: 177188
|
|
|
|
| |
MFC after: 1 week.
|
|
|
|
|
|
|
|
| |
displayed properly in ifconfig, etc.
- Use the same number of tx and rx queues for a 40G port as for a 10G port.
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: Chelsio
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
-DBKTR_NEW_MSP34XX_DRIVER and -Wformat-security.
This also allows to eliminates a superfluous malloc/snprintf/free on
intermediate buffer.
PR: kern/175546
MFC after: 1 week
|
| |
|
|
|
|
| |
Obtained from: NetApp
|
|
|
|
|
|
| |
mutex for this purpose.
Reviewed by: grehan
|
|
|
|
| |
FreeBSD.
|
|
|
|
|
|
|
|
| |
Prevent access to invalid memory region when listing an empty
directory in the XenStore.
Reported by: Bei Guan
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The NTB allows you to connect two systems with this device using a PCI-e
link. The driver is made of two modules:
- ntb_hw which is a basic hardware abstraction layer for the device.
- if_ntb which implements the ntb network device and the communication
protocol.
The driver is limited at the moment to CPU memcpy instead of using DMA, and
only Back-to-Back mode is supported. Also the network device isn't full
featured yet. These changes will be coming soon. The DMA change will also
bring in the ioat driver from the project branch it is on now.
This is an initial port of the GPL/BSD Linux driver contributed by Jon Mason
from Intel. Any bugs are my contributions.
Sponsored by: Intel
Reviewed by: jimharris, joel (man page only)
Approved by: jimharris (mentor)
|
|
|
|
|
|
|
|
| |
allow the final strcpy() to start at the intended place.
Reported and tested by: pgj
Pointy hat to: kib
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
in which case unused blocks are first zeroed and then erased.
Reviewed by: mckusick
MFC after: 3 weeks
|
|
|
|
|
|
| |
PR: kern/178016
Security: CVE-2013-3266
Security: FreeBSD-SA-13:05.nfsserver
|
| |
|
|
|
|
|
| |
PR: kern/163268
MFC after: 1 week
|
|
|
|
| |
remove $Id$ lines, and add blank lines around some #if / #elif /#endif
|
|
|
|
|
|
| |
Submitted by: Sascha Wildner <saw online de>
Obtained from: DragonFly
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
Remove the compatibility code added in 2011-02-10.
This change is not intended for MFC
Reviewed by: imp
|
|
|
|
|
|
|
|
| |
* That lock isn't actually held during reset - just the whole TX/RX path
is paused. So, remove the assertion.
* Log the TX queue status - how many hardware frames are active in the
MAC and whether the queue is active.
|
|
|
|
|
|
| |
fixes panic on unload.
Reported by: pho
|
| |
|