]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sata_promise: disable hotplug on 1st gen chips
authorMikael Pettersson <mikpe@it.uu.se>
Tue, 15 Sep 2009 13:07:32 +0000 (15:07 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Sep 2009 20:46:12 +0000 (16:46 -0400)
commit0ae6654da437db4ae6333d232e718b570c7a3eac
tree519cbdefad34dc014fb25e2d2be3c926db7e0d43
parent4dc738ed2adf28f62f46dd53ef700a51603777f7
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 <mikpe@it.uu.se>
Tested-by: Kurt Roeckx <kurt@roeckx.be>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_promise.c