From: Tejun Heo Date: Tue, 11 Apr 2006 13:32:19 +0000 (+0900) Subject: [PATCH] sata_sil24: reimplement hardreset X-Git-Tag: v2.6.18-rc1~1079^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecc2e2b9c97719592b3078d5a5a8666551c91115;p=pandora-kernel.git [PATCH] sata_sil24: reimplement hardreset Reimplement hardreset according to the datasheet. The old hardreset didn't reset controller status and the controller might not be ready after reset. Also, as SStatus is a bit flakey after hardreset, sata_std_hardrset() didn't use to wait long enough before proceeding. Note that as we're not depending on SStatus, DET==1 condition cannot be used to wait for link, so use shorter timeout for no device case. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed