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
Kirill Smelkov
linux
Commits
d239c2e8
Commit
d239c2e8
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] region cleanups etc in ips driver
parent
e85337c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
drivers/scsi/ips.c
drivers/scsi/ips.c
+3
-4
No files found.
drivers/scsi/ips.c
View file @
d239c2e8
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
/* 2.3.18 and later */
/* 2.3.18 and later */
/* - Sync with other changes from the 2.3 kernels */
/* - Sync with other changes from the 2.3 kernels */
/* 4.00.06 - Fix timeout with initial FFDC command */
/* 4.00.06 - Fix timeout with initial FFDC command */
/* 4.00.06a - Port to 2.4 (trivial) -- Christoph Hellwig <hch@
caldera.de>
*/
/* 4.00.06a - Port to 2.4 (trivial) -- Christoph Hellwig <hch@
infradead.org>
*/
/* 4.10.00 - Add support for ServeRAID 4M/4L */
/* 4.10.00 - Add support for ServeRAID 4M/4L */
/* 4.10.13 - Fix for dynamic unload and proc file system */
/* 4.10.13 - Fix for dynamic unload and proc file system */
/* 4.20.03 - Rename version to coincide with new release schedules */
/* 4.20.03 - Rename version to coincide with new release schedules */
...
@@ -190,6 +190,7 @@
...
@@ -190,6 +190,7 @@
#ifdef MODULE
#ifdef MODULE
static
char
*
ips
=
NULL
;
static
char
*
ips
=
NULL
;
MODULE_PARM
(
ips
,
"s"
);
MODULE_PARM
(
ips
,
"s"
);
MODULE_LICENSE
(
"GPL"
);
#endif
#endif
/*
/*
...
@@ -884,7 +885,7 @@ ips_detect(Scsi_Host_Template *SHT) {
...
@@ -884,7 +885,7 @@ ips_detect(Scsi_Host_Template *SHT) {
DEBUG_VAR
(
1
,
"(%s%d) detect, IO region %x, size: %d"
,
DEBUG_VAR
(
1
,
"(%s%d) detect, IO region %x, size: %d"
,
ips_name
,
ips_next_controller
,
io_addr
,
io_len
);
ips_name
,
ips_next_controller
,
io_addr
,
io_len
);
if
(
check_region
(
io_addr
,
io_len
))
{
if
(
!
request_region
(
io_addr
,
io_len
,
"ips"
))
{
/* Couldn't allocate io space */
/* Couldn't allocate io space */
printk
(
KERN_WARNING
"(%s%d) couldn't allocate IO space %x len %d.
\n
"
,
printk
(
KERN_WARNING
"(%s%d) couldn't allocate IO space %x len %d.
\n
"
,
ips_name
,
ips_next_controller
,
io_addr
,
io_len
);
ips_name
,
ips_next_controller
,
io_addr
,
io_len
);
...
@@ -893,8 +894,6 @@ ips_detect(Scsi_Host_Template *SHT) {
...
@@ -893,8 +894,6 @@ ips_detect(Scsi_Host_Template *SHT) {
continue
;
continue
;
}
}
request_region
(
io_addr
,
io_len
,
"ips"
);
}
}
/* get planer status */
/* get planer status */
...
...
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