[SCSI] fusion: MODULE_VERSION support
* Add modinfo driver version support. * Change copyright year to 2007. Signed-off-by: Eric Moore <Eric.Moore@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
f99be43b30
commit
9f4203b357
11 changed files with 22 additions and 14 deletions
|
@ -5,7 +5,7 @@
|
||||||
* For use with LSI Logic PCI chip/adapter(s)
|
* For use with LSI Logic PCI chip/adapter(s)
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -73,6 +73,7 @@
|
||||||
MODULE_AUTHOR(MODULEAUTHOR);
|
MODULE_AUTHOR(MODULEAUTHOR);
|
||||||
MODULE_DESCRIPTION(my_NAME);
|
MODULE_DESCRIPTION(my_NAME);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_VERSION(my_VERSION);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* cmd line parameters
|
* cmd line parameters
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* LSIFC9xx/LSI409xx Fibre Channel
|
* LSIFC9xx/LSI409xx Fibre Channel
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef COPYRIGHT
|
#ifndef COPYRIGHT
|
||||||
#define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR
|
#define COPYRIGHT "Copyright (c) 1999-2007 " MODULEAUTHOR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MPT_LINUX_VERSION_COMMON "3.04.02"
|
#define MPT_LINUX_VERSION_COMMON "3.04.02"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* For use with LSI Logic PCI chip/adapters
|
* For use with LSI Logic PCI chip/adapters
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
#include <scsi/scsi_host.h>
|
#include <scsi/scsi_host.h>
|
||||||
#include <scsi/scsi_tcq.h>
|
#include <scsi/scsi_tcq.h>
|
||||||
|
|
||||||
#define COPYRIGHT "Copyright (c) 1999-2005 LSI Logic Corporation"
|
#define COPYRIGHT "Copyright (c) 1999-2007 LSI Logic Corporation"
|
||||||
#define MODULEAUTHOR "LSI Logic Corporation"
|
#define MODULEAUTHOR "LSI Logic Corporation"
|
||||||
#include "mptbase.h"
|
#include "mptbase.h"
|
||||||
#include "mptctl.h"
|
#include "mptctl.h"
|
||||||
|
@ -79,6 +79,7 @@
|
||||||
MODULE_AUTHOR(MODULEAUTHOR);
|
MODULE_AUTHOR(MODULEAUTHOR);
|
||||||
MODULE_DESCRIPTION(my_NAME);
|
MODULE_DESCRIPTION(my_NAME);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_VERSION(my_VERSION);
|
||||||
|
|
||||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* LSIFC9xx/LSI409xx Fibre Channel
|
* LSIFC9xx/LSI409xx Fibre Channel
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* For use with LSI Logic PCI chip/adapter(s)
|
* For use with LSI Logic PCI chip/adapter(s)
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
MODULE_AUTHOR(MODULEAUTHOR);
|
MODULE_AUTHOR(MODULEAUTHOR);
|
||||||
MODULE_DESCRIPTION(my_NAME);
|
MODULE_DESCRIPTION(my_NAME);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_VERSION(my_VERSION);
|
||||||
|
|
||||||
/* Command line args */
|
/* Command line args */
|
||||||
#define MPTFC_DEV_LOSS_TMO (60)
|
#define MPTFC_DEV_LOSS_TMO (60)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* For use with LSI Logic Fibre Channel PCI chip/adapters
|
* For use with LSI Logic Fibre Channel PCI chip/adapters
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2000-2005 LSI Logic Corporation
|
* Copyright (c) 2000-2007 LSI Logic Corporation
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||||
|
@ -56,9 +56,11 @@
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/fs.h>
|
#include <linux/fs.h>
|
||||||
|
|
||||||
|
#define my_VERSION MPT_LINUX_VERSION_COMMON
|
||||||
#define MYNAM "mptlan"
|
#define MYNAM "mptlan"
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_VERSION(my_VERSION);
|
||||||
|
|
||||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* For use with LSI Logic Fibre Channel PCI chip/adapters
|
* For use with LSI Logic Fibre Channel PCI chip/adapters
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2000-2005 LSI Logic Corporation
|
* Copyright (c) 2000-2007 LSI Logic Corporation
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
* For use with LSI Logic PCI chip/adapter(s)
|
* For use with LSI Logic PCI chip/adapter(s)
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
* Copyright (c) 2005-2006 Dell
|
* Copyright (c) 2005-2007 Dell
|
||||||
*/
|
*/
|
||||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||||
/*
|
/*
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
MODULE_AUTHOR(MODULEAUTHOR);
|
MODULE_AUTHOR(MODULEAUTHOR);
|
||||||
MODULE_DESCRIPTION(my_NAME);
|
MODULE_DESCRIPTION(my_NAME);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_VERSION(my_VERSION);
|
||||||
|
|
||||||
static int mpt_pt_clear;
|
static int mpt_pt_clear;
|
||||||
module_param(mpt_pt_clear, int, 0);
|
module_param(mpt_pt_clear, int, 0);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* For use with LSI Logic PCI chip/adapter(s)
|
* For use with LSI Logic PCI chip/adapter(s)
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -76,6 +76,7 @@
|
||||||
MODULE_AUTHOR(MODULEAUTHOR);
|
MODULE_AUTHOR(MODULEAUTHOR);
|
||||||
MODULE_DESCRIPTION(my_NAME);
|
MODULE_DESCRIPTION(my_NAME);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_VERSION(my_VERSION);
|
||||||
|
|
||||||
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* LSIFC9xx/LSI409xx Fibre Channel
|
* LSIFC9xx/LSI409xx Fibre Channel
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* For use with LSI Logic PCI chip/adapter(s)
|
* For use with LSI Logic PCI chip/adapter(s)
|
||||||
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
* running LSI Logic Fusion MPT (Message Passing Technology) firmware.
|
||||||
*
|
*
|
||||||
* Copyright (c) 1999-2005 LSI Logic Corporation
|
* Copyright (c) 1999-2007 LSI Logic Corporation
|
||||||
* (mailto:mpt_linux_developer@lsil.com)
|
* (mailto:mpt_linux_developer@lsil.com)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -77,6 +77,7 @@
|
||||||
MODULE_AUTHOR(MODULEAUTHOR);
|
MODULE_AUTHOR(MODULEAUTHOR);
|
||||||
MODULE_DESCRIPTION(my_NAME);
|
MODULE_DESCRIPTION(my_NAME);
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
MODULE_VERSION(my_VERSION);
|
||||||
|
|
||||||
/* Command line args */
|
/* Command line args */
|
||||||
static int mpt_saf_te = MPTSCSIH_SAF_TE;
|
static int mpt_saf_te = MPTSCSIH_SAF_TE;
|
||||||
|
|
Reference in a new issue