chain.c: Don't bruteforce loops detecting fixed drives.
authorMichal Soltys <soltys@ziu.info>
Mon, 16 Aug 2010 11:07:12 +0000 (13:07 +0200)
committerMichal Soltys <soltys@ziu.info>
Sun, 22 Aug 2010 21:45:15 +0000 (23:45 +0200)
commitd4d713c9ccfe08bf5e129a398d4f2a313b7ffe62
tree98bac67ef7954673a77122efa588f2b0c3374edf
parent1f948d6ff5f9539cc2d722ca4d20b26eaa5e420d
chain.c: Don't bruteforce loops detecting fixed drives.

Previously chain module looped all possible fixed disks from 0x80 to
0xFF. It's prone to BIOS bugs, where BIOS can report nonexistent or
phantom drives at higher numbers. It's safer to use fixed disk count
value from 40:75 to limit such loops.

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c