libata-eh.c (c1c4e8d55757f8aec5f95eb80860e340d717c217) libata-eh.c (0d64a233fe6a8fd45a062fe125159854ffed60c7)
1/*
2 * libata-eh.c - libata error handling
3 *
4 * Maintained by: Jeff Garzik <jgarzik@pobox.com>
5 * Please ALWAYS copy linux-ide@vger.kernel.org
6 * on emails.
7 *
8 * Copyright 2006 Tejun Heo <htejun@gmail.com>

--- 1657 unchanged lines hidden (view full) ---

1666
1667 retry:
1668 /* shut up during boot probing */
1669 if (verbose)
1670 ata_port_printk(ap, KERN_INFO, "%s resetting port\n",
1671 reset == softreset ? "soft" : "hard");
1672
1673 /* mark that this EH session started with reset */
1/*
2 * libata-eh.c - libata error handling
3 *
4 * Maintained by: Jeff Garzik <jgarzik@pobox.com>
5 * Please ALWAYS copy linux-ide@vger.kernel.org
6 * on emails.
7 *
8 * Copyright 2006 Tejun Heo <htejun@gmail.com>

--- 1657 unchanged lines hidden (view full) ---

1666
1667 retry:
1668 /* shut up during boot probing */
1669 if (verbose)
1670 ata_port_printk(ap, KERN_INFO, "%s resetting port\n",
1671 reset == softreset ? "soft" : "hard");
1672
1673 /* mark that this EH session started with reset */
1674 ehc->i.flags |= ATA_EHI_DID_RESET;
1674 if (reset == hardreset)
1675 ehc->i.flags |= ATA_EHI_DID_HARDRESET;
1676 else
1677 ehc->i.flags |= ATA_EHI_DID_SOFTRESET;
1675
1676 rc = ata_do_reset(ap, reset, classes);
1677
1678 did_followup_srst = 0;
1679 if (reset == hardreset &&
1680 ata_eh_followup_srst_needed(rc, classify, classes)) {
1681 /* okay, let's do follow-up softreset */
1682 did_followup_srst = 1;

--- 743 unchanged lines hidden ---
1678
1679 rc = ata_do_reset(ap, reset, classes);
1680
1681 did_followup_srst = 0;
1682 if (reset == hardreset &&
1683 ata_eh_followup_srst_needed(rc, classify, classes)) {
1684 /* okay, let's do follow-up softreset */
1685 did_followup_srst = 1;

--- 743 unchanged lines hidden ---