freebsd-dev/sys/dev
Kenneth D. Merry a9934668aa Add asynchronous command support to the pass(4) driver, and the new
camdd(8) utility.

CCBs may be queued to the driver via the new CAMIOQUEUE ioctl, and
completed CCBs may be retrieved via the CAMIOGET ioctl.  User
processes can use poll(2) or kevent(2) to get notification when
I/O has completed.

While the existing CAMIOCOMMAND blocking ioctl interface only
supports user virtual data pointers in a CCB (generally only
one per CCB), the new CAMIOQUEUE ioctl supports user virtual and
physical address pointers, as well as user virtual and physical
scatter/gather lists.  This allows user applications to have more
flexibility in their data handling operations.

Kernel memory for data transferred via the queued interface is
allocated from the zone allocator in MAXPHYS sized chunks, and user
data is copied in and out.  This is likely faster than the
vmapbuf()/vunmapbuf() method used by the CAMIOCOMMAND ioctl in
configurations with many processors (there are more TLB shootdowns
caused by the mapping/unmapping operation) but may not be as fast
as running with unmapped I/O.

The new memory handling model for user requests also allows
applications to send CCBs with request sizes that are larger than
MAXPHYS.  The pass(4) driver now limits queued requests to the I/O
size listed by the SIM driver in the maxio field in the Path
Inquiry (XPT_PATH_INQ) CCB.

There are some things things would be good to add:

1. Come up with a way to do unmapped I/O on multiple buffers.
   Currently the unmapped I/O interface operates on a struct bio,
   which includes only one address and length.  It would be nice
   to be able to send an unmapped scatter/gather list down to
   busdma.  This would allow eliminating the copy we currently do
   for data.

2. Add an ioctl to list currently outstanding CCBs in the various
   queues.

3. Add an ioctl to cancel a request, or use the XPT_ABORT CCB to do
   that.

4. Test physical address support.  Virtual pointers and scatter
   gather lists have been tested, but I have not yet tested
   physical addresses or scatter/gather lists.

5. Investigate multiple queue support.  At the moment there is one
   queue of commands per pass(4) device.  If multiple processes
   open the device, they will submit I/O into the same queue and
   get events for the same completions.  This is probably the right
   model for most applications, but it is something that could be
   changed later on.

Also, add a new utility, camdd(8) that uses the asynchronous pass(4)
driver interface.

This utility is intended to be a basic data transfer/copy utility,
a simple benchmark utility, and an example of how to use the
asynchronous pass(4) interface.

It can copy data to and from pass(4) devices using any target queue
depth, starting offset and blocksize for the input and ouptut devices.
It currently only supports SCSI devices, but could be easily extended
to support ATA devices.

It can also copy data to and from regular files, block devices, tape
devices, pipes, stdin, and stdout.  It does not support queueing
multiple commands to any of those targets, since it uses the standard
read(2)/write(2)/writev(2)/readv(2) system calls.

The I/O is done by two threads, one for the reader and one for the
writer.  The reader thread sends completed read requests to the
writer thread in strictly sequential order, even if they complete
out of order.  That could be modified later on for random I/O patterns
or slightly out of order I/O.

camdd(8) uses kqueue(2)/kevent(2) to get I/O completion events from
the pass(4) driver and also to send request notifications internally.

For pass(4) devcies, camdd(8) uses a single buffer (CAM_DATA_VADDR)
per CAM CCB on the reading side, and a scatter/gather list
(CAM_DATA_SG) on the writing side.  In addition to testing both
interfaces, this makes any potential reblocking of I/O easier.  No
data is copied between the reader and the writer, but rather the
reader's buffers are split into multiple I/O requests or combined
into a single I/O request depending on the input and output blocksize.

For the file I/O path, camdd(8) also uses a single buffer (read(2),
write(2), pread(2) or pwrite(2)) on reads, and a scatter/gather list
(readv(2), writev(2), preadv(2), pwritev(2)) on writes.

