Age | Commit message (Collapse) | Author |
|
|
|
with the RS780E chipset.
OK kettenis@, jsg@
|
|
changes to set the appropriate clock. Add a sc_statchg callback in the
core softc that gets called when the link status changes.
|
|
on various Rockchip SoCs.
This is still WIP. Next steps will be to get rid of various busy-wait loops
and add DMA support.
|
|
|
|
O.K. bluhm@
|
|
variants.
ok jsg@, deraadt@
|
|
Restore behaviour from before the fix of the botched R92C_USTIME_TSF register
definition. IQ cal code was referring to this register by name, but actually
needs to use the old value. So add a register definition for the old value
under a new name (R92C_BCN_CTRL1) and use this name in the IQ cal code.
Discussed with Kevin Lo
|
|
This card can now receive packets. Transmit is still broken and
Kevin Lo reports that his 2T2R AR9380 device cannot receive yet.
|
|
More closely matches what other drivers are doing.
|
|
Useful for development and testing but not recommended for regular usage.
|
|
without needing a previously created state by MLD Listener Query. It
wasn't working because: (1) you might not have a previous MLD Listener
Query and (2) the addresses of the Query and Report don't match.
ok mikeb@, sashan@
|
|
According to Kevin Lo it was wrong (and is also wrong in the Linux driver).
FreeBSD made the same change in r282623.
Patch by Kevin Lo.
|
|
ok krw@
|
|
|
|
|
|
OK kettenis@
|
|
OK kettenis@
|
|
this properly identifies the registers used as input and output
operands to the code running in the trap handler, and passes them
to the asm statement as such. this means we dont have to do an extra
copy in the asm, or an extra clobber to keep the compiler away from
the registers. it also lets gcc set up and use the input register
nicely before it reaches the asm.
ok kettenis@
|
|
ok deraadt@, millert@, stefan@
|
|
"your chicken scratches look fine to me" deraadt@
|
|
when calling in_ioctl(). These ioctls modify the routing table,
which is global. So they need the lock.
Found with Zaur Molotnikov's static lock analyzer.
OK gerhard@ mpi@
|
|
tested by Jan Stary
|
|
<netinet/tcp_debug.h>.
The IPv6 variant was always included and the IPv4 version is not
present on all systems.
Most of the offending ports are already fixed, thanks to sthen@!
|
|
packets. This is the IP in IP protocol input function, so call it
ipip_input(). Rename the existing ipip_input() to ipip_input_gif()
as it is the input function used by the gif interface. Pass the
address family to make it consistent with pr_input. Use __func__
in debug print and panic messages. Move all ipip prototypes to the
ip_ipip.h header file.
OK dhill@ mpi@
|
|
add copyin32(9) as a simple C wrapper around it. These wrappers do check
alignment and return EFAULT if the userland pointer is misaligned. This is
enough to guarantee that the access doesn't cross a cache line boundary which
could make the access non-atomic.
ok mpi@, visa@, tedu@
|
|
|
|
Don't deref an IEEE80211_CHAN_ANYC channel pointer.
ok mpi@
|
|
If the rwlock passed to rwsleep(9) is contented, the CPU will call wakeup()
between sleep_setup() and sleep_finish(). At this moment curproc is on the
sleep queue but marked as SONPROC. Avoid panicing in this case.
Problem reported by sthen@
ok kettenis@, visa@
|
|
control register to enable alignment fault exceptions if the stack
pointer is not correctly aligned when used as a base address in load or
store instructions.
drahn@ pointed out that FreeBSD made this change in svn rev 295270 and
believes we should do the same.
|
|
Pointed out by deraadt@
|
|
Suffered by many, the revert tested by stsp@.
|
|
out what is going on. There were also some inconsistencies that
seem to be oversights. Use more specific the #ifdefs.
OK mpi@
|
|
m_copym() for cloning packets. m_dup_pkt() creates a new mbuf with the
whole packet content and also pre allocates the space for layer 2
headers (Ethernet/VLAN).
ok mikeb@
|
|
Testing help from fcambus@
|
|
ok bluhm@
|
|
Outside of USB, no code is executed in a softnet interrupt context. So
what's protecting NFS data structures is the KERNEL_LOCK().
But more importantly, since r1.114 of nfs_socket.c, the 'softnet' thread
is no longer executing NFS code.
ok visa@
|
|
A deadlock can occur when the uvm_km_thread(), running without KERNEL_LOCK()
is interrupted by and non-MPSAFE handler while holding the pool's mutex. At
that moment if another CPU is holding the KERNEL_LOCK() and wants to grab the
pool mutex, like in sys_kbind(), kaboom!
This is a temporaty solution, a more generate approach regarding mutexes and
un-KERNEL_LOCK()ed threads is beeing discussed.
Deadlock reported by sthen@, ok kettenis@
|
|
|
|
|
|
we actually don't need to pre-allocate per_anchor_stack[], if we use
a 'natural' recursion, when doing anchor tree traversal.
O.K. mikeb@, mpi@
|
|
ok mpi@, visa@
|
|
/usr/src/sys/dev/ic/re.c:1602: warning: ignoring alignment for stack allocated 'mh'
So instead add explicit padding on ILP32 systems.
ok deraadt@, mikeb@
|
|
_mtx_init uses __MUTEX_IPL to wrap the ipl argument to __mtx_init.
without this, mutexes were initted below the mp floor, which allowed
deadlocks with the kernel lock to occur.
reported by hrvoje popovski and pinpointed by mikeb@
tweaks from phessler@
ok mpi@ visa@
|
|
* use a variable to allow disabling debugs on run-time
* fix a potential memory leak on copyout() failure
* don't just blindly use the first address provided by ifalist
ok bluhm@
|
|
ok bluhm@
|
|
ok visa@
|
|
|
|
ok bluhm@
|
|
instead of implementing its own. This makes the IPv6 multicast routing
code look more like the IPv4 version.
ok bluhm@, mpi@
|