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
27c78b37
Commit
27c78b37
authored
Mar 09, 2007
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata reset-seq] build and merge fixes
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
31daabda
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
drivers/ata/pata_artop.c
drivers/ata/pata_artop.c
+2
-1
drivers/ata/pata_marvell.c
drivers/ata/pata_marvell.c
+2
-1
drivers/ata/pata_sis.c
drivers/ata/pata_sis.c
+1
-1
No files found.
drivers/ata/pata_artop.c
View file @
27c78b37
...
@@ -89,7 +89,8 @@ static int artop6260_pre_reset(struct ata_port *ap, unsigned long deadline)
...
@@ -89,7 +89,8 @@ static int artop6260_pre_reset(struct ata_port *ap, unsigned long deadline)
/* Odd numbered device ids are the units with enable bits (the -R cards) */
/* Odd numbered device ids are the units with enable bits (the -R cards) */
if
(
pdev
->
device
%
1
&&
!
pci_test_config_bits
(
pdev
,
&
artop_enable_bits
[
ap
->
port_no
]))
if
(
pdev
->
device
%
1
&&
!
pci_test_config_bits
(
pdev
,
&
artop_enable_bits
[
ap
->
port_no
]))
return
-
ENOENT
;
return
-
ENOENT
;
return
ata_std_prereset
(
ap
);
return
ata_std_prereset
(
ap
,
deadline
);
}
}
/**
/**
...
...
drivers/ata/pata_marvell.c
View file @
27c78b37
...
@@ -53,7 +53,8 @@ static int marvell_pre_reset(struct ata_port *ap, unsigned long deadline)
...
@@ -53,7 +53,8 @@ static int marvell_pre_reset(struct ata_port *ap, unsigned long deadline)
if
((
pdev
->
device
==
0x6145
)
&&
(
ap
->
port_no
==
0
)
&&
if
((
pdev
->
device
==
0x6145
)
&&
(
ap
->
port_no
==
0
)
&&
(
!
(
devices
&
0x10
)))
/* PATA enable ? */
(
!
(
devices
&
0x10
)))
/* PATA enable ? */
return
-
ENOENT
;
return
-
ENOENT
;
return
ata_std_prereset
(
ap
);
return
ata_std_prereset
(
ap
,
deadline
);
}
}
static
int
marvell_cable_detect
(
struct
ata_port
*
ap
)
static
int
marvell_cable_detect
(
struct
ata_port
*
ap
)
...
...
drivers/ata/pata_sis.c
View file @
27c78b37
...
@@ -137,7 +137,7 @@ static int sis_66_cable_detect(struct ata_port *ap)
...
@@ -137,7 +137,7 @@ static int sis_66_cable_detect(struct ata_port *ap)
* Set up cable type and use generic probe init
* Set up cable type and use generic probe init
*/
*/
static
int
sis_
old_
pre_reset
(
struct
ata_port
*
ap
,
unsigned
long
deadline
)
static
int
sis_pre_reset
(
struct
ata_port
*
ap
,
unsigned
long
deadline
)
{
{
static
const
struct
pci_bits
sis_enable_bits
[]
=
{
static
const
struct
pci_bits
sis_enable_bits
[]
=
{
{
0x4aU
,
1U
,
0x02UL
,
0x02UL
},
/* port 0 */
{
0x4aU
,
1U
,
0x02UL
,
0x02UL
},
/* port 0 */
...
...
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