sata_inic162x.c (5aea408df5ae459cb29b91d45fa0f8bc1bee924e) | sata_inic162x.c (a51d644af6eb0a93bc383e5f005faa445c87f335) |
---|---|
1/* 2 * sata_inic162x.c - Driver for Initio 162x SATA controllers 3 * 4 * Copyright 2006 SUSE Linux Products GmbH 5 * Copyright 2006 Tejun Heo <teheo@novell.com> 6 * 7 * This file is released under GPL v2. 8 * --- 474 unchanged lines hidden (view full) --- 483 /* PIO and DMA engines have been stopped, perform recovery */ 484 ata_do_eh(ap, ata_std_prereset, NULL, inic_hardreset, 485 ata_std_postreset); 486} 487 488static void inic_post_internal_cmd(struct ata_queued_cmd *qc) 489{ 490 /* make DMA engine forget about the failed command */ | 1/* 2 * sata_inic162x.c - Driver for Initio 162x SATA controllers 3 * 4 * Copyright 2006 SUSE Linux Products GmbH 5 * Copyright 2006 Tejun Heo <teheo@novell.com> 6 * 7 * This file is released under GPL v2. 8 * --- 474 unchanged lines hidden (view full) --- 483 /* PIO and DMA engines have been stopped, perform recovery */ 484 ata_do_eh(ap, ata_std_prereset, NULL, inic_hardreset, 485 ata_std_postreset); 486} 487 488static void inic_post_internal_cmd(struct ata_queued_cmd *qc) 489{ 490 /* make DMA engine forget about the failed command */ |
491 if (qc->err_mask) | 491 if (qc->flags & ATA_QCFLAG_FAILED) |
492 inic_reset_port(inic_port_base(qc->ap)); 493} 494 495static void inic_dev_config(struct ata_device *dev) 496{ 497 /* inic can only handle upto LBA28 max sectors */ 498 if (dev->max_sectors > ATA_MAX_SECTORS) 499 dev->max_sectors = ATA_MAX_SECTORS; --- 285 unchanged lines hidden --- | 492 inic_reset_port(inic_port_base(qc->ap)); 493} 494 495static void inic_dev_config(struct ata_device *dev) 496{ 497 /* inic can only handle upto LBA28 max sectors */ 498 if (dev->max_sectors > ATA_MAX_SECTORS) 499 dev->max_sectors = ATA_MAX_SECTORS; --- 285 unchanged lines hidden --- |