Commit 8884e676 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley

SCSI: mptfusion update to 3.00.04

From: 	Moore, Eric Dean <Emoore@lsil.com>
parent 6e1a545e
......@@ -3,7 +3,6 @@ menu "Fusion MPT device support"
config FUSION
tristate "Fusion MPT (base + ScsiHost) drivers"
depends on BLK_DEV_SD
---help---
LSI Logic Fusion(TM) Message Passing Technology (MPT) device support
provides high performance SCSI host initiator, and LAN [1] interface
......@@ -14,41 +13,6 @@ config FUSION
[1] LAN is not supported on parallel SCSI medium.
These drivers require a Fusion MPT compatible PCI adapter installed
in the host system. MPT adapters contain specialized I/O processors
to handle I/O workload, and more importantly to offload this work
from the host CPU(s).
If you have Fusion MPT hardware and want to use it, you can say
Y or M here to add MPT (base + ScsiHost) drivers.
<Y> = build lib (fusion), and link [static] into the kernel [2]
proper
<M> = compiled as [dynamic] modules [3] named: (mptbase,
mptscsih)
[2] In order enable capability to boot the linux kernel
natively from a Fusion MPT target device, you MUST
answer Y here! (currently requires CONFIG_BLK_DEV_SD)
[3] To compile this support as modules, choose M here.
If unsure, say N.
If you say Y or M here you will get a choice of these
additional protocol and support module options: Module Name:
<M> Enhanced SCSI error reporting (isense)
<M> Fusion MPT misc device (ioctl) driver (mptctl)
<M> Fusion MPT LAN driver (mptlan)
---
Fusion MPT is trademark of LSI Logic Corporation, and its
architecture is based on LSI Logic's Message Passing Interface (MPI)
specification.
config FUSION_BOOT
bool
depends on FUSION=y
default y
config FUSION_MAX_SGE
int "Maximum number of scatter gather entries"
depends on FUSION
......@@ -62,7 +26,6 @@ config FUSION_MAX_SGE
necessary (or recommended) unless the user will be running
large I/O's via the raw interface.
# How can we force these options to module or nothing?
config FUSION_ISENSE
tristate "Enhanced SCSI error reporting"
depends on MODULES && FUSION && m
......@@ -132,17 +95,4 @@ config FUSION_LAN
If unsure whether you really want or need this, say N.
NOTES: This feature is NOT available nor supported for linux-2.2.x
kernels. You must be building a linux-2.3.x or linux-2.4.x kernel
in order to configure this option.
Support for building this feature into the linux kernel is not
yet available.
# if [ "$CONFIG_FUSION_LAN" != "n" ]; then
# define_bool CONFIG_NET_FC y
# fi
# These <should> be define_tristate, but we leave them define_bool
# for backward compatibility with pre-linux-2.2.15 kernels.
# (Bugzilla:fibrebugs, #384)
endmenu
......@@ -1515,17 +1515,18 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|| (ioc->chip_type == C1035) || (ioc->chip_type == FC929X))
mpt_detect_bound_ports(ioc, pdev);
if ((r = mpt_do_ioc_recovery(ioc, MPT_HOSTEVENT_IOC_BRINGUP, CAN_SLEEP)) != 0) {
printk(KERN_WARNING MYNAM ": WARNING - %s did not initialize properly! (%d)\n",
ioc->name, r);
}
if ((r = mpt_do_ioc_recovery(ioc,
MPT_HOSTEVENT_IOC_BRINGUP, CAN_SLEEP)) != 0) {
printk(KERN_WARNING MYNAM
": WARNING - %s did not initialize properly! (%d)\n",
ioc->name, r);
if(r != 0 ) {
Q_DEL_ITEM(ioc);
mpt_adapters[ioc->id] = NULL;
free_irq(ioc->pci_irq, ioc);
iounmap(mem);
kfree(ioc);
pci_set_drvdata(pdev, NULL);
return r;
}
......
......@@ -80,8 +80,8 @@
#define COPYRIGHT "Copyright (c) 1999-2003 " MODULEAUTHOR
#endif
#define MPT_LINUX_VERSION_COMMON "3.00.03"
#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.00.03"
#define MPT_LINUX_VERSION_COMMON "3.00.04"
#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.00.04"
#define WHAT_MAGIC_STRING "@" "(" "#" ")"
#define show_mptmod_ver(s,ver) \
......
......@@ -200,8 +200,8 @@ static int mptscsih_setup(char *str);
static int __init mptscsih_init (void);
static void __exit mptscsih_exit (void);
static int __devinit mptscsih_probe (struct pci_dev *, const struct pci_device_id *);
static void __devexit mptscsih_remove(struct pci_dev *);
static int mptscsih_probe (struct pci_dev *, const struct pci_device_id *);
static void mptscsih_remove(struct pci_dev *);
static void mptscsih_shutdown(struct device *);
#ifdef CONFIG_PM
static int mptscsih_suspend(struct pci_dev *pdev, u32 state);
......@@ -1405,7 +1405,7 @@ static char *info_kbuf = NULL;
*
*/
static int __devinit
static int
mptscsih_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{
struct Scsi_Host *sh = NULL;
......@@ -1718,7 +1718,7 @@ mptscsih_probe(struct pci_dev *pdev, const struct pci_device_id *id)
*
*
*/
static void __devexit
static void
mptscsih_remove(struct pci_dev *pdev)
{
MPT_ADAPTER *ioc = pci_get_drvdata(pdev);
......@@ -1920,7 +1920,7 @@ mptscsih_resume(struct pci_dev *pdev)
static struct mpt_pci_driver mptscsih_driver = {
.probe = mptscsih_probe,
.remove = __devexit_p(mptscsih_remove),
.remove = mptscsih_remove,
.shutdown = mptscsih_shutdown,
#ifdef CONFIG_PM
.suspend = mptscsih_suspend,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment