diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2011-12-23 16:02:14 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2011-12-23 16:02:14 +0000 |
| commit | 57bf0568e19ec6fd4c92fd67c679e73c1eb5cb0d (patch) | |
| tree | 15503e06f64204ff41233d8e30438699a35eda56 /sys/dev | |
| parent | 3e65b9c6e6b7b2081d54e1dc40983c3c00eaf738 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/netmap/if_em_netmap.h | 2 | ||||
| -rw-r--r-- | sys/dev/netmap/ixgbe_netmap.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/netmap/if_em_netmap.h b/sys/dev/netmap/if_em_netmap.h index 03951d4e1e294..d75e9240e3a50 100644 --- a/sys/dev/netmap/if_em_netmap.h +++ b/sys/dev/netmap/if_em_netmap.h @@ -76,7 +76,7 @@ em_netmap_lock_wrapper(void *_a, int what, u_int queueid) ASSERT(queueid < adapter->num_queues); switch (what) { - case NETMAP_CORE_LOCK: + case NETMAP_CORE_LOCK: EM_CORE_LOCK(adapter); break; case NETMAP_CORE_UNLOCK: diff --git a/sys/dev/netmap/ixgbe_netmap.h b/sys/dev/netmap/ixgbe_netmap.h index 6c8b2b6a0fdd7..fdf15d8ec4fa8 100644 --- a/sys/dev/netmap/ixgbe_netmap.h +++ b/sys/dev/netmap/ixgbe_netmap.h @@ -472,7 +472,8 @@ ixgbe_netmap_rxsync(void *a, u_int ring_nr, int do_lock) * and flag handling as in the txsync code. * * NOTE curr and rxbuf are indexed by l. - * Also, this driver needs to update the physical * address in the NIC ring, but other drivers + * Also, this driver needs to update the physical + * address in the NIC ring, but other drivers * may not have this requirement. */ struct netmap_slot *slot = &ring->slot[j]; |
