Messages in this thread | | | Date | Wed, 02 Jan 2008 23:14:02 -0500 | From | Mark Lord <> | Subject | Re: sata_nv + ADMA + Samsung disk problem |
| |
Robert Hancock wrote: > > What we're doing to enter legacy mode is essentially: > > -wait until ADMA status indicates IDLE bit set (max wait of 1 microsecond) > -clear GO bit in control register > -wait until status indicates LEGACY bit set (max wait of 1 microsecond) > > and to enter ADMA mode: > > -set GO bit in control register > -wait until status indicates LEGACY bit cleared and IDLE bit set (max > wait of 1 microsecond) ..
If there are outstanding TCQ/NCQ commands (any drive), then this could take (much) longer to enter legacy mode, as the ADMA engine will wait for them all to finish.
But for normal, "nothing outstanding" mode, it should be very quick.
Cheers
| |