Re: [PATCH 23/64] pata_via: store UDMA masks in via_isa_bridgestable

From: Alan Cox
Date: Mon Jan 18 2010 - 13:00:56 EST



> + switch (udma_type) {
> + case ATA_UDMA4:
> + UT = T / 2; break;
> + case ATA_UDMA5:
> + UT = T / 3; break;
> + case ATA_UDMA6:
> + UT = T / 4; break;
> + }

UT = T (udma_type - ATA_UDMA3) ?



Looks good
--
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/