struct pci_dev *dev	= HWIF(drive)->pci_dev; 
ide_hwif_t *hwif	= drive->hwif; struct hpt_info	*info	= ide_get_hwifdata(hwif); 
static int hpt3xx_tune_chipset (ide_drive_t *drive, u8 speed){	struct pci_dev *dev	= HWIF(drive)->pci_dev;	if (hpt_minimum_revision(dev, 8))		return hpt372_tune_chipset(drive, speed); /* not a typo */#if 0	else if (hpt_minimum_revision(dev, 7))		hpt371_tune_chipset(drive, speed);	else if (hpt_minimum_revision(dev, 6))		hpt302_tune_chipset(drive, speed);#endif	else if (hpt_minimum_revision(dev, 5))		return hpt372_tune_chipset(drive, speed);	else if (hpt_minimum_revision(dev, 3))		return hpt370_tune_chipset(drive, speed);	else	/* hpt368: hpt_minimum_revision(dev, 2) */		return hpt36x_tune_chipset(drive, speed);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b39b01ffb75e14ed76510e4229ffb575007df0fb/hpt366.c/buggy/drivers/ide/pci/hpt366.c