diff options
Diffstat (limited to 'linux/dev/drivers')
-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. |