]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pata_mpc52xx: inherit from ata_bmdma_port_ops
authorTejun Heo <tj@kernel.org>
Sun, 9 Jan 2011 22:48:20 +0000 (17:48 -0500)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:57:53 +0000 (11:57 -0700)
commit41922ad4ddb29e0dff33a645d4d697895acb14ce
tree369f74bcf284ea942a4ee62dd2b42e55fd66ae67
parent863591babfdd78d107f54d0b3cff1c55841f902b
pata_mpc52xx: inherit from ata_bmdma_port_ops

commit 77c5fd19075d299fe820bb59bb21b0b113676e20 upstream.

pata_mpc52xx supports BMDMA but inherits ata_sff_port_ops which
triggers BUG_ON() when a DMA command is issued.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Reported-by: Roman Fietze <roman.fietze@telemotive.de>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/pata_mpc52xx.c