w5100_read
while (w5100_read(priv, W5100_S0_CR(priv)) != 0) {
int ir = w5100_read(priv, W5100_S0_IR(priv));