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
Kirill Smelkov
linux
Commits
9ffd3606
Commit
9ffd3606
authored
May 05, 2004
by
Jeremy Higdon
Committed by
Jeff Garzik
May 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sata_vsc initialization fix
parent
990e3971
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/scsi/sata_vsc.c
drivers/scsi/sata_vsc.c
+4
-0
No files found.
drivers/scsi/sata_vsc.c
View file @
9ffd3606
...
...
@@ -44,6 +44,8 @@
#define VSC_SATA_TF_CTL_OFFSET 0x29
/* DMA base */
#define VSC_SATA_UP_DESCRIPTOR_OFFSET 0x64
#define VSC_SATA_UP_DATA_BUFFER_OFFSET 0x6C
#define VSC_SATA_DMA_CMD_OFFSET 0x70
/* SCRs base */
...
...
@@ -234,6 +236,8 @@ static void __devinit vsc_sata_setup_port(struct ata_ioports *port, unsigned lon
port
->
ctl_addr
=
base
+
VSC_SATA_TF_CTL_OFFSET
;
port
->
bmdma_addr
=
base
+
VSC_SATA_DMA_CMD_OFFSET
;
port
->
scr_addr
=
base
+
VSC_SATA_SCR_STATUS_OFFSET
;
writel
(
0
,
base
+
VSC_SATA_UP_DESCRIPTOR_OFFSET
);
writel
(
0
,
base
+
VSC_SATA_UP_DATA_BUFFER_OFFSET
);
}
...
...
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