Refactoring for fifo driver.