libata-core: Allow translation setting to fail
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 8 Aug 2007 13:28:49 +0000 (14:28 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 31 Aug 2007 07:37:55 +0000 (03:37 -0400)
commit18b2466c3050e23c98bb69bd3f35295ff8164851
tree3765f6c8ce593641ce13ece592c351c805a940c3
parent2d8348b429b4ae5cc47449c787881221fe43af4b
libata-core: Allow translation setting to fail

On some early drives (pre ATA1) this feature is not supported. If it
fails then we know the drive geometry is the hardware geometry and the
one we tried to set anyway so just carry on.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c