aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb
diff options
context:
space:
mode:
authorCarl Delsey <carl@FreeBSD.org>2013-09-05 22:56:52 +0000
committerCarl Delsey <carl@FreeBSD.org>2013-09-05 22:56:52 +0000
commit64d957247f15319bd37275045c772871e366ec5b (patch)
tree82076573ab092ec1815a22922b62a7506d983fd4 /sys/dev/ntb
parentd58a14820faf0171c204e2a14309268995e81b17 (diff)
downloadsrc-64d957247f15319bd37275045c772871e366ec5b.tar.gz
src-64d957247f15319bd37275045c772871e366ec5b.zip
Fix name change from ntb_transport to if_ntb. A few places were
overlooked. Approved by: jimharris Sponsored by: Intel
Notes
Notes: svn path=/head/; revision=255271
Diffstat (limited to 'sys/dev/ntb')
-rw-r--r--sys/dev/ntb/if_ntb/if_ntb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ntb/if_ntb/if_ntb.c b/sys/dev/ntb/if_ntb/if_ntb.c
index 58a72dcbc562..510bd754945b 100644
--- a/sys/dev/ntb/if_ntb/if_ntb.c
+++ b/sys/dev/ntb/if_ntb/if_ntb.c
@@ -279,14 +279,14 @@ ntb_handle_module_events(struct module *m, int what, void *arg)
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()