Re: [PATCH 82/86] pata_via: clear UDMA transfer mode bit for PIOand MWDMA

From: Alan Cox
Date: Wed Nov 25 2009 - 13:04:55 EST


> Do you really find such tidy patch hard to review?

When doing it at speed - yes.

> /* Set UDMA unless device is not UDMA capable */
> - if (udma_type && t.udma) {
> - u8 cable80_status;
> + if (udma_type) {
> + u8 udma_etc;

Ok that makes sense - we in fact could hit this case on a failure
changedown from UDMA to PIO.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/