dev: Fix an IDE error check.
authorGabe Black <gabeblack@google.com>
Tue, 8 Aug 2017 00:46:28 +0000 (17:46 -0700)
committerGabe Black <gabeblack@google.com>
Sat, 12 Aug 2017 00:50:04 +0000 (00:50 +0000)
commit5ac888b8bf1c4a2f3cf699c75f6df304246c96a4
tree4b5b0709166de320b72c60e32755ced19c746f59
parent51ea222ba98fb39280e19680b0d6adeb09e5112d
dev: Fix an IDE error check.

The error message says an IDE controller can support at most 4 disks, but the
check would fail if there were more than 3 disks.

Change-Id: Ic7d5d8c941fe2580da43019f53991377d4727bb9
Reviewed-on: https://gem5-review.googlesource.com/4460
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
src/dev/storage/ide_ctrl.cc