On Do, 2014-11-13 at 22:01 -0500, Gabriel L. Somlo wrote:
> New in version 7: correctly handle Q35 case with more than 24 slots
> on the root bus.
> 
> SeaBIOS traverses the device path starting at the leaf and climbing
> toward the root, so the last "slot" value in mch_pci_slot_get_irq()
> is that of the top-level parent device.
> 
> Our SetPciIntLine() visitor function uses DevicePathFromHandle()
> which starts at the root and moves toward the leaf node via
> NextDevicePathNode(), so we need to remember the *first* rather than
> the last device ID along the path to get the same result SeaBIOS does.

Oh, right.  Yes, it's the root bus slot number you have to look at (slot
24+ on the root bus are the chipset devices).

Reviewed-by: Gerd Hoffmann <kra...@redhat.com>




------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to