diff options
author | Dave Jiang <dave.jiang@intel.com> | 2015-06-15 14:21:33 +0200 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2015-07-04 20:09:28 +0200 |
commit | 7eb387813db6730a5793cd53077b4039d948d17f (patch) | |
tree | ee04a4ac5b3c65661a61137a2b20fe317b0f0b43 /drivers/ntb/ntb_transport.c | |
parent | NTB: Increase transport MTU to 64k from 16k (diff) | |
download | linux-7eb387813db6730a5793cd53077b4039d948d17f.tar.xz linux-7eb387813db6730a5793cd53077b4039d948d17f.zip |
NTB: Print driver name and version in module init
Printouts driver name and version to indicate what is being loaded.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/ntb_transport.c')
-rw-r--r-- | drivers/ntb/ntb_transport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index 1551493197b4..efe3ad4122f2 100644 --- a/drivers/ntb/ntb_transport.c +++ b/drivers/ntb/ntb_transport.c @@ -1958,6 +1958,8 @@ static int __init ntb_transport_init(void) { int rc; + pr_info("%s, version %s\n", NTB_TRANSPORT_DESC, NTB_TRANSPORT_VER); + if (debugfs_initialized()) nt_debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); |