res = readByte((byte) (0xa0 | (i << 1)), (byte) 2);
log.debug("Discovered DIMM " + i + " type :" + Integer.toHexString(
(int) res));
DIMM dimmDevice = new DIMM(bus, "DIMM-" + i);
bus.addDevice(dimmDevice);
DIMMDriver dimmDriver = new DIMMDriver(bus, address);
dimmDevice.setDriver(dimmDriver);
DeviceUtils.getDeviceManager().register(dimmDevice);
log.info(dimmDevice.toString());
}
} catch (Exception ex) {