| Submitter | Aaron Lu |
|---|---|
| Date | Dec. 3, 2012, 1:35 a.m. |
| Message ID | <20121203013548.GA1396@mint-spring.sh.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/203258/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
> diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c > index 9426423..d772d66 100644 > --- a/drivers/ata/libata-eh.c > +++ b/drivers/ata/libata-eh.c > @@ -2657,6 +2657,7 @@ int ata_eh_reset(struct ata_link *link, int classify, > * bus as we may be talking too fast. > */ > dev->pio_mode = XFER_PIO_0; > + dev->dma_mode = 0xff; > > /* If the controller has a pio mode setup function > * then use it to set the chipset to rights. Don't > > > So do you prefer this? Yes - definitely. That is the intended behaviour. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 9426423..d772d66 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -2657,6 +2657,7 @@ int ata_eh_reset(struct ata_link *link, int classify, * bus as we may be talking too fast. */ dev->pio_mode = XFER_PIO_0; + dev->dma_mode = 0xff; /* If the controller has a pio mode setup function * then use it to set the chipset to rights. Don't