libata: OCZ Vertex can't do HPA
commitcbac26a3241f857e24fede1944aa825a4549cc17
authorTejun Heo <tj@kernel.org>
Thu, 6 Aug 2009 16:59:15 +0000 (7 01:59 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:33:40 +0000 (8 20:33 -0700)
tree592a78ef66d926f41cc708869352c2066c3d7604
parent6cb7c2af438ae469703159a5ed83ccaf13cf2487
libata: OCZ Vertex can't do HPA

commit 7831387bda72af3059be48d39846d3eb6d8ce2f6 upstream.

OCZ Vertex SSD can't do HPA and not in a usual way.  It reports HPA,
allows unlocking but then fails all IOs which fall in the unlocked
area.  Quirk it so that HPA unlocking is not used for the device.

Reported by Daniel Perup in bnc#522414.

 https://bugzilla.novell.com/show_bug.cgi?id=522414

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Daniel Perup <probe@spray.se>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/libata-core.c