Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
8884e676
Commit
8884e676
authored
Feb 25, 2004
by
James Bottomley
Committed by
James Bottomley
Feb 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCSI: mptfusion update to 3.00.04
From: Moore, Eric Dean <Emoore@lsil.com>
parent
6e1a545e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
62 deletions
+13
-62
drivers/message/fusion/Kconfig
drivers/message/fusion/Kconfig
+0
-50
drivers/message/fusion/mptbase.c
drivers/message/fusion/mptbase.c
+6
-5
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptbase.h
+2
-2
drivers/message/fusion/mptscsih.c
drivers/message/fusion/mptscsih.c
+5
-5
No files found.
drivers/message/fusion/Kconfig
View file @
8884e676
...
@@ -3,7 +3,6 @@ menu "Fusion MPT device support"
...
@@ -3,7 +3,6 @@ menu "Fusion MPT device support"
config FUSION
config FUSION
tristate "Fusion MPT (base + ScsiHost) drivers"
tristate "Fusion MPT (base + ScsiHost) drivers"
depends on BLK_DEV_SD
---help---
---help---
LSI Logic Fusion(TM) Message Passing Technology (MPT) device support
LSI Logic Fusion(TM) Message Passing Technology (MPT) device support
provides high performance SCSI host initiator, and LAN [1] interface
provides high performance SCSI host initiator, and LAN [1] interface
...
@@ -14,41 +13,6 @@ config FUSION
...
@@ -14,41 +13,6 @@ config FUSION
[1] LAN is not supported on parallel SCSI medium.
[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
config FUSION_MAX_SGE
int "Maximum number of scatter gather entries"
int "Maximum number of scatter gather entries"
depends on FUSION
depends on FUSION
...
@@ -62,7 +26,6 @@ config FUSION_MAX_SGE
...
@@ -62,7 +26,6 @@ config FUSION_MAX_SGE
necessary (or recommended) unless the user will be running
necessary (or recommended) unless the user will be running
large I/O's via the raw interface.
large I/O's via the raw interface.
# How can we force these options to module or nothing?
config FUSION_ISENSE
config FUSION_ISENSE
tristate "Enhanced SCSI error reporting"
tristate "Enhanced SCSI error reporting"
depends on MODULES && FUSION && m
depends on MODULES && FUSION && m
...
@@ -132,17 +95,4 @@ config FUSION_LAN
...
@@ -132,17 +95,4 @@ config FUSION_LAN
If unsure whether you really want or need this, say N.
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
endmenu
drivers/message/fusion/mptbase.c
View file @
8884e676
...
@@ -1515,17 +1515,18 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id)
...
@@ -1515,17 +1515,18 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id)
||
(
ioc
->
chip_type
==
C1035
)
||
(
ioc
->
chip_type
==
FC929X
))
||
(
ioc
->
chip_type
==
C1035
)
||
(
ioc
->
chip_type
==
FC929X
))
mpt_detect_bound_ports
(
ioc
,
pdev
);
mpt_detect_bound_ports
(
ioc
,
pdev
);
if
((
r
=
mpt_do_ioc_recovery
(
ioc
,
MPT_HOSTEVENT_IOC_BRINGUP
,
CAN_SLEEP
))
!=
0
)
{
if
((
r
=
mpt_do_ioc_recovery
(
ioc
,
printk
(
KERN_WARNING
MYNAM
": WARNING - %s did not initialize properly! (%d)
\n
"
,
MPT_HOSTEVENT_IOC_BRINGUP
,
CAN_SLEEP
))
!=
0
)
{
ioc
->
name
,
r
);
printk
(
KERN_WARNING
MYNAM
}
": WARNING - %s did not initialize properly! (%d)
\n
"
,
ioc
->
name
,
r
);
if
(
r
!=
0
)
{
Q_DEL_ITEM
(
ioc
);
Q_DEL_ITEM
(
ioc
);
mpt_adapters
[
ioc
->
id
]
=
NULL
;
mpt_adapters
[
ioc
->
id
]
=
NULL
;
free_irq
(
ioc
->
pci_irq
,
ioc
);
free_irq
(
ioc
->
pci_irq
,
ioc
);
iounmap
(
mem
);
iounmap
(
mem
);
kfree
(
ioc
);
kfree
(
ioc
);
pci_set_drvdata
(
pdev
,
NULL
);
return
r
;
return
r
;
}
}
...
...
drivers/message/fusion/mptbase.h
View file @
8884e676
...
@@ -80,8 +80,8 @@
...
@@ -80,8 +80,8 @@
#define COPYRIGHT "Copyright (c) 1999-2003 " MODULEAUTHOR
#define COPYRIGHT "Copyright (c) 1999-2003 " MODULEAUTHOR
#endif
#endif
#define MPT_LINUX_VERSION_COMMON "3.00.0
3
"
#define MPT_LINUX_VERSION_COMMON "3.00.0
4
"
#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.00.0
3
"
#define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.00.0
4
"
#define WHAT_MAGIC_STRING "@" "(" "#" ")"
#define WHAT_MAGIC_STRING "@" "(" "#" ")"
#define show_mptmod_ver(s,ver) \
#define show_mptmod_ver(s,ver) \
...
...
drivers/message/fusion/mptscsih.c
View file @
8884e676
...
@@ -200,8 +200,8 @@ static int mptscsih_setup(char *str);
...
@@ -200,8 +200,8 @@ static int mptscsih_setup(char *str);
static
int
__init
mptscsih_init
(
void
);
static
int
__init
mptscsih_init
(
void
);
static
void
__exit
mptscsih_exit
(
void
);
static
void
__exit
mptscsih_exit
(
void
);
static
int
__devinit
mptscsih_probe
(
struct
pci_dev
*
,
const
struct
pci_device_id
*
);
static
int
mptscsih_probe
(
struct
pci_dev
*
,
const
struct
pci_device_id
*
);
static
void
__devexit
mptscsih_remove
(
struct
pci_dev
*
);
static
void
mptscsih_remove
(
struct
pci_dev
*
);
static
void
mptscsih_shutdown
(
struct
device
*
);
static
void
mptscsih_shutdown
(
struct
device
*
);
#ifdef CONFIG_PM
#ifdef CONFIG_PM
static
int
mptscsih_suspend
(
struct
pci_dev
*
pdev
,
u32
state
);
static
int
mptscsih_suspend
(
struct
pci_dev
*
pdev
,
u32
state
);
...
@@ -1405,7 +1405,7 @@ static char *info_kbuf = NULL;
...
@@ -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
)
mptscsih_probe
(
struct
pci_dev
*
pdev
,
const
struct
pci_device_id
*
id
)
{
{
struct
Scsi_Host
*
sh
=
NULL
;
struct
Scsi_Host
*
sh
=
NULL
;
...
@@ -1718,7 +1718,7 @@ mptscsih_probe(struct pci_dev *pdev, const struct pci_device_id *id)
...
@@ -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
)
mptscsih_remove
(
struct
pci_dev
*
pdev
)
{
{
MPT_ADAPTER
*
ioc
=
pci_get_drvdata
(
pdev
);
MPT_ADAPTER
*
ioc
=
pci_get_drvdata
(
pdev
);
...
@@ -1920,7 +1920,7 @@ mptscsih_resume(struct pci_dev *pdev)
...
@@ -1920,7 +1920,7 @@ mptscsih_resume(struct pci_dev *pdev)
static
struct
mpt_pci_driver
mptscsih_driver
=
{
static
struct
mpt_pci_driver
mptscsih_driver
=
{
.
probe
=
mptscsih_probe
,
.
probe
=
mptscsih_probe
,
.
remove
=
__devexit_p
(
mptscsih_remove
)
,
.
remove
=
mptscsih_remove
,
.
shutdown
=
mptscsih_shutdown
,
.
shutdown
=
mptscsih_shutdown
,
#ifdef CONFIG_PM
#ifdef CONFIG_PM
.
suspend
=
mptscsih_suspend
,
.
suspend
=
mptscsih_suspend
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment