]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_nv: reinstate nv_hardreset() for non generic controllers
authorTejun Heo <tj@kernel.org>
Sat, 27 Sep 2008 22:39:01 +0000 (07:39 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 29 Sep 2008 04:14:34 +0000 (00:14 -0400)
commit4c1eb90a0908c0c60db2169dce08fb672e7582f1
treefbf71c285e390dcc714f633d00000f6792aeb681
parent6ef190cc92e33565accff6a320f0e7d90480bfe7
sata_nv: reinstate nv_hardreset() for non generic controllers

Commit 2fd673ecf0378ddeeeb87b3605e50212e0c0ddc6 which tried to remove
hardreset for generic accidentally removed it for all flavors as all
others were inheriting from nv_generic_ops.  This patch reinstates
nv_hardreset() and puts it into nv_common_ops which all flavors
inherit from.  nv_generic_ops now inherits from nv_common_ops and
overrides .hardreset to ATA_OP_NULL.

While at it, explain why nv_hardreset and ATA_OP_NULL override are
necessary.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_nv.c