svn commit: r255271 - head/sys/dev/ntb/if_ntb

Carl Delsey carl at FreeBSD.org
Thu Sep 5 22:56:53 UTC 2013


Author: carl
Date: Thu Sep  5 22:56:52 2013
New Revision: 255271
URL: http://svnweb.freebsd.org/changeset/base/255271

Log:
  Fix name change from ntb_transport to if_ntb. A few places were
  overlooked.
  
  Approved by:	jimharris
  Sponsored by:	Intel

Modified:
  head/sys/dev/ntb/if_ntb/if_ntb.c

Modified: head/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- head/sys/dev/ntb/if_ntb/if_ntb.c	Thu Sep  5 22:55:08 2013	(r255270)
+++ head/sys/dev/ntb/if_ntb/if_ntb.c	Thu Sep  5 22:56:52 2013	(r255271)
@@ -279,14 +279,14 @@ ntb_handle_module_events(struct module *
 	return (err);
 }
 
-static moduledata_t ntb_transport_mod = {
-	"ntb_transport",
+static moduledata_t if_ntb_mod = {
+	"if_ntb",
 	ntb_handle_module_events,
 	NULL
 };
 
-DECLARE_MODULE(ntb_transport, ntb_transport_mod, SI_SUB_KLD, SI_ORDER_ANY);
-MODULE_DEPEND(ntb_transport, ntb_hw, 1, 1, 1);
+DECLARE_MODULE(if_ntb, if_ntb_mod, SI_SUB_KLD, SI_ORDER_ANY);
+MODULE_DEPEND(if_ntb, ntb_hw, 1, 1, 1);
 
 static int
 ntb_setup_interface()


More information about the svn-src-head mailing list