Two different logic in single driver

In reply to chr_sue:

During configuration, no request will come from DUT. But during data transfer request has to come from DUT.

If I use the same drive for configuration, it was waiting for the request from DUT.

My requirement is if I start the configuration sequence, the driver should not wait for the request, if I start the data transfer sequence, it should wait for the request.

 Both should be implemented in a single driver. Is there a way to identify a sequence? or I can use sub-phase in the run phase?