mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix a bug introduced in rev. 1.5; for retrieving the device_t of the
parent bridge of a PCI-PCI bridge we need two device_get_parent().
This commit is contained in:
parent
8af06aba63
commit
00d3c930da
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ ofw_pcib_gen_route_interrupt(device_t bridge, device_t dev, int intpin)
|
|||
return (pcib_route_interrupt(bridge, dev, intpin));
|
||||
}
|
||||
/* Try at the parent. */
|
||||
return (PCIB_ROUTE_INTERRUPT(device_get_parent(bridge), bridge,
|
||||
intpin));
|
||||
return (PCIB_ROUTE_INTERRUPT(device_get_parent(device_get_parent(
|
||||
bridge)), bridge, intpin));
|
||||
}
|
||||
|
||||
phandle_t
|
||||
|
|
|
|||
Loading…
Reference in a new issue