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
6b6f5ccb
Commit
6b6f5ccb
authored
Oct 22, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] fix Promise build on older compilers
parent
0b6af2d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/scsi/sata_promise.c
drivers/scsi/sata_promise.c
+2
-2
No files found.
drivers/scsi/sata_promise.c
View file @
6b6f5ccb
...
@@ -728,9 +728,9 @@ static inline unsigned int pdc20621_host_intr( struct ata_port *ap,
...
@@ -728,9 +728,9 @@ static inline unsigned int pdc20621_host_intr( struct ata_port *ap,
/* step one - exec ATA command */
/* step one - exec ATA command */
else
{
else
{
u8
seq
=
(
u8
)
(
port_no
+
1
+
4
);
VPRINTK
(
"ata%u: read ata, 0x%x 0x%x
\n
"
,
ap
->
id
,
VPRINTK
(
"ata%u: read ata, 0x%x 0x%x
\n
"
,
ap
->
id
,
readl
(
mmio
+
0x104
),
readl
(
mmio
+
0x12c
));
readl
(
mmio
+
0x104
),
readl
(
mmio
+
0x12c
));
u8
seq
=
(
u8
)
(
port_no
+
1
+
4
);
/* submit hdma pkt */
/* submit hdma pkt */
writel
(
0x00000001
,
mmio
+
PDC_20621_SEQCTL
+
(
seq
*
4
));
writel
(
0x00000001
,
mmio
+
PDC_20621_SEQCTL
+
(
seq
*
4
));
...
@@ -747,9 +747,9 @@ static inline unsigned int pdc20621_host_intr( struct ata_port *ap,
...
@@ -747,9 +747,9 @@ static inline unsigned int pdc20621_host_intr( struct ata_port *ap,
case
ATA_PROT_DMA_WRITE
:
case
ATA_PROT_DMA_WRITE
:
/* step one - DMA from host to DIMM */
/* step one - DMA from host to DIMM */
if
(
doing_hdma
)
{
if
(
doing_hdma
)
{
u8
seq
=
(
u8
)
(
port_no
+
1
);
VPRINTK
(
"ata%u: write hdma, 0x%x 0x%x
\n
"
,
ap
->
id
,
VPRINTK
(
"ata%u: write hdma, 0x%x 0x%x
\n
"
,
ap
->
id
,
readl
(
mmio
+
0x104
),
readl
(
mmio
+
0x12c
));
readl
(
mmio
+
0x104
),
readl
(
mmio
+
0x12c
));
u8
seq
=
(
u8
)
(
port_no
+
1
);
/* submit ata pkt */
/* submit ata pkt */
writel
(
0x00000001
,
mmio
+
PDC_20621_SEQCTL
+
(
seq
*
4
));
writel
(
0x00000001
,
mmio
+
PDC_20621_SEQCTL
+
(
seq
*
4
));
...
...
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