sata_mv: PHY_MODE4 cleanups
authorMark Lord <liml@rtr.ca>
Sat, 31 May 2008 20:46:34 +0000 (16:46 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 4 Jun 2008 10:29:11 +0000 (06:29 -0400)
commitba069e376cc0801cd28352ca5986ce20413acb21
treee3e778d9c500132648367c07542858aec091aad2
parente1fefea9cc4bc231b5c23fe19e3682fe061dc097
sata_mv: PHY_MODE4 cleanups

The handling for PHY_MODE4 was originally just cloned from the
Marvell proprietary driver (with their blessing).
But we can do better than that.

Tidy things up with some judicious mask definitions, to improve maintainability.

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