summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-04-13stash the controller identify and number of namespaces in the softc.David Gwynne
the nn is used to size the scsi bus, and the controller identify is used to build responses for various scsi commands.
2016-04-13make a place for q_id to goDavid Gwynne
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-13Keep all pools in the same place.Martin Pieuchot
ok jmatthew@
2016-04-13Remove extra parenthesis around comparison.Vincent Gross
Found by David Hill <dhill@mindcry.org> with clang.
2016-04-13add missing arguments to debug printfMike Larkin
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-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-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-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-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-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@
2016-04-11Add functions to dump vcpu register state. Needed for some upcoming diffs.Mike Larkin
Not presently used.
2016-04-11Clarify some commentsMike Larkin
2016-04-10For now, disable ahc(4) such that GENERIC.MP kernels don't overflow the 8MMark Kettenis
reserved for .text and .rodata. Hopefully I can get rid of this limit soon. propmpted by guenther@
2016-04-10Fix layer violation in the ihidev(4) code by implementing a generic mechanismMark Kettenis
that allows the i2c controller implementation to establish interrupts on behalf of i2c slave device drivers. Use this mechanism in dwiic(4) to let it configure the right acpi interrupt (global or gpio). Change the level to IPL_TTY as this is the appropriate level to use for keyboards and other input devices. ok jsg@
2016-04-10remove an uneeded includeJonathan Gray
2016-04-10Don't try to get a board name string before attaching mainbus with theJonathan Gray
platform abstraction. The string is only displayed when attaching the soc abstractions so this is not needed. When arm mainbus becomes aware of fdt it can show the /model property itself.
2016-04-08We must always check if the socket is already bound, and always setVincent Gross
INPLOOKUP_IPV6 when applicable. Bug introduced in revision 1.197 by yours truly. Ok bluhm@
2016-04-08Fix match function so that the cortex bus only attaches if the attachPatrick Wildt
args are actually looking for the cortex bus. ok kettenis@
2016-04-08syncReyk Floeter
2016-04-08Add Intel Bay Trail EHCI (as found on 1st gen Compute Stick)Reyk Floeter
2016-04-08Get rid of some infrastrcuture that is now obsolete and synchronize some ofMark Kettenis
the data structures in drmP.h with Linux 3.14. ok jsg@
2016-04-08add m_purge for freeing a list of mbufs linked via m_nextpktDavid Gwynne
this tweaks m_freem so it returns the m_nextpkt from the mbuf it freed, like how m_free returns the m_next from the mbuf it frees. ok mpi@
2016-04-07Retry the drm_crtc.c "idr"conversion. Turns out the xf86-video-intel driverMark Kettenis
is buggy and trucates the ids to 8 bits. So specifymaximum in the idr_alloc() call until that gets fixed.
2016-04-07Return -ENOSPC if idr_alloc() fails to allocate an unused id instead ofMark Kettenis
spinning forever.
2016-04-07Instead of panicking if an mbuf(9) already has a statekey dump itsMartin Pieuchot
content and unlink the statekey. This should allow us to find the reminding corner cases of packets looped back in the stack. ok dlg@
2016-04-07Always call bread_cluster() instead of calling it only if the currentMartin Pieuchot
logical block is contiguous to the previous one. This logic is a left-over of the pre-bread_cluster() area. When the read-ahead version of bread(9) was used to prefetch blocks. Nowadays bread_cluster() do the right thing (tm). ok stefan@
2016-04-07Share clone bitmap between aliased vnodes. This prevents duplicate cloneMartin Natano
instance numbers being handed out for the same minor device. ok mikeb
2016-04-06Revert the drm_crt.c "idr" conversion as it breaks X on (at least) the T430s.Mark Kettenis