mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 01:52:39 +03:00
[pci] Support systems with multiple PCI root bridges
Extend the 16-bit PCI bus:dev.fn address to a 32-bit seg:bus:dev.fn address, assuming a segment value of zero in contexts where multiple segments are unsupported by the underlying data structures (e.g. in the iBFT or BOFM tables). Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -422,7 +422,9 @@ static void settings_test_exec ( void ) {
|
||||
|
||||
/* "busdevfn" setting type (no store capability) */
|
||||
fetchf_ok ( &test_settings, &test_busdevfn_setting,
|
||||
RAW ( 0x03, 0x45 ), "03:08.5" );
|
||||
RAW ( 0x03, 0x45 ), "0000:03:08.5" );
|
||||
fetchf_ok ( &test_settings, &test_busdevfn_setting,
|
||||
RAW ( 0x00, 0x02, 0x0a, 0x21 ), "0002:0a:04.1" );
|
||||
|
||||
/* Clear and unregister test settings block */
|
||||
clear_settings ( &test_settings );
|
||||
|
||||
Reference in New Issue
Block a user