/* * No ATAPI yet.  Just unconditionally indicate ATA device. * If ATAPI device is attached, it will fail ATA_CMD_ID_ATA * and libata core will ignore the device. */ if (!(ap->flags & ATA_FLAG_PORT_DISABLED)) ap->device[0].class = ATA_DEV_ATA; 
if (ap->flags & ATA_FLAG_PORT_DISABLED) return;  if (sil24_issue_SRST(ap) < 0) { printk(KERN_ERR DRV_NAME " ata%u: SRST failed, disabling port\n", ap->id); ap->ops->port_disable(ap); return; }  ap->device->class = ata_dev_classify(&pp->tf);  /* No ATAPI yet */ if (ap->device->class == ATA_DEV_ATAPI) ap->ops->port_disable(ap); 
static void sil24_phy_reset(struct ata_port *ap){	__sata_phy_reset(ap);	/*	 * No ATAPI yet.  Just unconditionally indicate ATA device.	 * If ATAPI device is attached, it will fail ATA_CMD_ID_ATA	 * and libata core will ignore the device.	 */	if (!(ap->flags & ATA_FLAG_PORT_DISABLED))		ap->device[0].class = ATA_DEV_ATA;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ca45160db70661a006d884df07f82c9b51d27a52/sata_sil24.c/buggy/drivers/scsi/sata_sil24.c