ICP_WRITE
ic->ic_cmd.cmd_opcode = htole16(ICP_WRITE);
ic->ic_cmd.cmd_opcode = htole16((dowrite ? ICP_WRITE : ICP_READ));