libata: allow LLDs w/o any reset method
authorTejun Heo <htejun@gmail.com>
Thu, 6 Mar 2008 04:09:34 +0000 (13:09 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 11 Mar 2008 00:50:34 +0000 (20:50 -0400)
commiteec59f76e9010e22d5736cf1907af4a92067522e
treed7b4aeae7ee26618f33001c0bbb1a68f28bdc26f
parent7f5e4e8d94b6013f93716bc42a1296f95d1059dc
libata: allow LLDs w/o any reset method

Some old SFF controllers don't have any way to reset the channel.
Currently, this isn't supported and libata EH causes an oops.  Allow
LLDs w/o any reset method and just assume ATA class in such cases.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c