ioResData = rm.claimIOResource(owner, PS2_DATA_PORT, 1); ioResCtrl = rm.claimIOResource(owner, PS2_CTRL_PORT, 1);
ioResData = claimPorts(rm, owner, PS2_DATA_PORT, 1); ioResCtrl = claimPorts(rm, owner, PS2_CTRL_PORT, 1);
	final synchronized IRQResource claimResources(ResourceOwner owner, int irq) throws DriverException {		try {			final ResourceManager rm;			try {				rm = (ResourceManager) InitialNaming.lookup(ResourceManager.NAME);			} catch (NameNotFoundException ex) {				throw new DriverException("Cannot find ResourceManager: ", ex);			}			if (ioResData == null) {				ioResData = rm.claimIOResource(owner, PS2_DATA_PORT, 1);				ioResCtrl = rm.claimIOResource(owner, PS2_CTRL_PORT, 1);			}			final IRQResource irqRes = rm.claimIRQ(owner, irq, this, true);			if (activeCount == 0) {				processQueues();			}			activeCount++;			return irqRes;		} catch (ResourceNotFreeException ex) {			throw new DriverException("Cannot claim necessairy resources: ", ex);		}	}