}
for (byte i = 0; i < 8; i++) {
try {
// TODO - can someone explain why we are shifting and ORing? It looks like a bug to me.
byte res = smbusctrl.readByte((byte) (0xa0 | (i << 1)), (byte) 2);
out.println("DIMM " + i + " : type = " + Integer.toHexString(res));
} catch (IOException ex) {
out.println("DIMM " + i + " : not present");
}
}