struct siop_softc *sc;
struct siop_common_softc *sc;
siop_clearfifo(sc)	struct siop_softc *sc;{	int timeout = 0;	int ctest3 = bus_space_read_1(sc->sc_rt, sc->sc_rh, SIOP_CTEST3);#ifdef SIOP_DEBUG_INTR	printf("DMA fifo not empty!\n");#endif	bus_space_write_1(sc->sc_rt, sc->sc_rh, SIOP_CTEST3,	    ctest3 | CTEST3_CLF);	while ((bus_space_read_1(sc->sc_rt, sc->sc_rh, SIOP_CTEST3) &	    CTEST3_CLF) != 0) {		delay(1);		if (++timeout > 1000) {			printf("clear fifo failed\n");			bus_space_write_1(sc->sc_rt, sc->sc_rh, SIOP_CTEST3,			    bus_space_read_1(sc->sc_rt, sc->sc_rh,			    SIOP_CTEST3) & ~CTEST3_CLF);			return;		}	}}