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.
|