GMAC_INTMASK
__func__, intstatus, bcmeth_read_4(sc, GMAC_INTMASK));
bcmeth_write_4(sc, GMAC_INTMASK, sc->sc_intmask);
bcmeth_write_4(sc, GMAC_INTMASK, sc->sc_intmask);
bcmeth_write_4(sc, GMAC_INTMASK, sc->sc_intmask);
bcmeth_write_4(sc, GMAC_INTMASK, sc->sc_intmask);
bcmeth_write_4(sc, GMAC_INTMASK, 0); // disable interrupts
bcmeth_write_4(sc, GMAC_INTMASK, sc->sc_intmask);
bcmeth_write_4(sc, GMAC_INTMASK, 0);
gmac_write_reg(sc, GMAC_INTMASK, 0xffffffff);
gmac_write_reg(sc, GMAC_INTMASK, ~(GMAC_INT_TXEMPTY | GMAC_INT_RXDONE));