Fix error code handling on some JMicron USB to (S)ATA bridges
Brought to you by:
ideguy
I've got report from hdparm user that JMicron patch merged during 9.51 made his JMicron based USB-SATA enclosure not work with hdparm (when running hdparm -I).
After we've exchanged few emails, I was able to identify main problem.
It looks like some JMicron chipsets don't have support for gettng full ATA status/errors and when asking them for this information, it returns SG_IO error.
Because having full ATA status is not strictly needed, I've prepared patch which deletes problematic code.
@Mark: Thank you for super quick merging of the patch.