]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ide-atapi: start DMA after issuing a packet command
authorBorislav Petkov <petkovbb@gmail.com>
Thu, 2 Apr 2009 20:21:31 +0000 (22:21 +0200)
committerChris Wright <chrisw@sous-sol.org>
Mon, 27 Apr 2009 17:36:54 +0000 (10:36 -0700)
commit717ff472176c54e90a4074898a59037f9a4791f5
tree73615ab826f63d1cb255cc96030457275f051319
parentd7715a3e33ca1f6698ac9bec7d767a55f07fd65a
ide-atapi: start DMA after issuing a packet command

upstream commit: 2eba08270990b99fb5429b76ee97184ddd272f7f

Apparently¹, some ATAPI devices want to see the packet command first
before enabling DMA otherwise they simply hang indefinitely. Reorder the
two steps and start DMA only after having issued the command first.

[1] http://marc.info/?l=linux-kernel&m=123835520317235&w=2

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Reported-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/ide/ide-atapi.c