/* We can turn this into a real blacklist if it's needed, for now just blacklist any Maxtor BANC1G10 revision firmware  */
static int ata_dev_supports_fua(u16 *id)
/* We can turn this into a real blacklist if it's needed, for now just blacklist any Maxtor BANC1G10 revision firmware  */
static int ata_dev_supports_fua(u16 *id)
{
	unsigned char model[ATA_ID_PROD_LEN + 1], fw[ATA_ID_FW_REV_LEN + 1];
	if (!libata_fua)
		return 0;
	if (!ata_id_has_fua(id))
		return 0;
	ata_id_c_string(id, model, ATA_ID_PROD, sizeof(model));
	ata_id_c_string(id, fw, ATA_ID_FW_REV, sizeof(fw));
	if (strcmp(model, "Maxtor"))
		return 1;
	if (strcmp(fw, "BANC1G10"))
		return 1;
	return 0;
}