svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
bus_release_resource(9)
Free a resource allocated by The resource must not be in use on
release, i.e., call an appropriate function before (e.g. for
IRQs). is the device that owns the resource. is the type of re‐
source that is released. It must be of the same type you allo‐
cated it as before. See for valid types. is the resource ID of
the resource. The value must be the same as the one returned by
is the pointer to i.e., the resource itself, returned by is re‐
turned, if the device has no parent, otherwise. The kernel will
panic, if it cannot release the resource. /* deactivate
IRQ */ bus_teardown_intr(dev, foosoftc->irqres,
foosoftc->irqid);
/* release IRQ resource */ bus_release_re‐
source(dev, SYS_RES_IRQ, foosoftc->irqid,
foosoftc->irqres);
/* release I/O port resource */ bus_release_re‐
source(dev, SYS_RES_IOPORT, foosoftc->portid,
foosoftc->portres); This manual page was written
by