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
a64f97f2
Commit
a64f97f2
authored
Sep 19, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'tmp' into upstream
Conflicts: drivers/ata/libata-sff.c
parents
b68c5f54
cb60736b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
drivers/ata/libata-sff.c
drivers/ata/libata-sff.c
+12
-2
No files found.
drivers/ata/libata-sff.c
View file @
a64f97f2
...
...
@@ -997,11 +997,16 @@ int ata_pci_init_one (struct pci_dev *pdev, struct ata_port_info **port_info,
res
.
start
=
ATA_PRIMARY_CMD
;
res
.
end
=
ATA_PRIMARY_CMD
+
8
-
1
;
conflict
=
____request_resource
(
&
ioport_resource
,
&
res
);
while
(
conflict
->
child
)
conflict
=
____request_resource
(
conflict
,
&
res
);
if
(
!
strcmp
(
conflict
->
name
,
"libata"
))
legacy_mode
|=
ATA_PORT_PRIMARY
;
else
{
disable_dev_on_err
=
0
;
printk
(
KERN_WARNING
"ata: 0x%0X IDE port busy
\n
"
,
ATA_PRIMARY_CMD
);
printk
(
KERN_WARNING
"ata: 0x%0X IDE port busy
\n
"
\
"ata: conflict with %s
\n
"
,
ATA_PRIMARY_CMD
,
conflict
->
name
);
}
}
else
legacy_mode
|=
ATA_PORT_PRIMARY
;
...
...
@@ -1011,11 +1016,16 @@ int ata_pci_init_one (struct pci_dev *pdev, struct ata_port_info **port_info,
res
.
start
=
ATA_SECONDARY_CMD
;
res
.
end
=
ATA_SECONDARY_CMD
+
8
-
1
;
conflict
=
____request_resource
(
&
ioport_resource
,
&
res
);
while
(
conflict
->
child
)
conflict
=
____request_resource
(
conflict
,
&
res
);
if
(
!
strcmp
(
conflict
->
name
,
"libata"
))
legacy_mode
|=
ATA_PORT_SECONDARY
;
else
{
disable_dev_on_err
=
0
;
printk
(
KERN_WARNING
"ata: 0x%X IDE port busy
\n
"
,
ATA_SECONDARY_CMD
);
printk
(
KERN_WARNING
"ata: 0x%X IDE port busy
\n
"
\
"ata: conflict with %s
\n
"
,
ATA_SECONDARY_CMD
,
conflict
->
name
);
}
}
else
legacy_mode
|=
ATA_PORT_SECONDARY
;
...
...
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