mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 15:22:34 -04:00
powerpc mpc85xx: Fix infinite recursion in bus_adjust_resource method
The default case needs to call bus_generic_adjust_resource to pass the
request up the tree, not bus_adjust_resource which will just call this
method again.
Fixes: 5a7e717fb7 powerpc mpc85xx: Use bus_generic_rman_*
This commit is contained in:
parent
5130b35ef5
commit
68a3ff0411
1 changed files with 2 additions and 1 deletions
|
|
@ -773,7 +773,8 @@ lbc_adjust_resource(device_t dev, device_t child, int type, struct resource *r,
|
|||
return (bus_generic_rman_adjust_resource(dev, child, type, r,
|
||||
start, end));
|
||||
case SYS_RES_IRQ:
|
||||
return (bus_adjust_resource(dev, type, r, start, end));
|
||||
return (bus_generic_adjust_resource(dev, child, type, r, start,
|
||||
end));
|
||||
default:
|
||||
return (EINVAL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue