diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/cciss.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 5f1e1cc6165a..f5521051a8dc 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -3546,6 +3546,10 @@ static int __devinit cciss_init_one(struct pci_dev *pdev, | |||
3546 | for (j = 0; j <= hba[i]->highest_lun; j++) | 3546 | for (j = 0; j <= hba[i]->highest_lun; j++) |
3547 | add_disk(hba[i]->gendisk[j]); | 3547 | add_disk(hba[i]->gendisk[j]); |
3548 | 3548 | ||
3549 | /* we must register the controller even if no disks exist */ | ||
3550 | if (hba[i]->highest_lun == -1) | ||
3551 | add_disk(hba[i]->gendisk[0]); | ||
3552 | |||
3549 | return 1; | 3553 | return 1; |
3550 | 3554 | ||
3551 | clean4: | 3555 | clean4: |