diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-03-17 01:18:32 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-03-17 01:18:32 +0100 |
commit | 7f862cffb41ba2a5110bc47ebe54feb5b3ffc8a0 (patch) | |
tree | ecc66430cbc3dcb77bae276150bac35a17baa5d6 /linux/dev/drivers/block/ahci.c | |
parent | 7b24514f549f65ecc30ad06312a775b65ff99653 (diff) |
Increase possible number of AHCI devices to 8
by reducing possible number of partitions to 32.
* linux/dev/drivers/block/ahci.c (MAX_PORTS): Set to 8.
(PARTN_BITS): Set to 5.
Diffstat (limited to 'linux/dev/drivers/block/ahci.c')
-rw-r--r-- | linux/dev/drivers/block/ahci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/dev/drivers/block/ahci.c b/linux/dev/drivers/block/ahci.c index 7df6b70..2b348e6 100644 --- a/linux/dev/drivers/block/ahci.c +++ b/linux/dev/drivers/block/ahci.c @@ -36,8 +36,8 @@ /* minor: 2 bits for device number, 6 bits for partition number. */ -#define MAX_PORTS 4 -#define PARTN_BITS 6 +#define MAX_PORTS 8 +#define PARTN_BITS 5 #define PARTN_MASK ((1<<PARTN_BITS)-1) /* We need to use one DMA scatter element per physical page. |