]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:47:24 +0000 (14:47 -0800)
commit4f8fa9bc7226ba1581e63e3ff1b583f5c1026edd
treef5e78c97d2d52b3448069e5c0fd89c860ebe8f3b
parent0addbdd392125780ac65bcd9dcf69eae2afb9c01
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>
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