summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sd.h')
-rw-r--r--drivers/scsi/sd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index 9bbfbeb50..ce9c94440 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -35,10 +35,13 @@ typedef struct scsi_disk {
unsigned has_part_table:1; /* has partition table */
} Scsi_Disk;
-extern Scsi_Disk *rscsi_disks;
-
extern int revalidate_scsidisk(kdev_t dev, int maxusage);
+/*
+ * Used by pmac to find the device associated with a target.
+ */
+extern kdev_t sd_find_target(void *host, int tgt);
+
#define N_SD_MAJORS 8
#define SD_MAJOR_MASK (N_SD_MAJORS - 1)