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
82f7c848
Commit
82f7c848
authored
Jan 10, 2004
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sym2 Ultra160 mode
From: Anton Blanchard <anton@samba.org>
parent
49822268
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
+13
-9
No files found.
drivers/scsi/sym53c8xx_2/sym_hipd.c
View file @
82f7c848
...
...
@@ -1058,13 +1058,11 @@ static int sym_prepare_setting(hcb_p np, struct sym_nvram *nvram)
* and BUS width.
*/
if
(
np
->
features
&
FE_ULTRA3
)
{
if
(
tp
->
tinfo
.
user
.
period
<=
9
&&
tp
->
tinfo
.
user
.
width
==
BUS_16_BIT
)
{
tp
->
tinfo
.
user
.
options
|=
PPR_OPT_DT
;
tp
->
tinfo
.
user
.
period
=
np
->
minsync_dt
;
tp
->
tinfo
.
user
.
offset
=
np
->
maxoffs_dt
;
tp
->
tinfo
.
user
.
spi_version
=
3
;
}
}
if
(
!
tp
->
usrtags
)
tp
->
usrflags
&=
~
SYM_TAGS_ENABLED
;
...
...
@@ -2126,9 +2124,15 @@ sym_setsync(hcb_p np, int target,
sym_settrans
(
np
,
target
,
0
,
ofs
,
per
,
wide
,
div
,
fak
);
tp
->
tinfo
.
goal
.
period
=
tp
->
tinfo
.
curr
.
period
=
per
;
tp
->
tinfo
.
goal
.
offset
=
tp
->
tinfo
.
curr
.
offset
=
ofs
;
tp
->
tinfo
.
goal
.
options
=
tp
->
tinfo
.
curr
.
options
=
0
;
tp
->
tinfo
.
curr
.
period
=
per
;
tp
->
tinfo
.
curr
.
offset
=
ofs
;
tp
->
tinfo
.
curr
.
options
=
0
;
if
(
!
(
tp
->
tinfo
.
goal
.
options
&
PPR_OPT_MASK
))
{
tp
->
tinfo
.
goal
.
period
=
per
;
tp
->
tinfo
.
goal
.
offset
=
ofs
;
tp
->
tinfo
.
goal
.
options
=
0
;
}
sym_xpt_async_nego_sync
(
np
,
target
);
}
...
...
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