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
cffacd85
Commit
cffacd85
authored
Mar 09, 2007
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] sata_mv: support ->cable_detect
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
a76b62ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/ata/sata_mv.c
drivers/ata/sata_mv.c
+3
-1
No files found.
drivers/ata/sata_mv.c
View file @
cffacd85
...
@@ -402,6 +402,7 @@ static const struct ata_port_operations mv5_ops = {
...
@@ -402,6 +402,7 @@ static const struct ata_port_operations mv5_ops = {
.
dev_select
=
ata_std_dev_select
,
.
dev_select
=
ata_std_dev_select
,
.
phy_reset
=
mv_phy_reset
,
.
phy_reset
=
mv_phy_reset
,
.
cable_detect
=
ata_cable_sata
,
.
qc_prep
=
mv_qc_prep
,
.
qc_prep
=
mv_qc_prep
,
.
qc_issue
=
mv_qc_issue
,
.
qc_issue
=
mv_qc_issue
,
...
@@ -431,6 +432,7 @@ static const struct ata_port_operations mv6_ops = {
...
@@ -431,6 +432,7 @@ static const struct ata_port_operations mv6_ops = {
.
dev_select
=
ata_std_dev_select
,
.
dev_select
=
ata_std_dev_select
,
.
phy_reset
=
mv_phy_reset
,
.
phy_reset
=
mv_phy_reset
,
.
cable_detect
=
ata_cable_sata
,
.
qc_prep
=
mv_qc_prep
,
.
qc_prep
=
mv_qc_prep
,
.
qc_issue
=
mv_qc_issue
,
.
qc_issue
=
mv_qc_issue
,
...
@@ -460,6 +462,7 @@ static const struct ata_port_operations mv_iie_ops = {
...
@@ -460,6 +462,7 @@ static const struct ata_port_operations mv_iie_ops = {
.
dev_select
=
ata_std_dev_select
,
.
dev_select
=
ata_std_dev_select
,
.
phy_reset
=
mv_phy_reset
,
.
phy_reset
=
mv_phy_reset
,
.
cable_detect
=
ata_cable_sata
,
.
qc_prep
=
mv_qc_prep_iie
,
.
qc_prep
=
mv_qc_prep_iie
,
.
qc_issue
=
mv_qc_issue
,
.
qc_issue
=
mv_qc_issue
,
...
@@ -1972,7 +1975,6 @@ static void __mv_phy_reset(struct ata_port *ap, int can_sleep)
...
@@ -1972,7 +1975,6 @@ static void __mv_phy_reset(struct ata_port *ap, int can_sleep)
ata_port_disable
(
ap
);
ata_port_disable
(
ap
);
return
;
return
;
}
}
ap
->
cbl
=
ATA_CBL_SATA
;
/* even after SStatus reflects that device is ready,
/* even after SStatus reflects that device is ready,
* it seems to take a while for link to be fully
* it seems to take a while for link to be fully
...
...
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