diff options
author | ecashin@coraid.com <ecashin@coraid.com> | 2005-04-19 09:00:17 +0400 |
---|---|---|
committer | Greg KH <greg@press.kroah.org> | 2005-04-19 09:00:17 +0400 |
commit | fc458dcda27c6d26cb11ef9ee9c1c3599711be94 (patch) | |
tree | a54d1b213653dc992a1700a96b5805b72e687028 /drivers/block/aoe/aoe.h | |
parent | c0698f2f6e4839ce9463ce731c892993215ea067 (diff) | |
download | linux-fc458dcda27c6d26cb11ef9ee9c1c3599711be94.tar.xz |
[PATCH] aoe 1/12: remove too-low cap on minor number
remove too-low cap on minor number
Signed-off-by: Ed L. Cashin <ecashin@coraid.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r-- | drivers/block/aoe/aoe.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index db78f826d40c..551dd8e5b14b 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h @@ -2,9 +2,14 @@ #define VERSION "5" #define AOE_MAJOR 152 #define DEVICE_NAME "aoe" + +/* set AOE_PARTITIONS to 1 to use whole-disks only + * default is 16, which is 15 partitions plus the whole disk + */ #ifndef AOE_PARTITIONS #define AOE_PARTITIONS 16 #endif + #define SYSMINOR(aoemajor, aoeminor) ((aoemajor) * 10 + (aoeminor)) #define AOEMAJOR(sysminor) ((sysminor) / 10) #define AOEMINOR(sysminor) ((sysminor) % 10) |