| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
and use that instead of manual list searches in a couple of places.
|
|
|
|
|
|
|
|
|
| |
completely understand], md_takeroot() runs before md_preloaded(),
rendering both useless.
As a fix, move the body (effectively one line!) of md_takeroot()
into md_preloaded(), and get rid of the stuff that has become useless.
Bug and fix reported 10 days ago on -current, no reply.
|
| |
|
|
|
|
|
| |
Reviewed by: ru
Approved by: silence on the lists
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the driver's RX ring head may fall behind the chip, causing the
stuck traffic, disordered packets, etc. Work around this by
adopting the technique of resyncing RX head used in dc(4) and
xl(4) drivers, but do it in a slightly different place to reduce
the number of resyncs needed.
Also, set the NIC's RX polling period to a more meaningful value,
to stop overloading the PCI bus (this also reduces the number of
resyncs by a factor of 3 or more in a long run; the actual number
is very dependent on a nature of the traffic).
Maintain the statistics counter as the hw.ste_rxsyncs sysctl.
In cooperation with: Vsevolod Lobko
OK'ed by: ambrisko
MFC after: 5 days
|
|
|
|
| |
MFC after: 5 days
|
|
|
|
| |
options to NOTES.
|
|
|
|
| |
kernel build.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is just groundwork for changing sysresource behavior.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
|
|
|
|
| |
Pointed out by: njl
|
|
|
|
| |
Maintain numeric sort order.
|
|
|
|
| |
Maintain listing of DLT link types in numeric order.
|
|
|
|
|
|
|
|
|
|
| |
they all do and handle that without alarming the user. Also pull in a bit
of defensive code from OpenBSD that triggers when a card is recognised but
not properly classified as either Genesis or Yukon. Not that I could ever
have needed this. :-)
Obtained from: OpenBSD/NetBSD (partially)
MFC after: 2 weeks
|
|
|
|
| |
/sys/conf/options and into /sys/conf/NOTES
|
| |
|
|
|
|
|
|
|
| |
not ~1, but the call has been switched over to bus_alloc_resource_any()
which has the same effect.
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
|
|
|
|
|
|
|
|
| |
declaration. Observe that initialization in declaration is
frequently incompatible with locking, not just a bad idea
due to style(9).
Submitted by: bde
|
|
|
|
|
| |
roughly four times faster than bcopy() for uncached pages.
- Sort the function prototypes in md_var.h.
|
|
|
|
|
|
|
|
|
|
| |
and consume that interface in portalfs and fifofs instead. In the
new world order, unp_connect2() assumes that the unpcb mutex is
held, whereas uipc_connect2() validates that the passed sockets are
UNIX domain sockets, then grabs the mutex.
NB: the portalfs and fifofs code gets down and dirty with UNIX domain
sockets. Maybe this is a bad thing.
|
|
|
|
|
|
|
|
| |
read-only. Need to enable "legacy support", by poking
into pci config space. (comment from the patch)
Submited by: Autrijus Tang <autrijus@autrijus.org>
Approved by: tanimura (mentor)
|
|
|
|
|
|
|
| |
o add support for controlling the 11g protection mechanism used
to protect OFDM frames in a mixed 11b/g network
Reviewed by: imp
|
|
|
|
|
|
| |
up (IFF_UP). This eliminates extraneous AP scanning.
Reviewed by: imp
|
|
|
|
|
|
|
|
| |
No functional change, the previous ste_encap() was correct WRT
long mbuf chains; this just reduces code duplication.
MFC after: 3 days
Prodded by: ambrisko
|
| |
|
|
|
|
|
|
|
|
| |
#ifdefs in order to loop it back to OpenBSD after the next import. There are
a some implicit asserts involved which might be better spelled out
explicitly (af == AF_INET ...)
Approved by: bms(mentor)
|
|
|
|
|
|
|
| |
least unbreak the build.
Pointy hat to: peter
Not tested either by: benno
|
|
|
|
|
|
|
| |
This fixes the VLAN support for nge(4).
Reported by: Jacob S. Barrett
MFC after: 3 days
|
|
|
|
| |
Mostly submitted by: bde
|
|
|
|
|
|
| |
is necessary because some IBMs use recursive methods (pointed out by
Robert Moore from Intel). The latter was a typo on my part. It was disabled
by default when it should have been enabled.
|
|
|
|
|
| |
some nearby bugs (rotted and missing comments). Use similar wording
for describing broken options.
|
|
|
|
|
|
| |
the *bp.
Obtained from: DragonFlyBSD
|
|
|
|
|
| |
PATA/SATA RAID controllers. This driver is a SIM under CAM, and
so, behaves like a driver for a SCSI controller.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
stuff was here (NFS) was fixed by Alfred in November. The only remaining
consumer of the stub functions was umapfs, which is horribly horribly
broken. It has missed out on about the last 5 years worth of maintenence
that was done on nullfs (from which umapfs is derived). It needs major
work to bring it up to date with the vnode locking protocol. umapfs really
needs to find a caretaker to bring it into the 21st century.
Functions GC'ed:
vop_noislocked, vop_nolock, vop_nounlock, vop_sharedlock.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add tun_mtx to tun_softc. Annotate what is (and isn't) locked by it.
- Lock down tun_flags, tun_pid.
- In the output path, cache the value of tun_flags so it's consistent
when processing a particular packet rather than re-reading the field.
- In general, use unlocked reads for debugging.
- Annotate a couple of places where additional unlocked reads may be
possible.
- Annotate that tun_pid is used as a bug in tunopen().
if_tun is now largely MPSAFE, although questions remain about some of
the cdevsw fields and how they are synchronized.
|
|
|
|
| |
dereferenced character pointer to '\0' instead of using the ! operator.
|
|
|
|
| |
glide path for the 5.x branch.
|
|
|
|
| |
files still #included the opt_ file. powerpc hadn't been updated yet.
|
|
|
|
|
|
| |
other pseudo-interfaces, break out tear-down of a softc into a
separate tun_destroy() function, and invoke that from the module
unloader. Hold tunmtx across manipulations of the global softc list.
|
|
|
|
|
|
|
| |
simplify the impact of locking on these functions.
Submitted by: sam
Sponsored by: FreeBSD Foundation
|
|
|
|
|
| |
the function once it has been determined to be non-NULL to simplify
locking on an earlier return.
|
|
|
|
| |
otherwise, assert Giant in the callouts.
|
|
|
|
| |
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| |
| | |
socket-specific system calls based on debug.mpsafenet, rather than
acquiring Giant unconditionally.
|
| |
| |
| |
| |
| |
| | |
emulation, instead of treating it as an unimplemented syscall.
Requested by: marcel
|