Skip to content

Commit

Permalink
[SCSI] isci: add version number
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
  • Loading branch information
Dan Williams authored and James Bottomley committed Aug 24, 2011
1 parent 77cd72a commit 98e2a5a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion drivers/scsi/isci/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@
#include "task.h"
#include "probe_roms.h"

#define MAJ 1
#define MIN 0
#define BUILD 0
#define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \
__stringify(BUILD)

MODULE_VERSION(DRV_VERSION);

static struct scsi_transport_template *isci_transport_template;

static DEFINE_PCI_DEVICE_TABLE(isci_id_table) = {
Expand Down Expand Up @@ -540,7 +548,8 @@ static __init int isci_init(void)
{
int err;

pr_info("%s: Intel(R) C600 SAS Controller Driver\n", DRV_NAME);
pr_info("%s: Intel(R) C600 SAS Controller Driver - version %s\n",
DRV_NAME, DRV_VERSION);

isci_transport_template = sas_domain_attach_transport(&isci_transport_ops);
if (!isci_transport_template)
Expand Down

0 comments on commit 98e2a5a

Please sign in to comment.