summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-13provide an scsi_adapter and stub functions for emulation to sit inDavid Gwynne
2016-04-13nvme_sqe_fill will post a copy of an sqe from a callerDavid Gwynne
2016-04-13poll for command completion on the cqe itll be of calling nvme_intrDavid Gwynne
2016-04-13make nvme_poll return the flags from the completion queue entryDavid Gwynne
it's still 0 on success, but is the actual bits rather than a mashup of it
2016-04-13keep track of the queue id in nvme_queue.David Gwynne
2016-04-13rename idx to id in nvme_q_allocDavid Gwynne
make it a u_int16_t like the hw while here.
2016-04-13nvme_dmamem_alloc runs in autoconf or process context, so it can sleepDavid Gwynne
2016-04-13We're always ready! So send IFQ_SET_READY() to the bitbucket.Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13Re-introduce the following commit:Ingo Schwarze
OpenBSD read.c rev. 1.4 1997/06/10 20:10:13 millert FIONREAD takes int *, not long * It got lost in the following merge from NetBSD: OpenBSD read.c rev. 1.10 2003/10/31 08:42:24 otto OK millert@ martijn@
2016-04-13Keep all pools in the same place.Martin Pieuchot
ok jmatthew@
2016-04-13remove "abort" promise from debugging code in radiusdSebastien Marie
it is the default now, and the promise name isn't valid anymore. ok yasuoka@
2016-04-13Remove extra parenthesis around comparison.Vincent Gross
Found by David Hill <dhill@mindcry.org> with clang.
2016-04-13remove dumpfilter related code; it's a leftover from pftop-proper and not usedJasper Lievisse Adriaanse
in systat ok canacar@
2016-04-13add missing arguments to debug printfMike Larkin
2016-04-12tweak previous;Jason McIntyre
2016-04-12Fix awk crash with empty assignment, e.g. 'BEGIN {i=$1}', whenTodd C. Miller
malloc does not return zero-filled data. OK tb@
2016-04-12two times a define to an inline function, from Michael McConville; ok djm@Otto Moerbeek
2016-04-12documents "mcast" promiseSebastien Marie
with few nits from and ok schwarze@
2016-04-12The -T flag consumes the same data as the -f flag so it requiresTodd C. Miller
nlist too. Fixes a crash when the -T flag is specified due to calling kvm_read() with a NULL kvm_t. From Rob Pierce
2016-04-12Simplify amap traversal in amap_swap_off.Stefan Kempf
There's no need to insert marker elements to find the next item in the amap list. The next amap can be determined by looking at the currently examined amap. Care must be taken to get the next element before the current amap is possibly deleted, and after all the current amap's pages were read in from swap (because the page-in may sleep and remove items from the amap list).
2016-04-12No need to rescan chunks in each discipline to find appropriateKenneth R Westerback
volume sector size. Determine volume sector size in sr_meta_init(). Pointed out, tweaked and ok jsing@
2016-04-12Unbreak tree. Put 'laddr6' declaration inside #ifdef INET6/#endif.Kenneth R Westerback
2016-04-12Call if_enqueue() and if_start() instead of dereferencing the ifpMartin Pieuchot
pointers. These functions have been introduced to abstract some of the MP- safeness^Wmadness and should be use everywhere. Prodded by a comment from jsg@. ok mikeb@, stsp@
2016-04-12documents "route" promiseSebastien Marie
initial diff from Rob Pierce rob ! 2keys. ca with some enhancements from jmc@, schwarze@ and me ok jmc@ schwarze@
2016-04-12shuffle attach so we read chip capabilities before operating on itDavid Gwynne
most importantly this gets the proper timeout for chip enables/disables.
2016-04-12Call ether_fakeaddr() instead of faking Ethernet addresses manually.Martin Pieuchot
Input from and ok jsg@
2016-04-12Cleanup, no functional change:Ingo Schwarze
* Make the return value from read_getcmd() less confusing. * No need to store that return value; testing it once is enough. * Get rid of one #ifdef section in el_wgets(). OK czarkoff@ martijn@
2016-04-12* Delete the unimplemented feature XK_EXE.Ingo Schwarze
* Delete the unused macro MIN(). No functional change. OK czarkoff@ martijn@
2016-04-12Call debug register dump functions in error conditions (if VMM_DEBUG set)Mike Larkin
2016-04-12Remove unneeded art_free().Martin Pieuchot
Reported by and ok jmatthew@
2016-04-12Stop mg putting a space at the end of a paragraph when usingMark Lumsden
fill-paragraph. Reported by Harald Dunkel.
2016-04-12Set bridge(4)'s if_output to a dummy function returning EAFNOSUPPORT asMartin Pieuchot
it should not be used to output packets but we have to respect the ifp driver API to some extend. Prevent a panic found the hardway by espie@. ok claudio@, mikeb@, jsg@, krw@
2016-04-12Only build the vcpu register dump functions if VMM_DEBUG is enabled, noMike Larkin
need for these in non-debug scenarios
2016-04-11Simplify in_pcblookup_local() logic.Vincent Gross
ok mpi@
2016-04-11cope with the deletion of Char, use wchar_tIngo Schwarze
2016-04-11Rename in_pcblookup() to in_pcblookup_local() and change its prototypeVincent Gross
to get rid of the now useless foreign address and ports parameters. ok mpi@
2016-04-11delete the "private" and "public" preprocessor macros, just use standard C;Ingo Schwarze
OK martijn@
2016-04-11drop -DWIDECHAR, it's no longer neededIngo Schwarze
2016-04-11Clean up chartype.h:Ingo Schwarze
* not used in tokenizer.c * only use it for !NARROWCHAR * no need for underscores before ct_{de,en}code_string() * make the conversion buffer resize function private OK martijn@
2016-04-11get rid of the non-standard data type "Char" in almost all files;Ingo Schwarze
ok martijn@
2016-04-11Move wrapper macros to the two files actually needing them:Ingo Schwarze
FUNW, Strlen, Strdup, Strcmp, Strncmp, Strncpy, Strncat -> history.c Strchr, tok_strdup -> tokenizer.c FUN, TYPE, STR -> both of these files OK martijn@ Also proofread by Christian Heckendorf <mbie at ulmus dot me> who reported some whitespace issues in parse.c.
2016-04-11- In isin(), quote $_b to ensure it's treated as string not as pattern.Robert Peichaer
- Always quote the first argument to isin() OK halex@, krw@
2016-04-11Tweak bsort():Robert Peichaer
- make it clear in comment that it returns a unique list - shift is only possible if argc > 0, otherwise return - quote "$_b" in equality test forcing possible patterns being treated as strings OK halex@, krw@
2016-04-11This code chunk has been disabled since its import, and what is does isVincent Gross
quite unsafe. Juste delete it. Ok mpi@
2016-04-11Search in the correct routing table if NPF is not defined.Martin Pieuchot
ok jca@, phessler@, mikeb@