sata_sil24.c (cd0d3bbcdd650651b7ccfaf55d107e3fc237d95a) | sata_sil24.c (a51d644af6eb0a93bc383e5f005faa445c87f335) |
---|---|
1/* 2 * sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers 3 * 4 * Copyright 2005 Tejun Heo 5 * 6 * Based on preview driver from Silicon Image. 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 910 unchanged lines hidden (view full) --- 919 ata_do_eh(ap, ata_std_prereset, sil24_softreset, sil24_hardreset, 920 ata_std_postreset); 921} 922 923static void sil24_post_internal_cmd(struct ata_queued_cmd *qc) 924{ 925 struct ata_port *ap = qc->ap; 926 | 1/* 2 * sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers 3 * 4 * Copyright 2005 Tejun Heo 5 * 6 * Based on preview driver from Silicon Image. 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 910 unchanged lines hidden (view full) --- 919 ata_do_eh(ap, ata_std_prereset, sil24_softreset, sil24_hardreset, 920 ata_std_postreset); 921} 922 923static void sil24_post_internal_cmd(struct ata_queued_cmd *qc) 924{ 925 struct ata_port *ap = qc->ap; 926 |
927 if (qc->flags & ATA_QCFLAG_FAILED) 928 qc->err_mask |= AC_ERR_OTHER; 929 | |
930 /* make DMA engine forget about the failed command */ | 927 /* make DMA engine forget about the failed command */ |
931 if (qc->err_mask) | 928 if (qc->flags & ATA_QCFLAG_FAILED) |
932 sil24_init_port(ap); 933} 934 935static int sil24_port_start(struct ata_port *ap) 936{ 937 struct device *dev = ap->host->dev; 938 struct sil24_port_priv *pp; 939 union sil24_cmd_block *cb; --- 235 unchanged lines hidden --- | 929 sil24_init_port(ap); 930} 931 932static int sil24_port_start(struct ata_port *ap) 933{ 934 struct device *dev = ap->host->dev; 935 struct sil24_port_priv *pp; 936 union sil24_cmd_block *cb; --- 235 unchanged lines hidden --- |