summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.h
diff options
context:
space:
mode:
authorDave Kleikamp <dave.kleikamp@oracle.com>2011-10-19 11:49:04 -0500
committerJames Bottomley <JBottomley@Parallels.com>2011-10-30 12:58:11 +0400
commit21208ae5a21fd5f337e987cde11374eaf2fe70b4 (patch)
tree3d835887fb1ce75e7dbf8b99f6086477db437c0e /drivers/scsi/sd.h
parent6e88020025ccb6a6a0a54098acf1e187d2c9368c (diff)
downloadop-kernel-dev-21208ae5a21fd5f337e987cde11374eaf2fe70b4.zip
op-kernel-dev-21208ae5a21fd5f337e987cde11374eaf2fe70b4.tar.gz
[SCSI] sd: remove arbitrary SD_MAX_DISKS namespace limit
There is no reason to limit the SCSI disk namespace to sdXXX. Add new error messages to sd_probe() in the unlikely event that either ida_get_new() or sd_format_disk_name() fail. Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sd.h')
-rw-r--r--drivers/scsi/sd.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h
index 6ad798b..4163f29 100644
--- a/drivers/scsi/sd.h
+++ b/drivers/scsi/sd.h
@@ -9,12 +9,6 @@
#define SD_MAJORS 16
/*
- * This is limited by the naming scheme enforced in sd_probe,
- * add another character to it if you really need more disks.
- */
-#define SD_MAX_DISKS (((26 * 26) + 26 + 1) * 26)
-
-/*
* Time out in seconds for disks and Magneto-opticals (which are slower).
*/
#define SD_TIMEOUT (30 * HZ)
OpenPOWER on IntegriCloud