sata_mv: implement SoC guideline SATA_S11
authorMark Lord <liml@rtr.ca>
Wed, 28 May 2008 17:41:52 +0000 (13:41 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 30 May 2008 16:37:26 +0000 (12:37 -0400)
commit0388a8c0d54aa039758a8eca68d82325a563f8db
treea31e9f2daefd2231dc1807961f6c97bc561abbc2
parentb406c7a6655da7a2fcd9f72e41262f93ff707748
sata_mv: implement SoC guideline SATA_S11

The 5182 System-On-Chip (SOC) variant wants certain lower
bits to be cleared on any write to the PHY_MODE3 register.

If/when support is added for other SOC variants, we'll need
some way to uniquely identify the 5182, and not perform this
workaround for the others.

But for now, it is the only SOC variant we support here.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c