aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorRobert Hancock2007-11-25 16:59:36 -0600
committerJeff Garzik2007-12-04 14:01:18 -0500
commit3f3debdbfb7713aa06c4370bab6bef277dfd7a37 (patch)
tree0f69f5b993db5e7ec188383f082079396975cd18 /drivers/cpufreq/cpufreq.c
parent2254c2e0184c603f92fc9b81016ff4bb53da622d (diff)
sata_nv: don't use legacy DMA in ADMA mode (v3)
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 attempt to try and issue NCQ commands with result taskfile requested, since the hardware doesn't allow this. Signed-off-by: Robert Hancock <hancockr@shaw.ca> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
0 files changed, 0 insertions, 0 deletions