bus_release_resource(9) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

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














































맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3