aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-08-15 08:58:17 +0200
committerKevin O'Connor <kevin@koconnor.net>2014-08-15 09:44:31 -0400
commit275672eb70efdf81c51b997d41a4409b404aa8f6 (patch)
treea355d2b8c488b60cd2002f8ada057fa004af96d3 /scripts
parent3aa31d7d6375303fc88438021aad485f50bb1e39 (diff)
downloadseabios-275672eb70efdf81c51b997d41a4409b404aa8f6.zip
seabios-275672eb70efdf81c51b997d41a4409b404aa8f6.tar.gz
seabios-275672eb70efdf81c51b997d41a4409b404aa8f6.tar.bz2
boot: Fix boot order for SCSI target, lun > 9
We identify devices by their Open Firmware device paths. The path component for the logical unit on a bus is incorrect: bootprio_find_scsi_device() and bootprio_find_usb() format target (a.k.a. SCSI ID) and lun in decimal, while QEMU uses hexadecimal. Bootorder list entries with target, lun > 9 aren't found (lucky case), or attributed to the wrong logical unit (unlucky case). The relevant spec[*] agrees with QEMU (and OVMF, for that matter). Change %d to %x. No actual impact on USB, because QEMU only uses LUN 0 there. RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1096560 [*] Open Firmware Recommended Practice: SCSI-3 Parallel Interface, Version 1, Section 3.1 Physical Address Formats and Representations http://www.openfirmware.org/1275/practice/spi/spi1_0.ps IEEE Standard for Boot (Initialization Configuration) Firmware: Core Requirements and Practices, IEEE Std 1275-1994, Annex E SCSI host adapter package class, section E.2.1 Physical address formats and representations Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions