]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b0d7180800b7429279478547e6d144fd20de7ac
treee3e778d9c500132648367c07542858aec091aad2
parentdd87e387bd9325c1f17a77d435a383acceceebed
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