Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
ok miod
|
|
|
|
|
|
off.
|
|
|
|
(OpenBSD does not use strcat/strcpy in the kernel, if people do it in
external modules they should update their code)
ok deraadt@
|
|
|
|
|
|
|
|
|
|
We need to include lock_machdep even on non-MP kernels now for
rw_cas.
|
|
Pointed out by thib@
|
|
It uses a function pointer to choose between the 386 and 486 versions.
The 386 version is not MP safe, but we're not expecting MP support
for 386 cpus.
miod@ ok (and prodding)
|
|
test_and_set name for some other operation, while cas is generally
used for compare and set (cmpxchg in intel land, cas in sparc land).
- Make rw locks properly MP safe (provided that rw_cas is implemented
in MD code). Most operations were MP safe except the sleep where we
could have set the "I'm sleeping" flag before actually going to sleep
so that the wakeup could miss us. Now, using the split tsleep,
we first setup the sleep (put us on the sleep queues), then set
the flag aborting the sleep if the lock has changed and then finally
go to sleep.
miod@ ok (and he's been prodding me for days to get this in)
|
|
at least exhibit routing messages so it does not confuse the userland
routing daemons by routing table changes not reflected by messages on the
routing socket. effect would be bgpd using wrong nexthops for example, in
the worst case (that i actually ran into) blackholing traffic.
ok reyk claudio "looks correct" miod
|
|
Sometimes we can can call timeout_del on it before we call sis_init.
From mickey. art@ ok.
|
|
This could lead to some heavy problems if called from kernel threads
(which is the only way to get past the next test with the kernel
pmap).
From mickey. art@ toby@ ok.
|
|
|
|
register typos... on init, wait for the receive engine to be ready before
setting up the descriptor rings.
|
|
machines. Instead -- build one solid clean MI version, and thenchange all
the architectures to use it. ok various people, tested on almost all cases.
(it is a 10094 line diff..)
|
|
vic_iff() instead. vic_init() calls vic_init_data() which sets up the
rings and allocates the dma maps. it could happen that vic_init() was
called for multiple times without releasing them first by calling
vic_uninit_data(). ouch! this may have caused some problems related to
dmamap corruption but we'll do further investigation.
ok dlg@
|
|
while there.
Comments, tested, and OK claudio@
|
|
|
|
context.
|
|
It shouldn't make a difference, but some
ioctl-callers don't initialize the ifreq properly.
Fixes a panic w/ tun(4) on trunk(4).
OK reyk@, claudio@
|
|
|
|
port-specific registers, for the NIU (phy) and the CRB (~mac). fine.
but i have to use an ugly mapping table for the port-specific crb
registers because their offsets are not consistent and do not allow to
use a subregion per port. ugh.
|
|
This was part of the ffs2 changes but was not committed earlier in
order to make the userland and kernel changes independent.
NOTE: the change to newfs require an updated fs.h; building an
updated newfs with the old fs.h may result in a broken filesystem.
OK otto@
|
|
XKPHYS instead of KSEG[01] for direct mappings.
Then, detect memory above 256MB on O2 by poking at the CRIME registers
(ARCbios will not report memory above 256MB, which is mapped above 1GB
physical, to the system), and add it to the UVM managed memory.
Tested on r5k, rm5200 and r10k with and without more than 256MB, matching
hinv reports in all cases. CRIME memory decoding based on a diff from
kettenis@ in december 2005.
|
|
Free commit ticket from miod@.
|
|
|
|
|
|
more then 10 headers nested.
OK deraadt@ henning@ mcbride@
|
|
kismet happy. Previously system got very slow because at every channel
switch an ENETRESET was issued.
Reported and diff by Steffen Schuetz <st.sch@gmx.net>. Closes PR 5452.
OK claudio@
|
|
ok deraadt@
|
|
found by and ok claudio@
|
|
|
|
|
|
problem also appears to be required on the BCM5754/5787 in the Dell
PowerEdge SC440 and OptiPlex GX745. dlg identified the problem and
came up with the fix.
Tested by dlg@, ckuethe@, reyk@; thanks.
ok dlg@ beck@ reyk@
|
|
Tested by Massimo Lusetti <massimo@cedoc.mo.it>
|
|
|
|
|
|
input from art@
|
|
slightly incorrect and didn't actually do much until a week ago
or so when I fixed it when doing VM_PAGE_MD.
deraadt@, miod@ ok
|
|
|
|
|
|
platform interrupt string when establishing pciide interrupts
|