Things that would be nice to do for camdd(8) eventually:

1.  Add support for I/O pattern generation.  Patterns like all
    zeros, all ones, LBA-based patterns, random patterns, etc. Right
    Now you can always use /dev/zero, /dev/random, etc.

2.  Add support for a "sink" mode, so we do only reads with no
    writes.  Right now, you can use /dev/null.

3.  Add support for automatic queue depth probing, so that we can
    figure out the right queue depth on the input and output side
    for maximum throughput.  At the moment it defaults to 6.

4.  Add support for SATA device passthrough I/O.

5.  Add support for random LBAs and/or lengths on the input and
    output sides.

6.  Track average per-I/O latency and busy time.  The busy time
    and latency could also feed in to the automatic queue depth
    determination.

sys/cam/scsi/scsi_pass.h:
	Define two new ioctls, CAMIOQUEUE and CAMIOGET, that queue
	and fetch asynchronous CAM CCBs respectively.

	Although these ioctls do not have a declared argument, they
	both take a union ccb pointer.  If we declare a size here,
	the ioctl code in sys/kern/sys_generic.c will malloc and free
	a buffer for either the CCB or the CCB pointer (depending on
	how it is declared).  Since we have to keep a copy of the
	CCB (which is fairly large) anyway, having the ioctl malloc
	and free a CCB for each call is wasteful.

sys/cam/scsi/scsi_pass.c:
	Add asynchronous CCB support.

	Add two new ioctls, CAMIOQUEUE and CAMIOGET.

	CAMIOQUEUE adds a CCB to the incoming queue.  The CCB is
	executed immediately (and moved to the active queue) if it
	is an immediate CCB, but otherwise it will be executed
	in passstart() when a CCB is available from the transport layer.

	When CCBs are completed (because they are immediate or
	passdone() if they are queued), they are put on the done
	queue.

	If we get the final close on the device before all pending
	I/O is complete, all active I/O is moved to the abandoned
	queue and we increment the peripheral reference count so
	that the peripheral driver instance doesn't go away before
	all pending I/O is done.

	The new passcreatezone() function is called on the first
	call to the CAMIOQUEUE ioctl on a given device to allocate
	the UMA zones for I/O requests and S/G list buffers.  This
	may be good to move off to a taskqueue at some point.
	The new passmemsetup() function allocates memory and
	scatter/gather lists to hold the user's data, and copies
	in any data that needs to be written.  For virtual pointers
	(CAM_DATA_VADDR), the kernel buffer is malloced from the
	new pass(4) driver malloc bucket.  For virtual
	scatter/gather lists (CAM_DATA_SG), buffers are allocated
	from a new per-pass(9) UMA zone in MAXPHYS-sized chunks.
	Physical pointers are passed in unchanged.  We have support
	for up to 16 scatter/gather segments (for the user and
	kernel S/G lists) in the default struct pass_io_req, so
	requests with longer S/G lists require an extra kernel malloc.

	The new passcopysglist() function copies a user scatter/gather
	list to a kernel scatter/gather list.  The number of elements
	in each list may be different, but (obviously) the amount of data
	stored has to be identical.

	The new passmemdone() function copies data out for the
	CAM_DATA_VADDR and CAM_DATA_SG cases.

	The new passiocleanup() function restores data pointers in
	user CCBs and frees memory.

	Add new functions to support kqueue(2)/kevent(2):

	passreadfilt() tells kevent whether or not the done
	queue is empty.

	passkqfilter() adds a knote to our list.

	passreadfiltdetach() removes a knote from our list.

	Add a new function, passpoll(), for poll(2)/select(2)
	to use.

	Add devstat(9) support for the queued CCB path.

sys/cam/ata/ata_da.c:
	Add support for the BIO_VLIST bio type.

sys/cam/cam_ccb.h:
	Add a new enumeration for the xflags field in the CCB header.
	(This doesn't change the CCB header, just adds an enumeration to
	use.)

