From: Mikael Pettersson Date: Tue, 15 Sep 2009 13:07:32 +0000 (+0200) Subject: sata_promise: disable hotplug on 1st gen chips X-Git-Tag: v2.6.32-rc1~655^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ae6654da437db4ae6333d232e718b570c7a3eac;p=pandora-kernel.git sata_promise: disable hotplug on 1st gen chips 1st generation Promise SATA chips are prone to generating spurious hotplug events which can disrupt normal operation. This has been observed on 20376 and 20378 chips. This patch thus disables hotplug support on 1st gen chips while leaving it enabled for 2nd gen chips. The pdc_sata_hotplug_offset() function becomes redundant so it is removed. Tested on 1st gen 20376 and 20378 mainboard chips and on a 2nd gen SATA300 PCI card. Signed-off-by: Mikael Pettersson Tested-by: Kurt Roeckx Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed