ahci: misc cleanups for EM stuff
commitd50ce07d6fd8a422757a231f9d7293cbddeaec31
authorTejun Heo <tj@kernel.org>
Tue, 12 May 2009 01:57:41 +0000 (12 10:57 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 10 Jun 2009 11:50:17 +0000 (10 07:50 -0400)
tree27fdf48eb56e171a60da15156162758fedf84021
parent437681800bdaa9feb58cf943dfbbd239c21d3705
ahci: misc cleanups for EM stuff

Make the following EM related cleanups.

* Use msleep(1) instead of udelay(100) and reduce retry count to 5.

* s/MAX_SLOTS/EM_MAX_SLOTS/, s/MAX_RETRY/EM_MAX_RETRY/

* Make EM constants enums as suggested by Jeff.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c