sys/cam/cam_xpt.c:
	Add a new function, xpt_setup_ccb_flags(), that allows specifying
	CCB flags.

sys/cam/cam_xpt.h:
	Add a prototype for xpt_setup_ccb_flags().

sys/cam/scsi/scsi_da.c:
	Add support for BIO_VLIST.

sys/dev/md/md.c:
	Add BIO_VLIST support to md(4).

sys/geom/geom_disk.c:
	Add BIO_VLIST support to the GEOM disk class.  Re-factor the I/O size
	limiting code in g_disk_start() a bit.

sys/kern/subr_bus_dma.c:
	Change _bus_dmamap_load_vlist() to take a starting offset and
	length.

	Add a new function, _bus_dmamap_load_pages(), that will load a list
	of physical pages starting at an offset.

	Update _bus_dmamap_load_bio() to allow loading BIO_VLIST bios.
	Allow unmapped I/O to start at an offset.

sys/kern/subr_uio.c:
	Add two new functions, physcopyin_vlist() and physcopyout_vlist().

sys/pc98/include/bus.h:
	Guard kernel-only parts of the pc98 machine/bus.h header with
	#ifdef _KERNEL.

	This allows userland programs to include <machine/bus.h> to get the
	definition of bus_addr_t and bus_size_t.

sys/sys/bio.h:
	Add a new bio flag, BIO_VLIST.

sys/sys/uio.h:
	Add prototypes for physcopyin_vlist() and physcopyout_vlist().

share/man/man4/pass.4:
	Document the CAMIOQUEUE and CAMIOGET ioctls.

usr.sbin/Makefile:
	Add camdd.

usr.sbin/camdd/Makefile:
	Add a makefile for camdd(8).

usr.sbin/camdd/camdd.8:
	Man page for camdd(8).

usr.sbin/camdd/camdd.c:
	The new camdd(8) utility.

