Fix PCI driver unload for Marvell PCI controller
Add generic implementation for bus_deactivate_resource method. Without it bus_release_resource fails with "Failed to release active resource" message MFC after: 1 week
This commit is contained in:
parent
4fd47b16f4
commit
6fb7a3e7ca
@ -97,6 +97,7 @@ static device_method_t mv_pcib_ctrl_methods[] = {
|
||||
DEVMETHOD(bus_alloc_resource, mv_pcib_ctrl_alloc_resource),
|
||||
DEVMETHOD(bus_release_resource, bus_generic_release_resource),
|
||||
DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
|
||||
DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource),
|
||||
DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
|
||||
|
||||
/* ofw_bus interface */
|
||||
|
Loading…
x
Reference in New Issue
Block a user