} else if (hpt_minimum_revision(dev, 7)) {	/* HPT371 */ 
} else if (info->revision >= 7) {	/* HPT371 */ 
static u8 hpt3xx_ratemask (ide_drive_t *drive){	struct pci_dev *dev	= HWIF(drive)->pci_dev;	u8 mode			= 0;	if (hpt_minimum_revision(dev, 8)) {		/* HPT374 */		mode = (HPT374_ALLOW_ATA133_6) ? 4 : 3;	} else if (hpt_minimum_revision(dev, 7)) {	/* HPT371 */		mode = (HPT371_ALLOW_ATA133_6) ? 4 : 3;	} else if (hpt_minimum_revision(dev, 6)) {	/* HPT302 */		mode = (HPT302_ALLOW_ATA133_6) ? 4 : 3;	} else if (hpt_minimum_revision(dev, 5)) {	/* HPT372 */		mode = (HPT372_ALLOW_ATA133_6) ? 4 : 3;	} else if (hpt_minimum_revision(dev, 4)) {	/* HPT370A */		mode = (HPT370_ALLOW_ATA100_5) ? 3 : 2;	} else if (hpt_minimum_revision(dev, 3)) {	/* HPT370 */		mode = (HPT370_ALLOW_ATA100_5) ? 3 : 2;		mode = (check_in_drive_lists(drive, bad_ata33)) ? 0 : mode;	} else {				/* HPT366 and HPT368 */		mode = (check_in_drive_lists(drive, bad_ata33)) ? 0 : 2;	}	if (!eighty_ninty_three(drive) && (mode))		mode = min(mode, (u8)1);	return mode;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b39b01ffb75e14ed76510e4229ffb575007df0fb/hpt366.c/buggy/drivers/ide/pci/hpt366.c