Sponsored by:	Spectra Logic
MFC after:	1 week
2015-12-03 20:54:55 +00:00
..
aac Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
aacraid Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
acpi_support Fix previous commit (r284357) 2015-06-13 22:29:43 +00:00
acpica Disable suspend when we're shutting down. This solves the "tell FreeBSD 2015-10-01 10:52:26 +00:00
adb
adlink
advansys Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ae Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
age Mechanically convert to if_inc_counter(). 2014-09-18 21:01:41 +00:00
agp Remove break after return. 2015-01-23 15:14:30 +00:00
aha Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ahb Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ahci Add support for a generic AHCI attachment. This allows us to attach to a 2015-12-03 11:24:11 +00:00
aic Prevent overflow issues in timeout processing 2014-11-21 21:01:24 +00:00
aic7xxx aic7xxx: Do not support device IDs 0x8081, 0x8088 and 0x8089 to avoid 2015-06-05 11:37:54 +00:00
alc Correct device description message. 2015-01-30 01:13:07 +00:00
ale Fix a long standing bug in MAC statistics register access. One 2014-10-08 01:03:32 +00:00
alpm Move all the power management (SMBus) drivers to their own directory, 2014-09-23 06:31:15 +00:00
altera CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
amdpm Move all the power management (SMBus) drivers to their own directory, 2014-09-23 06:31:15 +00:00
amdsbwd
amdsmb Move amdsmb and nfsmb from dev/pci to their own device directory. 2014-09-23 05:54:18 +00:00
amdtemp Add one more AMD Kaveri APU device ID. 2014-10-13 13:13:42 +00:00
amr Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
an In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
arcmsr Update arcmsr(4) to 1.30.00.00 in order to add support of 2015-12-02 05:35:04 +00:00
asmc The SYSCTL data pointers can come from userspace and must not be 2014-10-28 12:00:39 +00:00
ata Increase reset assertion time from 10 to 100us. 2015-11-15 10:58:01 +00:00
ath fix ht/40 configuration for ar9331 (hornet). 2015-11-30 06:26:59 +00:00
atkbdc Synaptics: fix a problem with trackpoint passthrough. 2015-06-19 00:10:30 +00:00
auxio
bce Correct a typo. 2015-02-24 01:00:46 +00:00
beri Allow BERI virtio-platform code to operate with no PIO devices specified. 2015-07-03 14:27:28 +00:00
bfe Mechanically convert to if_inc_counter(). 2014-09-18 21:03:13 +00:00
bge bge(4): Small memory leak 2015-03-08 19:55:46 +00:00
bktr Replace cvsweb link wihg svnweb URL in bktr(4) release notes. 2014-08-30 18:01:45 +00:00
bm Mechanically convert to if_inc_counter(). 2014-09-18 21:05:59 +00:00
buslogic Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
bvm
bwi net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output(). 2015-10-12 04:55:20 +00:00
bwn net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output(). 2015-10-12 04:55:20 +00:00
bxe Add support for reading device temperature 2015-10-12 20:21:17 +00:00
cadence Use the new ifnet API. Also, allocate bus_dma_maps as needed instead of 2015-03-09 22:39:58 +00:00
cardbus On my Lenovo T400, a Atheros 2413 has a problem powering up 2015-02-18 05:53:04 +00:00
cas Mechanically convert to if_inc_counter(). 2014-09-18 20:53:02 +00:00
ce CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
cesa
cfe Convert remaining {g,s}etenv->kern_{g,s}etenv 2014-10-17 17:34:05 +00:00
cfi Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
ciss r249170 was just plain wrong. The effect of the change is to always 2015-09-03 17:46:57 +00:00
cm In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
cmx
coretemp
cp CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
cpuctl Increase allowed size of the microcode blob to 32KB. Some Intel CPU's 2014-12-20 16:40:49 +00:00
cpufreq
cs In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
ct Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ctau CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
cx CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
cxgb Rename linuxapi[.ko] into linuxkpi[.ko], to reflect that it is a 2015-10-22 09:50:45 +00:00
cxgbe Fix build for !TCP_OFFLOAD case. 2015-12-03 10:33:57 +00:00
cy
cyapa Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
dc Remove break after return. 2015-01-23 15:14:30 +00:00
dcons CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
de Fix build when KTR is defined but not KTR_TULIP. 2015-11-20 09:37:04 +00:00
digi Don't pass RF_ALLOCATED to bus_alloc_resource(). 2014-10-10 19:12:04 +00:00
dpms
dpt Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
drm Instead of defining the actualy user and group id in the drmP.h files 2015-08-11 16:51:44 +00:00
drm2 drm/i915: Reduce diff with Linux 3.8 2015-11-28 17:38:27 +00:00
dwc Fix the build by adding the alternate descriptors and MII clock defines. 2015-09-20 14:28:06 +00:00
e1000 Add support for SCTP checksum offloading for the 82580 controller 2015-11-10 10:55:57 +00:00
ed Unlock the main lock before returning rather than after to eliminate 2015-03-01 21:41:33 +00:00
eisa
en To ease changes to underlying mbuf structure and the mbuf allocator, reduce 2015-01-05 09:58:32 +00:00
ep Mechanically convert to if_inc_counter(). 2014-09-18 20:11:28 +00:00
esp target is unsigned, so don't compare it < 0 for range test. 2014-08-07 21:56:32 +00:00
et - Provide igb_get_counter() to return counters that are not collected, 2014-09-24 11:23:55 +00:00
etherswitch Introduce e6000sw etherswitch support 2015-10-25 22:14:04 +00:00
ex In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
exca
fatm To ease changes to underlying mbuf structure and the mbuf allocator, reduce 2015-01-05 09:58:32 +00:00
fb Add support for USB display link adapters to the FB and VT drivers. 2015-03-07 20:45:15 +00:00
fdc Merge the PC98 fdc(4) driver into the MI driver. While here, replace 2014-09-25 20:40:24 +00:00
fdt Create a RouterBoard platform and use it to create a flash map 2015-08-22 05:50:18 +00:00
fe MFi386: r278165 2015-06-27 09:01:49 +00:00
ffec Add busdma sync ops before reading and after modifying the descriptor rings. 2014-11-24 16:12:11 +00:00
filemon Remove unneeded mutex.h include, missed in r287155. 2015-11-04 22:49:34 +00:00
firewire Fix remote DMA based firewire debugging when targeting 2015-01-21 20:08:24 +00:00
flash Add support for s25fl256s. I /think/ it's a 32mb NOR flash part. 2015-11-05 03:13:10 +00:00
fxp Add Intel vendor ID to the device table to make it more uniform so 2014-12-24 03:49:33 +00:00
gem Mechanically convert to if_inc_counter(). 2014-09-18 20:21:46 +00:00
glxiic Prevent overflow issues in timeout processing 2014-11-21 21:01:24 +00:00
glxsb Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
gpio Fix the use of plural in two cases that I missed on r285784. 2015-08-18 21:37:14 +00:00
gxemul CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
hatm Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
hifn Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
hme Mechanically convert to if_inc_counter(). 2014-09-18 21:07:05 +00:00
hpt27xx Update vendor driver to 1.2.7. This update improves driver reliability and 2015-06-23 17:26:16 +00:00
hptiop Various fixes to hptiop(4): 2014-08-05 23:35:19 +00:00
hptmv hptmv(4): Fix broken sysctl(9) API assumptions 2015-11-07 23:05:23 +00:00
hptnr Merge changes from vendor driver 1.1.4: 2015-06-25 06:15:08 +00:00
hptrr Prevent overflow issues in timeout processing 2014-11-21 21:01:24 +00:00
hwpmc Add support for Intel Skylake and Intel Broadwell PMC's. The Broadwell PMC's have been 2015-11-30 17:35:49 +00:00
hyperv Ignore the inbound checksum flags when doing packet forwarding in netvsc driver. 2015-11-22 05:26:13 +00:00
ic This should have been GC'd 6 years ago when ar(4) was removed. 2015-02-17 05:07:38 +00:00
ichiic Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
ichsmb ichsmb: add Intel Wellsburg device ID. 2015-06-10 22:39:10 +00:00
ichwd Add ichwd TCO version 3 support (Bay Trail / Rangeley...) 2015-08-18 14:54:29 +00:00
ida Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
ie In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
if_ndis net80211: drop redundant 3rd parameter from iv_key_set(). 2015-10-03 21:48:27 +00:00
iicbus Add FDT compatibility to the icee driver. 2015-10-22 01:04:31 +00:00
iir Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
intpm Move all the power management (SMBus) drivers to their own directory, 2014-09-23 06:31:15 +00:00
io
ioat ioat: Handle channel-fatal HW errors safely 2015-10-31 20:38:06 +00:00
ipmi Remove support for FreeBSD < 602110. 2015-08-30 08:48:31 +00:00
ips - Use the existing driver lock in cdevsw methods and remove D_NEEDGIANT. 2014-11-13 22:06:57 +00:00
ipw net80211 & wireless drivers: remove duplicate defines (noop) 2015-09-22 02:44:59 +00:00
isci isci: check return value of pci_alloc_msix() 2015-09-08 16:05:18 +00:00
iscsi Rework the way iSCSI initiator handles system shutdown. This fixes 2015-08-03 11:57:11 +00:00
iscsi_initiator Use sysctl_handle_string() and the sbuf printf routines instead of large 2015-03-14 22:32:15 +00:00
isl Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
ismt
isp Add initial support for 16Gbps FC QLogic chips. 2015-12-02 20:22:50 +00:00
ispfw Rip off target mode support for parallel SCSI QLogic adapters. 2015-11-23 10:06:19 +00:00
iwi net80211: WME callback cleanup in various drivers 2015-11-05 17:58:18 +00:00
iwm Fix IEEE80211_ADDR_COPY() usage. 2015-10-22 01:36:16 +00:00
iwn iwn(4): various simple fixes 2015-11-05 22:44:36 +00:00
ixgb Provide ixgb_get_counter(). 2014-09-28 07:40:26 +00:00
ixgbe Add support for sysctl knobs to live tune the per interrupt rx/tx packet 2015-10-13 17:34:18 +00:00
ixl Fix ixl debug sysctls panic 2015-11-12 09:45:35 +00:00
jme Mechanically convert to if_inc_counter(). 2014-09-24 11:33:43 +00:00
joy There never was a PC Card joystick attachment that worked. Kill the 2014-11-22 20:31:20 +00:00
kbd
kbdmux Revert r281889: 2015-04-29 20:08:03 +00:00
ksyms
le In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
led This implements default-state support as described in: 2015-05-24 07:45:42 +00:00
lge Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
lmc Remove compat code for pre-FreeBSD 7 systems. 2015-02-17 05:10:41 +00:00
malo net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output(). 2015-10-12 04:55:20 +00:00
mbox
mc146818 Use FreeBSD-bit-checking-style 2014-10-10 14:17:42 +00:00
mca
mcd Add locking to mcd(4) and mark MPSAFE. 2014-11-18 21:51:01 +00:00
md Add asynchronous command support to the pass(4) driver, and the new 2015-12-03 20:54:55 +00:00
mem Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed 2015-01-24 12:51:15 +00:00
mfi Switch from make_dev_alias to make_dev_alias_p since make_dev_alias_p can 2015-06-09 15:51:11 +00:00
mge Improve style in mge driver 2015-10-25 22:20:13 +00:00
mii Disable EEE(Energy Efficient Ethernet) for RTL8211F PHY. 2015-12-03 05:27:39 +00:00
mk48txx
mlx Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
mlx5 Style changes, mostly automated. 2015-11-19 10:28:51 +00:00
mly Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
mmc Add support for the DesignWare MMC hardware in the HiSilicon hi6220. This 2015-09-01 16:25:12 +00:00
mn In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
mpr Remove _FreeBSD_version check for something that was only an issue with 2015-10-16 17:56:43 +00:00
mps Revert an extra hunk that crept into the last commit. 2015-10-16 20:18:12 +00:00
mpt - In mpt_send_handshake_cmd(), use bus_space_write_stream_4(9) for writing 2015-07-24 16:00:35 +00:00
mrsas Counter part of mfi driver commit in mrsas 2015-06-26 12:00:51 +00:00
mse Add locking and mark MPSAFE. 2014-10-11 19:36:59 +00:00
msk Set DMA alignment constraint of status, TX and RX LEs(List Elements 2015-08-28 01:32:42 +00:00
mvs Reduce priority of ATA/SATA drivers. 2015-03-23 19:47:52 +00:00
mwl net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output(). 2015-10-12 04:55:20 +00:00
mxge Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00
my In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
nand Remove one more that crept in unnecessarily from previous commit. 2015-08-05 01:52:52 +00:00
ncr Lock ncr(4) and mark it MPSAFE along with various other fixes: 2014-09-25 18:43:52 +00:00
ncv Lock the scsi_low code and the drivers which use it along with other 2014-11-20 20:50:05 +00:00
netfpga10g/nf10bmac Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
netmap Don't call enable_all_rings if the adapter has been freed. 2015-09-07 23:16:39 +00:00
nfe Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsmb Move amdsmb and nfsmb from dev/pci to their own device directory. 2014-09-23 05:54:18 +00:00
nge Receive filter configuration is done in nge_rxfilter(). Remove 2015-01-12 07:43:19 +00:00
nmdm Fix issue with nmdm and leading zeros in device name. 2014-09-10 05:44:15 +00:00
nsp Lock the scsi_low code and the drivers which use it along with other 2014-11-20 20:50:05 +00:00
ntb if_ntb: Don't roundup MW size to full BAR size unnecessarily 2015-12-03 17:22:55 +00:00
null Add missing privilege check when setting the dump device. Before that change it 2014-11-11 04:48:09 +00:00
nvd nvd, nvme: report stripesize through GEOM disk layer 2015-10-30 16:35:18 +00:00
nvme nvd, nvme: report stripesize through GEOM disk layer 2015-10-30 16:35:18 +00:00
nvram
nvram2env Convert remaining {g,s}etenv->kern_{g,s}etenv 2014-10-17 17:34:05 +00:00
nxge Fix what looks like a consistent copy&paste error. 2015-09-27 12:19:36 +00:00
oce CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
ofw OFW: Move code for searching interrupt parent into separate function. 2015-12-02 14:21:16 +00:00
otus otus(4) - add flags for RX filter, configuration and sniffer. 2015-11-06 03:09:26 +00:00
ow Simply to appease gcc's warnings. 2015-08-28 02:29:31 +00:00
patm CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
pbio
pccard Remove unused PCMCIA_CARD* macros. 2014-12-03 00:47:05 +00:00
pccbb We're waiting on a struct proc *, not a struct thread *. Fix a 2015-08-21 21:47:29 +00:00
pcf Use IIC_EBUSBSY and IIC_BUSERR status values consistantly across all drivers. 2015-10-09 22:49:50 +00:00
pci Add a new -B flag for use with list mode (-l) that lists details about 2015-11-23 23:48:07 +00:00
pcn In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
pdq In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
pms Don't forget to check the vendor when probing. Also, there's no need 2015-08-02 16:26:41 +00:00
powermac_nvram
ppbus Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
ppc
proto Check the sync operation. 2015-07-28 04:54:05 +00:00
psci Start to support PSCI 1.0. For all the functions we currently support this 2015-08-11 13:42:58 +00:00
pst Cleanups to pst(4): 2014-11-18 21:58:57 +00:00
pty
puc puc(4): Add an entry for the Feasso PCI FPP-02 2S1P card. 2015-01-02 22:45:55 +00:00
qlxgb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
qlxgbe ql_hw.c: fixed error code INJCT_HEARTBEAT_FAILURE 2015-10-20 17:27:11 +00:00
qlxge CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
quicc
ral Remove the static function declaration. 2015-10-29 04:51:27 +00:00
random Fix printf-like formats for KASSERT. 2015-10-05 10:45:52 +00:00
rc
rccgpio Fix off-by-one bugs. 2015-09-07 21:59:11 +00:00
re With r290566 in place it turned out that WOL previously only worked by 2015-11-16 21:13:57 +00:00
rl - Although it doesn't make a whole lot of sense to enable RX and TX 2015-11-09 00:19:04 +00:00
rndtest Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
rp Use the callout(9) API instead of timeout(9). To do this more cleanly, 2014-11-11 18:15:05 +00:00
rt Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
safe Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
sbni In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
scc
scd Add locking to scd(4) and mark MPSAFE. 2014-11-18 22:02:37 +00:00
sdhci Add support for the BCM57765 card reader. 2015-10-15 04:22:56 +00:00
sec
sf Fix typo. 2014-09-19 03:55:19 +00:00
sfxge sfxge: regenerate MCDI headers 2015-12-03 08:06:10 +00:00
sge Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
si Fix build of si(4) and enable it in LINT on amd64 and i386. 2014-08-20 16:07:17 +00:00
siba
siis Reduce priority of ATA/SATA drivers. 2015-03-23 19:47:52 +00:00
sio
sis Enable receive filter in sis_rxfilter(). 2015-01-12 07:37:06 +00:00
sk Eliminate unnecessary checking for M_EXT on mbufs returned by m_getjcl(). 2014-10-13 06:51:40 +00:00
smbus Expand SMBUS API to add smbus_trans() function. 2015-04-25 16:15:01 +00:00
smc o Correct the calculation how many pages we need 2015-02-13 11:13:08 +00:00
sn In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
snc In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
snp
sound - Plugging a memory leak when malloc() failed during initialisation; 2015-10-24 19:40:03 +00:00
speaker
spibus Add copyright statement I should have had on these files in 2006, 2015-02-18 14:33:33 +00:00
ste Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
stg Lock the scsi_low code and the drivers which use it along with other 2014-11-20 20:50:05 +00:00
stge Mechanically convert to if_inc_counter(). 2014-09-18 21:16:05 +00:00
streams fd: remove filedesc argument from fdclose 2015-04-11 15:40:28 +00:00
sym Add the arm64 define. 2015-10-08 17:32:17 +00:00
syscons Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
tdfx
terasic Merge from CheriBSD: 2014-11-21 21:34:19 +00:00
ti Fix r284722, by making it actually compile. 2015-06-23 06:59:46 +00:00
tl In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
tpm
trm Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
tsec Mechanically convert to if_inc_counter(). 2014-09-19 03:51:26 +00:00
twa CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
twe Remove MAXBSIZE use from drivers where it has nothing to do. 2015-03-22 16:10:28 +00:00
tws CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
tx Mechanically convert to if_inc_counter(). 2014-09-18 20:06:10 +00:00
txp - Provide txp_get_counter() to return counters that are not collected, 2014-09-24 11:58:23 +00:00
uart uart(4) - make the 8250 uart baudrate tolerance build time tweakable. 2015-11-18 06:24:21 +00:00
ubsec Huge cleanup of random(4) code. 2015-06-30 17:00:45 +00:00
usb urtwn(4): add error handling for urtwn_write_X() functions. 2015-12-03 14:38:55 +00:00
utopia
vge Mechanically convert to if_inc_counter(). 2014-09-18 20:30:47 +00:00
viapm Move all the power management (SMBus) drivers to their own directory, 2014-09-23 06:31:15 +00:00
viawd
videomode Add hskew field to struct videomode. It is required by some controllers 2015-06-18 00:22:14 +00:00
virtio Lower the compiler warning: unused-but-set-variable. 2015-09-03 06:53:17 +00:00
vkbd
vmware/vmxnet3 Only use a power of 2 for the number of receive and transmit queues. 2015-11-16 21:36:50 +00:00
vnic Mark the thunder_mdio_fdt driver as early, the bgx needs it to exist so it 2015-11-06 14:40:51 +00:00
vr Mechanically convert to if_inc_counter(). 2014-09-18 20:17:27 +00:00
vt vt_cpulogos: Resize all terms/windows when tearing down logos 2015-08-21 15:21:56 +00:00
vte - Provide vte_get_counter() to return counters that are not collected, 2014-09-24 11:31:46 +00:00
vx In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
vxge Start process of removing the use of the deprecated "M_FLOWID" flag 2014-12-01 11:45:24 +00:00
watchdog CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
wb In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
wbwd Revert r279933; this is going to be fixed in sbuf instead. 2015-03-14 13:02:08 +00:00
wds Add locking to wds(4) and mark MPSAFE. 2014-11-18 22:12:51 +00:00
wi net80211: move ieee80211_free_node() call on error from ic_raw_xmit() to ieee80211_raw_output(). 2015-10-12 04:55:20 +00:00
wl Various fixes for wl(4): 2014-11-20 20:09:18 +00:00
wpi wpi: ignore ic_update_promisc() call when device is not running 2015-11-30 17:16:51 +00:00
wtap wtap: remove some obsolete radiotap(9) code 2015-10-22 15:20:33 +00:00
xe In order to reduce use of M_EXT outside of the mbuf allocator and 2015-01-06 12:59:37 +00:00
xen xen: fix dropping bitmap IPIs during resume 2015-11-18 18:11:19 +00:00
xl Mechanically convert to if_inc_counter(). 2014-09-18 20:35:22 +00:00