case PCI_DEVICE_ID_INTEL_ESB2_18: 
static u8 piix_ratemask (ide_drive_t *drive){	struct pci_dev *dev	= HWIF(drive)->pci_dev;	u8 mode;	switch(dev->device) {		case PCI_DEVICE_ID_INTEL_82801EB_1:			mode = 3;			break;		/* UDMA 100 capable */		case PCI_DEVICE_ID_INTEL_82801BA_8:		case PCI_DEVICE_ID_INTEL_82801BA_9:		case PCI_DEVICE_ID_INTEL_82801CA_10:		case PCI_DEVICE_ID_INTEL_82801CA_11:		case PCI_DEVICE_ID_INTEL_82801E_11:		case PCI_DEVICE_ID_INTEL_82801DB_1:		case PCI_DEVICE_ID_INTEL_82801DB_10:		case PCI_DEVICE_ID_INTEL_82801DB_11:		case PCI_DEVICE_ID_INTEL_82801EB_11:		case PCI_DEVICE_ID_INTEL_ESB_2:		case PCI_DEVICE_ID_INTEL_ICH6_19:		case PCI_DEVICE_ID_INTEL_ICH7_21:			mode = 3;			break;		/* UDMA 66 capable */		case PCI_DEVICE_ID_INTEL_82801AA_1:		case PCI_DEVICE_ID_INTEL_82372FB_1:			mode = 2;			break;		/* UDMA 33 capable */		case PCI_DEVICE_ID_INTEL_82371AB:		case PCI_DEVICE_ID_INTEL_82443MX_1:		case PCI_DEVICE_ID_INTEL_82451NX:		case PCI_DEVICE_ID_INTEL_82801AB_1:			return 1;		/* Non UDMA capable (MWDMA2) */		case PCI_DEVICE_ID_INTEL_82371SB_1:		case PCI_DEVICE_ID_INTEL_82371FB_1:		case PCI_DEVICE_ID_INTEL_82371FB_0:		case PCI_DEVICE_ID_INTEL_82371MX:		default:			return 0;	}		/*	 *	If we are UDMA66 capable fall back to UDMA33 	 *	if the drive cannot see an 80pin cable.	 */	if (!eighty_ninty_three(drive))		mode = min(mode, (u8)1);	return mode;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d69332b875efb52ea5276d5638ce572fcd7375f2/piix.c/buggy/drivers/ide/pci/piix.c