svn commit: r266790 - head/sys/dev/e1000

Luigi Rizzo luigi at FreeBSD.org
Wed May 28 06:50:17 UTC 2014


Author: luigi
Date: Wed May 28 06:50:16 2014
New Revision: 266790
URL: http://svnweb.freebsd.org/changeset/base/266790

Log:
  reference the correct variable in a comment
  
  MFC after:	3 days

Modified:
  head/sys/dev/e1000/if_igb.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c	Wed May 28 06:38:42 2014	(r266789)
+++ head/sys/dev/e1000/if_igb.c	Wed May 28 06:50:16 2014	(r266790)
@@ -4331,7 +4331,7 @@ igb_setup_receive_ring(struct rx_ring *r
 		rxbuf = &rxr->rx_buffers[j];
 #ifdef DEV_NETMAP
 		if (slot) {
-			/* slot sj is mapped to the i-th NIC-ring entry */
+			/* slot sj is mapped to the j-th NIC-ring entry */
 			int sj = netmap_idx_n2k(&na->rx_rings[rxr->me], j);
 			uint64_t paddr;
 			void *addr;


More information about the svn-src-all mailing list