Re: [PATCH] sata_nv: don't use legacy DMA in ADMA mode (v3)

2007-12-04 Thread Jeff Garzik
Robert Hancock wrote: We need to run any DMA command with result taskfile requested in ADMA mode when the port is in ADMA mode, otherwise it may try to use the legacy DMA engine in ADMA mode which is not allowed. Enforce this with BUG_ON() since data corruption could potentially result if this

[PATCH] sata_nv: don't use legacy DMA in ADMA mode (v3)

2007-11-25 Thread Robert Hancock
We need to run any DMA command with result taskfile requested in ADMA mode when the port is in ADMA mode, otherwise it may try to use the legacy DMA engine in ADMA mode which is not allowed. Enforce this with BUG_ON() since data corruption could potentially result if this happened. Also, fail any

Re: [PATCH] sata_nv: don't use legacy DMA in ADMA mode (v3)

2007-11-25 Thread Tejun Heo
Robert Hancock wrote: We need to run any DMA command with result taskfile requested in ADMA mode when the port is in ADMA mode, otherwise it may try to use the legacy DMA engine in ADMA mode which is not allowed. Enforce this with BUG_ON() since data corruption could potentially result if