On Fri, May 04, 2012 at 05:35:10PM +0200, Gerd Hoffmann wrote: > On 05/04/12 15:15, Kevin O'Connor wrote: > > On Fri, May 04, 2012 at 10:21:23AM +0200, Gerd Hoffmann wrote: > >> seabios used to initialize root bus devices only, with this patch > >> devices behind pci bridges are initialized too. This allows to boot > >> from virtio devices behind pci bridges. [...] > > I think this will then assign an incorrect PCI_INTERRUPT_LINE value to > > non root bus devices. > > Attached patch should fix it if I read the specs correctly. > Untested though, review appreciated.
It looks good to me from a read of the spec as well. I'm not sure how to test it. -Kevin