diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-01-25 09:50:02 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 13:58:05 -0400 |
commit | 71969fd9e2c523d22bf1742eb31f1562247710eb (patch) | |
tree | 7e35d3b8f675e95f96cac14eaf1cd3e09307b6a5 | |
parent | a2dd3b4cea335713b58996bb07b3abcde1175f47 (diff) |
[SCSI] major.h: char-major number for OSD device driver
Allocate major 260 for osd.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
CC: Torben Mathiasen <device@lanana.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | Documentation/devices.txt | 6 | ||||
-rw-r--r-- | include/linux/major.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devices.txt b/Documentation/devices.txt index 2be08240ee80..62254d4510c6 100644 --- a/Documentation/devices.txt +++ b/Documentation/devices.txt | |||
@@ -3145,6 +3145,12 @@ Your cooperation is appreciated. | |||
3145 | 1 = /dev/blockrom1 Second ROM card's translation layer interface | 3145 | 1 = /dev/blockrom1 Second ROM card's translation layer interface |
3146 | ... | 3146 | ... |
3147 | 3147 | ||
3148 | 260 char OSD (Object-based-device) SCSI Device | ||
3149 | 0 = /dev/osd0 First OSD Device | ||
3150 | 1 = /dev/osd1 Second OSD Device | ||
3151 | ... | ||
3152 | 255 = /dev/osd255 256th OSD Device | ||
3153 | |||
3148 | **** ADDITIONAL /dev DIRECTORY ENTRIES | 3154 | **** ADDITIONAL /dev DIRECTORY ENTRIES |
3149 | 3155 | ||
3150 | This section details additional entries that should or may exist in | 3156 | This section details additional entries that should or may exist in |
diff --git a/include/linux/major.h b/include/linux/major.h index 88249452b935..058ec15dd060 100644 --- a/include/linux/major.h +++ b/include/linux/major.h | |||
@@ -171,5 +171,6 @@ | |||
171 | #define VIOTAPE_MAJOR 230 | 171 | #define VIOTAPE_MAJOR 230 |
172 | 172 | ||
173 | #define BLOCK_EXT_MAJOR 259 | 173 | #define BLOCK_EXT_MAJOR 259 |
174 | #define SCSI_OSD_MAJOR 260 /* open-osd's OSD scsi device */ | ||
174 | 175 | ||
175 | #endif | 176 | #endif |