diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-30 01:58:18 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-30 01:58:18 -0500 |
commit | f0612bbc41f65f5a684f69d714a1a17a6f0f40c5 (patch) | |
tree | 8c070070bb355843cfa4635643e9da7c2c4cd44a /drivers/scsi/ahci.c | |
parent | b0c4e148bd591629749d02a8fbc8d81c26d548cf (diff) | |
parent | 81cfb8864c73230eb1c37753aba517db15cf4d8f (diff) |
Merge branch 'upstream'
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r-- | drivers/scsi/ahci.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index cbab5868ffdf..3df74a08fe22 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -192,7 +192,6 @@ static void ahci_port_stop(struct ata_port *ap); | |||
192 | static void ahci_tf_read(struct ata_port *ap, struct ata_taskfile *tf); | 192 | static void ahci_tf_read(struct ata_port *ap, struct ata_taskfile *tf); |
193 | static void ahci_qc_prep(struct ata_queued_cmd *qc); | 193 | static void ahci_qc_prep(struct ata_queued_cmd *qc); |
194 | static u8 ahci_check_status(struct ata_port *ap); | 194 | static u8 ahci_check_status(struct ata_port *ap); |
195 | static u8 ahci_check_err(struct ata_port *ap); | ||
196 | static inline int ahci_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc); | 195 | static inline int ahci_host_intr(struct ata_port *ap, struct ata_queued_cmd *qc); |
197 | static void ahci_remove_one (struct pci_dev *pdev); | 196 | static void ahci_remove_one (struct pci_dev *pdev); |
198 | 197 | ||
@@ -221,7 +220,6 @@ static const struct ata_port_operations ahci_ops = { | |||
221 | 220 | ||
222 | .check_status = ahci_check_status, | 221 | .check_status = ahci_check_status, |
223 | .check_altstatus = ahci_check_status, | 222 | .check_altstatus = ahci_check_status, |
224 | .check_err = ahci_check_err, | ||
225 | .dev_select = ata_noop_dev_select, | 223 | .dev_select = ata_noop_dev_select, |
226 | 224 | ||
227 | .tf_read = ahci_tf_read, | 225 | .tf_read = ahci_tf_read, |
@@ -466,13 +464,6 @@ static u8 ahci_check_status(struct ata_port *ap) | |||
466 | return readl(mmio + PORT_TFDATA) & 0xFF; | 464 | return readl(mmio + PORT_TFDATA) & 0xFF; |
467 | } | 465 | } |
468 | 466 | ||
469 | static u8 ahci_check_err(struct ata_port *ap) | ||
470 | { | ||
471 | void __iomem *mmio = (void __iomem *) ap->ioaddr.cmd_addr; | ||
472 | |||
473 | return (readl(mmio + PORT_TFDATA) >> 8) & 0xFF; | ||
474 | } | ||
475 | |||
476 | static void ahci_tf_read(struct ata_port *ap, struct ata_taskfile *tf) | 467 | static void ahci_tf_read(struct ata_port *ap, struct ata_taskfile *tf) |
477 | { | 468 | { |
478 | struct ahci_port_priv *pp = ap->private_data; | 469 | struct ahci_port_priv *pp = ap->private_data; |