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
0d47aeb4
Commit
0d47aeb4
authored
Oct 28, 2002
by
James Bottomley
Browse files
Options
Browse Files
Download
Plain Diff
Merge mulgrave.(none):/home/jejb/BK/scsi-misc-2.5
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5
parents
db81280f
651b69be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/scsi/ips.c
drivers/scsi/ips.c
+5
-5
No files found.
drivers/scsi/ips.c
View file @
0d47aeb4
...
@@ -247,8 +247,8 @@ struct proc_dir_entry proc_scsi_ips = {
...
@@ -247,8 +247,8 @@ struct proc_dir_entry proc_scsi_ips = {
#else
#else
#define IPS_SG_ADDRESS(sg) (page_address((sg)->page) ? \
#define IPS_SG_ADDRESS(sg) (page_address((sg)->page) ? \
page_address((sg)->page)+(sg)->offset : 0)
page_address((sg)->page)+(sg)->offset : 0)
#define IPS_LOCK_SAVE(lock,flags)
spin_lock(lock
)
#define IPS_LOCK_SAVE(lock,flags)
do{spin_lock(lock);(void)flags;}while(0
)
#define IPS_UNLOCK_RESTORE(lock,flags)
spin_unlock(lock
)
#define IPS_UNLOCK_RESTORE(lock,flags)
do{spin_unlock(lock);(void)flags;}while(0
)
#endif
#endif
#define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \
#define IPS_DMA_DIR(scb) ((!scb->scsi_cmd || ips_is_passthru(scb->scsi_cmd) || \
...
@@ -1880,9 +1880,9 @@ ips_slave_attach(Scsi_Device *SDptr)
...
@@ -1880,9 +1880,9 @@ ips_slave_attach(Scsi_Device *SDptr)
int
min
;
int
min
;
ha
=
IPS_HA
(
SDptr
->
host
);
ha
=
IPS_HA
(
SDptr
->
host
);
if
(
SDptr
->
tagged_supported
)
{
if
(
SDptr
->
tagged_supported
&&
SDptr
->
type
==
TYPE_DISK
)
{
min
=
ha
->
max_cmds
/
2
;
min
=
ha
->
max_cmds
/
2
;
if
(
min
<=
16
)
if
(
ha
->
enq
->
ucLogDriveCount
<=
2
)
min
=
ha
->
max_cmds
-
1
;
min
=
ha
->
max_cmds
-
1
;
scsi_adjust_queue_depth
(
SDptr
,
MSG_ORDERED_TAG
,
min
);
scsi_adjust_queue_depth
(
SDptr
,
MSG_ORDERED_TAG
,
min
);
}
}
...
@@ -4762,7 +4762,7 @@ ips_inquiry(ips_ha_t *ha, ips_scb_t *scb) {
...
@@ -4762,7 +4762,7 @@ ips_inquiry(ips_ha_t *ha, ips_scb_t *scb) {
inquiry
.
ResponseDataFormat
=
IPS_SCSI_INQ_RD_REV2
;
inquiry
.
ResponseDataFormat
=
IPS_SCSI_INQ_RD_REV2
;
inquiry
.
AdditionalLength
=
31
;
inquiry
.
AdditionalLength
=
31
;
inquiry
.
Flags
[
0
]
=
IPS_SCSI_INQ_Address16
;
inquiry
.
Flags
[
0
]
=
IPS_SCSI_INQ_Address16
;
inquiry
.
Flags
[
1
]
=
IPS_SCSI_INQ_WBus16
|
IPS_SCSI_INQ_Sync
;
inquiry
.
Flags
[
1
]
=
IPS_SCSI_INQ_WBus16
|
IPS_SCSI_INQ_Sync
|
IPS_SCSI_INQ_CmdQue
;
strncpy
(
inquiry
.
VendorId
,
"IBM "
,
8
);
strncpy
(
inquiry
.
VendorId
,
"IBM "
,
8
);
strncpy
(
inquiry
.
ProductId
,
"SERVERAID "
,
16
);
strncpy
(
inquiry
.
ProductId
,
"SERVERAID "
,
16
);
strncpy
(
inquiry
.
ProductRevisionLevel
,
"1.00"
,
4
);
strncpy
(
inquiry
.
ProductRevisionLevel
,
"1.00"
,
4
);
...
...
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