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
488677e9
Commit
488677e9
authored
Mar 10, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/garz/repo/libata-dev/ahci-tf-read
into pobox.com:/garz/repo/libata-2.6
parents
3e2c4452
c6e4a228
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
drivers/scsi/ahci.c
drivers/scsi/ahci.c
+11
-0
No files found.
drivers/scsi/ahci.c
View file @
488677e9
...
@@ -177,6 +177,7 @@ static void ahci_eng_timeout(struct ata_port *ap);
...
@@ -177,6 +177,7 @@ static void ahci_eng_timeout(struct ata_port *ap);
static
int
ahci_port_start
(
struct
ata_port
*
ap
);
static
int
ahci_port_start
(
struct
ata_port
*
ap
);
static
void
ahci_port_stop
(
struct
ata_port
*
ap
);
static
void
ahci_port_stop
(
struct
ata_port
*
ap
);
static
void
ahci_host_stop
(
struct
ata_host_set
*
host_set
);
static
void
ahci_host_stop
(
struct
ata_host_set
*
host_set
);
static
void
ahci_tf_read
(
struct
ata_port
*
ap
,
struct
ata_taskfile
*
tf
);
static
void
ahci_qc_prep
(
struct
ata_queued_cmd
*
qc
);
static
void
ahci_qc_prep
(
struct
ata_queued_cmd
*
qc
);
static
u8
ahci_check_status
(
struct
ata_port
*
ap
);
static
u8
ahci_check_status
(
struct
ata_port
*
ap
);
static
u8
ahci_check_err
(
struct
ata_port
*
ap
);
static
u8
ahci_check_err
(
struct
ata_port
*
ap
);
...
@@ -210,6 +211,8 @@ static struct ata_port_operations ahci_ops = {
...
@@ -210,6 +211,8 @@ static struct ata_port_operations ahci_ops = {
.
check_err
=
ahci_check_err
,
.
check_err
=
ahci_check_err
,
.
dev_select
=
ata_noop_dev_select
,
.
dev_select
=
ata_noop_dev_select
,
.
tf_read
=
ahci_tf_read
,
.
phy_reset
=
ahci_phy_reset
,
.
phy_reset
=
ahci_phy_reset
,
.
qc_prep
=
ahci_qc_prep
,
.
qc_prep
=
ahci_qc_prep
,
...
@@ -463,6 +466,14 @@ static u8 ahci_check_err(struct ata_port *ap)
...
@@ -463,6 +466,14 @@ static u8 ahci_check_err(struct ata_port *ap)
return
(
readl
(
mmio
+
PORT_TFDATA
)
>>
8
)
&
0xFF
;
return
(
readl
(
mmio
+
PORT_TFDATA
)
>>
8
)
&
0xFF
;
}
}
static
void
ahci_tf_read
(
struct
ata_port
*
ap
,
struct
ata_taskfile
*
tf
)
{
struct
ahci_port_priv
*
pp
=
ap
->
private_data
;
u8
*
d2h_fis
=
pp
->
rx_fis
+
RX_FIS_D2H_REG
;
ata_tf_from_fis
(
d2h_fis
,
tf
);
}
static
void
ahci_fill_sg
(
struct
ata_queued_cmd
*
qc
)
static
void
ahci_fill_sg
(
struct
ata_queued_cmd
*
qc
)
{
{
struct
ahci_port_priv
*
pp
=
qc
->
ap
->
private_data
;
struct
ahci_port_priv
*
pp
=
qc
->
ap
->
private_data
;
...
...
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