G2STAT_BUSY
if ((bus_space_read_1(iot, ioh, G2STAT) & (G2STAT_BUSY | G2STAT_MBOX_EMPTY))
if ((bus_space_read_1(iot, ioh, G2STAT) & G2STAT_BUSY) == 0)