Re: [PATCH 02/14] ARM : SAMSUNG : Add RS485 support.

From: Alan Cox
Date: Tue Nov 01 2011 - 15:44:34 EST


> The opinion part... ÂI needed a timer to switch from transmit to
> receive after the FIFO was empty. ÂI started by using the low
> resolution timer using jiffies first. ÂI found that wasn't high enough
> resolution, so I switched to the Linux HRT. Currently I have both
> versions that can be selected by conditional compile. ÂShould I
> just remove the low resolution timer completely or leave it in.

I would just remove the low res one. They should degrade to low res
timer equivalence anyway.

> Second, I have a chunk of code that if it could be made to work
> could off load the receiving to DMA up to the last couple of bytes
> then switch back to interrupts for the token byte. ÂShould I leave
> that code in a #if 0 statement or should I just delete it.

Is it something that you are likely to debug or someone is going to
debug shortly ?
--
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/