]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: Strict checking for identify reporting
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 22 Aug 2007 22:31:43 +0000 (23:31 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:37 +0000 (14:55 -0400)
commitc7293870a93a99e9ce0f4d98f3a271539c7c6ad6
tree837cb89920034e7983b483f1d8db5fb96c454414
parent614fe29bd91f99cc1c1fbf3274fa918691044f47
libata: Strict checking for identify reporting

The ATA specifications require checks on certain flags before assuming
the validity of other data. Go through the methods and correct those
needing extra checks. Also note limits on ata_id_major_version with
respect to ATA-1 and ATA-2. Correct the 32bit PIO check.

Wants to sit in -mm for a bit in case of a screwup on my part that I
didn't hit on the test drives and also in case someone, somewhere has
a drive that gets it wrong.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/ata.h