Exemplo n.º 1
0
 /**
  * Stop the device
  *
  * @throws DriverException
  */
 protected void stopDevice() throws DriverException {
   final Device dev = getDevice();
   if (acpiDevice != null) {
     dev.getManager().unregister(acpiDevice);
   }
   dev.unregisterAPI(FirmwareAPI.class);
 }
Exemplo n.º 2
0
  /** @see org.jnode.driver.Driver#stopDevice() */
  protected void stopDevice() throws DriverException {
    final Device ideDev = getDevice();

    // Unregister the SCSI device
    try {
      ideDev.getManager().unregister(scsiDevice);
    } finally {
      scsiDevice = null;
      atapiBus = null;
    }

    // Unregister my api's
    ideDev.unregisterAPI(SCSIHostControllerAPI.class);
  }
 /** @see org.jnode.driver.Driver#stopDevice() */
 protected void stopDevice() throws DriverException {
   final Device dev = getDevice();
   dev.unregisterAPI(FrameBufferAPI.class);
 }