STAT_TX_EMPTY
if (stat & STAT_TX_EMPTY)
while (! (bus_space_read_4(iot, ioh, XLCOM_STAT) & STAT_TX_EMPTY))