[PATCH] libata-eh: Remove layering violation and duplication when handling absent...
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 26 Sep 2006 16:53:38 +0000 (17:53 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Sep 2006 17:34:27 +0000 (13:34 -0400)
This removes the layering violation where drivers have to fiddle
directly with EH flags. Instead we now recognize -ENOENT means "no port"
and do the handling in the core code.

This also removes an instance of a call to disable the port, and an
identical printk from each driver doing this. Even better - future rule
changes will be in one place only.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found