LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Exar 16L784 quad serial - do I need to rewrite or can I reuse? (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/exar-16l784-quad-serial-do-i-need-to-rewrite-or-can-i-reuse-844021/)

pavius 11-13-2010 06:01 AM

Exar 16L784 quad serial - do I need to rewrite or can I reuse?
 
I have an Exar 16L784 mapped to memory (directly, via a GPCM) on a PPC8xx. It seems that all the drivers related to similar devices assume communication over PCI. Do i need to implement my own driver or can I somehow use them?

The 16L784 exports 4 blocks of 16550 compatible registers, but i am not sure about how compatible the interrupt logic is. In a perfect world i would somehow add a record with a compatible device to my DTS file, but i am not sure how that would go.

I started writing my own driver (loaded, remapped, initialized successfully) but think that i'm barking up the wrong tree and that i should be able to reuse existing drivers.

Any tips/pointers appreciated.


All times are GMT -5. The time now is 12:23 PM.