summaryrefslogtreecommitdiff
path: root/src/dev/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/storage')
-rw-r--r--src/dev/storage/ide_ctrl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/storage/ide_ctrl.cc b/src/dev/storage/ide_ctrl.cc
index feed9cfd2..6d507269f 100644
--- a/src/dev/storage/ide_ctrl.cc
+++ b/src/dev/storage/ide_ctrl.cc
@@ -102,7 +102,7 @@ IdeController::IdeController(Params *p)
ioEnabled(false), bmEnabled(false),
ioShift(p->io_shift), ctrlOffset(p->ctrl_offset)
{
- if (params()->disks.size() > 3)
+ if (params()->disks.size() > 4)
panic("IDE controllers support a maximum of 4 devices attached!\n");
// Assign the disks to channels