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>
if (rc)
goto err_register;
+ dev_info(&pdev->dev, "NTB device registered.\n");
+
return 0;
err_register:
static int __init intel_ntb_pci_driver_init(void)
{
+ pr_info("%s %s\n", NTB_DESC, NTB_VER);
+
if (debugfs_initialized())
debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL);
{
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);