Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9705
b: refs/heads/master
c: 7f726d1
h: refs/heads/master
i:
  9703: fabe082
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Oct 6, 2005
1 parent 4493c4f commit bde8c6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a575fa969beeddd0859f9e9d26ab16c6a0d8d6a
refs/heads/master: 7f726d125d570f38b9e7c8a2decebc39c0a343dc
9 changes: 9 additions & 0 deletions trunk/drivers/scsi/sata_sil24.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ static u8 sil24_check_status(struct ata_port *ap);
static u8 sil24_check_err(struct ata_port *ap);
static u32 sil24_scr_read(struct ata_port *ap, unsigned sc_reg);
static void sil24_scr_write(struct ata_port *ap, unsigned sc_reg, u32 val);
static void sil24_tf_read(struct ata_port *ap, struct ata_taskfile *tf);
static void sil24_phy_reset(struct ata_port *ap);
static void sil24_qc_prep(struct ata_queued_cmd *qc);
static int sil24_qc_issue(struct ata_queued_cmd *qc);
Expand Down Expand Up @@ -280,6 +281,8 @@ static struct ata_port_operations sil24_ops = {
.check_err = sil24_check_err,
.dev_select = ata_noop_dev_select,

.tf_read = sil24_tf_read,

.phy_reset = sil24_phy_reset,

.qc_prep = sil24_qc_prep,
Expand Down Expand Up @@ -372,6 +375,12 @@ static void sil24_scr_write(struct ata_port *ap, unsigned sc_reg, u32 val)
}
}

static void sil24_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
{
struct sil24_port_priv *pp = ap->private_data;
*tf = pp->tf;
}

static void sil24_phy_reset(struct ata_port *ap)
{
__sata_phy_reset(ap);
Expand Down

0 comments on commit bde8c6d

Please sign in to comment.