diff options
Diffstat (limited to 'sys/dev/ar/if_ar.c')
-rw-r--r-- | sys/dev/ar/if_ar.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c index fbce1d9..35756e4f 100644 --- a/sys/dev/ar/if_ar.c +++ b/sys/dev/ar/if_ar.c @@ -452,29 +452,21 @@ ar_deallocate_resources(device_t device) struct ar_hardc *hc = device_get_softc(device); if (hc->res_irq != 0) { - bus_deactivate_resource(device, SYS_RES_IRQ, - hc->rid_irq, hc->res_irq); bus_release_resource(device, SYS_RES_IRQ, hc->rid_irq, hc->res_irq); hc->res_irq = 0; } if (hc->res_ioport != 0) { - bus_deactivate_resource(device, SYS_RES_IOPORT, - hc->rid_ioport, hc->res_ioport); bus_release_resource(device, SYS_RES_IOPORT, hc->rid_ioport, hc->res_ioport); hc->res_ioport = 0; } if (hc->res_memory != 0) { - bus_deactivate_resource(device, SYS_RES_MEMORY, - hc->rid_memory, hc->res_memory); bus_release_resource(device, SYS_RES_MEMORY, hc->rid_memory, hc->res_memory); hc->res_memory = 0; } if (hc->res_plx_memory != 0) { - bus_deactivate_resource(device, SYS_RES_MEMORY, - hc->rid_plx_memory, hc->res_plx_memory); bus_release_resource(device, SYS_RES_MEMORY, hc->rid_plx_memory, hc->res_plx_memory); hc->res_plx_memory = 0; |