diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-05-10 11:54:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-06-04 11:06:58 -0400 |
commit | f8387e2a9953b760d6d02d8f682d48616eb7f165 (patch) | |
tree | 7e9b489c10d4410f8e84500efe12ac1558e27a0b /scripts/layoutrom.py | |
parent | 39ca4988f88feb317015fbe79dc6f5e456876ad9 (diff) | |
download | seabios-f8387e2a9953b760d6d02d8f682d48616eb7f165.zip seabios-f8387e2a9953b760d6d02d8f682d48616eb7f165.tar.gz seabios-f8387e2a9953b760d6d02d8f682d48616eb7f165.tar.bz2 |
edd: Use sectors==-1 to detect removable media.
Don't look for DTYPE_ATA_ATAPI to determine if a removable media (such
as a cdrom) is present, instead look for a -1 in the sector count.
This improves the results for cdroms on controllers other than ATA
ATAPI.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/layoutrom.py')
0 files changed, 0 insertions, 0 deletions