Age | Commit message (Collapse) | Author |
|
which contains the constraints for DMA/memory allocation for each
architecture, and dma_constraints which contains the range of addresses
that are dma accessable by the system.
This is based on ariane@'s physcontig diff, with lots of bugfixes and
additions the following additions by my self:
Introduce a new function pool_set_constraints() which sets the address
range for which we allocate pages for the pool from, this is now used
for the mbuf/mbuf cluster pools to keep them dma accessible.
The !direct archs no longer stuff pages into the kernel object in
uvm_km_getpage_pla but rather do a pmap_extract() in uvm_km_putpages.
Tested heavily by my self on i386, amd64 and sparc64. Some tests on
alpha and SGI.
"commit it" beck, art, oga, deraadt
"i like the diff" deraadt
|
|
of pci specific code and the rest of the driver. in hindsight, this was a
stupid thing to do in mpi since there will only ever be pci based mpi
controllers. the same goes for mpii, but unlink mpi it doesnt have the bus
and generic driver split at the file level, just in the code.
this merges the pci and generic mpii autoconf code so its just mpii
autoconf code. apologies for the files.pci change.
tested by me
ok marco@
|
|
walking the ruleset and up until state is fully set up) into pf_pdesc instead
of passing around those 4 seperately all the time, also shrinks the argument
count for a few functions that have/partialy had an insane count of arguments.
kinda preparational since we'll need them elsewhere too, soon
ok ryan jsing
|
|
Reported by Alexander Vladimirov.
|
|
|
|
|
|
|
|
|
|
ok deraadt@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
it defines. In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise. Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@
|
|
devices. This will fix the problem using KDDI W04K that has 3.1 Mbps
in downlink.
ok deraadt@
|
|
must break out of the cases, not directly 'return' error codes. I
think the error case is currently impossible, but why leave an armed
bear trap lying about?
|
|
is fired afterwards. Fixes a use after free crash.
|
|
line with sd/cd/st.
|
|
for example: outputs.sel7_source= -> outputs.sel7_source=adc-0:1
on the HP HDX 18
|
|
the one used by Cisco. It sends a return gre packet inside a gre packet
to the other side and expects it to return.
OK deraadt, reyk additional testing by sthen
|
|
in the PHY instead of the MAC like ICH8.
|
|
ok kettenis@
|
|
ok ryan theo reyk
|
|
on resume. Fail early if this is detected, so that we have a chance to
catch it.
ok kettenis@, deraadt@
|
|
ok kettenis@, pirofti@, marco@
|
|
*scsi_generic. Change xs->cmd[0] references in sii.c to xs->cmd->opcode
and do (caddr_t) arithmetic when copying chunks into the adw adapter
struct.
Found by Matthew Dempsky, diff tweaked and tested by me.
|
|
sleep and wake up on another CPU.
ok kettenis@
|
|
ok kettenis@
|
|
|
|
|
|
|
|
same changes in cd and sd.
tested by and ok krw@
|
|
ok thib@ deraadt@
|
|
SCSI_NOSLEEP flag on the xs when setting extra flags by oring them in
rather than assigning them.
from matthew dempsky
|
|
ok dlg@
|
|
getphysbuf() as the bufpool is already protected.
From Matthew Dempsky <matthew at dempsky dot org>
OK blambert@
|
|
between an allocating process failing and waking up the pagedaemon
and the pagedaemon (since everything was dandy).
Rework the do ... while () logic searching for pages of a certain
memtype in a pmr into a while () loop where we check if we've found
enough pages and break out of the pmr and check the memtype inside
the loop. This prevents us from doing an early return without enough
pages for the caller even though more pages exist.
comments and help from oga, style nit from miod.
OK miod@, oga@
|
|
moved from a special kthread to workqs.
OK dlg@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
makes the ioctl and sensor paths more reliably now that they cant fail
due to a ccb allocation failure, and allows better sharing of resources
between multiple logical volumes and physical devices.
|
|
protects the ccb runqueues and the mailbox with a single mutex.
the biggest change as a consequence of this is a rewrite of the polled
command code. it now forces the polled command onto the chip ahead of the
pending runqueue, and simply runs the interrupt handler until the ccb
completes.
tested by sthen@
|
|
pmap_enter(), according to the XXX comment right above.
Removes another un-CANFAILed pmap_enter.
ok miod@
|
|
|
|
This is a leftover from a very old workaround for a very old and long gone
pmap_enter() bug.
|
|
on 88110 designs. Brings a ~8% speedup on GENERIC.MP on 197DP.
|
|
keyboard is connected but a framebuffer exists in the machine; the current
kernel console code will complain and switch to full serial, but later on
the framebuffer would incorrectly take over the console.
Correctly detect this situation and reset the `fbnode' variable. This is
an improvement of the fix which went in rev 1.54 of this file.
|
|
|