[PATCH] cpm_uart: Made non-console uart work

Vitaly Bordug vbordug at ru.mvista.com
Wed Aug 3 01:24:18 EST 2005


Kumar, Pantelis,

This patch makes non-console UART work on both 8xx and 82xx. Various 
issues are resolved:
- removed unnecessary STOP_TX commands in shutdown - no need to 
completely stop CPM TX and reinit BDs each time the port is closing;
- when mem_addr has been allocated via dma_coherent_alloc, virt_to_bus 
on it will not tell the truth in most cases
- SCC UART needs to wait several character times even after all the BDs 
have READY bit cleared
- adds needed board-specific bits for 86xADS

Tested on 8272ADS, 885ADS and 866ADS development boards.
---------------------------------
Signed-off-by:  Vitaly Bordug <vbordug at ru.mvista.com>

-- 
Sincerely, 
Vitaly

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpm_uart_fixes.patch
Type: text/x-patch
Size: 10899 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050802/5d44ed09/attachment.bin 


More information about the Linuxppc-embedded mailing list