pata_mpc52xx: inherit from ata_bmdma_port_ops
commit2fd59c6a20ef52c2e59b22a1fa7303ea4dfdc464
authorTejun Heo <tj@kernel.org>
Sun, 9 Jan 2011 22:48:20 +0000 (9 17:48 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:54 +0000 (17 15:14 -0800)
treeff953b371bb8119351cfadccb70a72c8cb7cbb22
parent9d175349c07facee9bb494c8f8b6ecfea952710d
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