]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] sata_mv: Fix and clean up per-chip-generation tests
authorJeff Garzik <jeff@garzik.org>
Thu, 12 Jul 2007 19:51:22 +0000 (15:51 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 12 Jul 2007 19:51:22 +0000 (15:51 -0400)
commitd743693c93f0f26cccc181113e6daa5e9a1401e1
treed8e8643c57656d2ea07e2a15c91735d2aeb0ab84
parentf41205ef164a3811b726e7ed4a646a2ccd2e7e1a
[libata] sata_mv: Fix and clean up per-chip-generation tests

Due to a mistake in test logic, Gen-IIE chips were being treated as
Gen-II chips in some cases.  Fix this, and in the process, clean up
IS_50XX/IS_60XX tests to the more uniform IS_GEN_{I,II,IIE} tests.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c