summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@redhat.com>2003-12-19 10:42:46 -0500
committerJeff Garzik <jgarzik@redhat.com>2003-12-19 10:42:46 -0500
commitd75f0d82e8febdf8e9c9b6c5bc8b784d49bd3bce (patch)
tree950c1e356c25d26985a0facd02f9a90896c24120 /include/linux/libata.h
parent7c9186f9079765d4e991fd9970013c6f7a5c26ba (diff)
[libata] some cleanups suggested by Christoph
* s/Scsi_Cmnd/struct scsi_cmnd/ * remove incorrect FIXME comments related to checking return values of certain SCSI mid layer functions.
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 1ba99c0e6d22..53ce430954da 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -67,8 +67,6 @@
/* defines only for the constants which don't work well as enums */
#define ATA_TAG_POISON 0xfafbfcfdU
-#define ATA_DMA_BOUNDARY 0xffffUL
-#define ATA_DMA_MASK 0xffffffffULL
enum {
/* various global constants */
@@ -249,8 +247,8 @@ struct ata_queued_cmd {
struct ata_port *ap;
struct ata_device *dev;
- Scsi_Cmnd *scsicmd;
- void (*scsidone)(Scsi_Cmnd *);
+ struct scsi_cmnd *scsicmd;
+ void (*scsidone)(struct scsi_cmnd *);
struct list_head node;
unsigned long flags; /* ATA_QCFLAG_xxx */
@@ -405,7 +403,7 @@ extern int ata_pci_init_one (struct pci_dev *pdev, struct ata_port_info **port_i
extern void ata_pci_remove_one (struct pci_dev *pdev);
extern int ata_device_add(struct ata_probe_ent *ent);
extern int ata_scsi_detect(Scsi_Host_Template *sht);
-extern int ata_scsi_queuecmd(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
+extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *));
extern int ata_scsi_error(struct Scsi_Host *host);
extern int ata_scsi_release(struct Scsi_Host *host);
extern int ata_scsi_slave_config(struct scsi_device *sdev);