View | Details | Raw Unified | Return to bug 278533
Collapse All | Expand All

(-)a/drivers/ata/libata-core.c (-2 / +2 lines)
Lines 1687-1693 int ata_dev_read_id(struct ata_device *dev, unsigned int *p_class, Link Here
1687
	/* Device presence detection is unreliable on some
1687
	/* Device presence detection is unreliable on some
1688
	 * controllers.  Always poll IDENTIFY if available.
1688
	 * controllers.  Always poll IDENTIFY if available.
1689
	 */
1689
	 */
1690
	tf.flags |= ATA_TFLAG_POLLING;
1690
	//tf.flags |= ATA_TFLAG_POLLING;
1691
1691
1692
	err_mask = ata_exec_internal(dev, &tf, NULL, DMA_FROM_DEVICE,
1692
	err_mask = ata_exec_internal(dev, &tf, NULL, DMA_FROM_DEVICE,
1693
				     id, sizeof(id[0]) * ATA_ID_WORDS);
1693
				     id, sizeof(id[0]) * ATA_ID_WORDS);
Lines 3950-3956 static unsigned int ata_dev_set_xfermode(struct ata_device *dev) Link Here
3950
	ata_tf_init(dev, &tf);
3950
	ata_tf_init(dev, &tf);
3951
	tf.command = ATA_CMD_SET_FEATURES;
3951
	tf.command = ATA_CMD_SET_FEATURES;
3952
	tf.feature = SETFEATURES_XFER;
3952
	tf.feature = SETFEATURES_XFER;
3953
	tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE | ATA_TFLAG_POLLING;
3953
	tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE/* | ATA_TFLAG_POLLING*/;
3954
	tf.protocol = ATA_PROT_NODATA;
3954
	tf.protocol = ATA_PROT_NODATA;
3955
	tf.nsect = dev->xfer_mode;
3955
	tf.nsect = dev->xfer_mode;
3956
3956

Return to bug 278533