Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
389984cb
Commit
389984cb
authored
Feb 09, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upstream-fixes'
parents
8a19ac89
9caafa6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
drivers/scsi/sata_sil.c
drivers/scsi/sata_sil.c
+8
-2
No files found.
drivers/scsi/sata_sil.c
View file @
389984cb
...
...
@@ -231,6 +231,10 @@ MODULE_LICENSE("GPL");
MODULE_DEVICE_TABLE
(
pci
,
sil_pci_tbl
);
MODULE_VERSION
(
DRV_VERSION
);
static
int
slow_down
=
0
;
module_param
(
slow_down
,
int
,
0444
);
MODULE_PARM_DESC
(
slow_down
,
"Sledgehammer used to work around random problems, by limiting commands to 15 sectors (0=off, 1=on)"
);
static
unsigned
char
sil_get_device_cache_line
(
struct
pci_dev
*
pdev
)
{
...
...
@@ -354,8 +358,10 @@ static void sil_dev_config(struct ata_port *ap, struct ata_device *dev)
}
/* limit requests to 15 sectors */
if
((
ap
->
flags
&
SIL_FLAG_MOD15WRITE
)
&&
(
quirks
&
SIL_QUIRK_MOD15WRITE
))
{
printk
(
KERN_INFO
"ata%u(%u): applying Seagate errata fix
\n
"
,
if
(
slow_down
||
((
ap
->
flags
&
SIL_FLAG_MOD15WRITE
)
&&
(
quirks
&
SIL_QUIRK_MOD15WRITE
)))
{
printk
(
KERN_INFO
"ata%u(%u): applying Seagate errata fix (mod15write workaround)
\n
"
,
ap
->
id
,
dev
->
devno
);
ap
->
host
->
max_sectors
=
15
;
ap
->
host
->
hostt
->
max_sectors
=
15
;
...
...
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