A New York judge yesterday ruled that the NBA is entitled to a total of $217,267 in restitution from Tim Donaghy and two suburban Philadelphia co-conspirators, while rejecting the league's argument that the ex-referee alone owed them more than six times that amount.