|
Re: [RFC][PATCH] Xilinx uartlite serial driver: msg#00014linux.serial
Peter Korsgaard wrote: That is actually one of my more major issues. I am NOT the right person to speak for what direction things are going."David" == David H Lynch <dhlii@xxxxxxxxxx> writes: But the majority of drivers - platform device based or otherwise, pass arround a uart_port structure with the irq, addresses, etc. the uart_port struct has provisions for a regshift - as well as other things. DCR is another issue. I have never personally seen a UartLite DCR implimentation, but I have a driver from somebody else that started from mine, that assumes DCR instead of memory mapped ports. I think the Xilinx Gigabit Reference System Design connects the UartLite via DCR. I think DCR has to be a consideration. I do not KNOW that there is a UartLite implimentation with a regshift other than 2. But I have seen occasional code that uses different values - The GreenHills Integrity UartLite driver has it as a configurable parameter. If your driver is going to become the officail UartLite driver, even if it does not already work with every UartLite implimentation, it still should not start with assumptions that are going to make supporting others difficult. David> Also there is no provision for running the UartLite without -- Dave Lynch DLA Systems Software Development: Embedded Linux 717.627.3770 dhlii@xxxxxxxxxx http://www.dlasys.net fax: 1.253.369.9244 Cell: 1.717.587.7774 Over 25 years' experience in platforms, languages, and technologies too numerous to list. "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." Albert Einstein - To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [RFC][PATCH] Make sure UART is powered up when dumping MCTRL status: 00014, George G. Davis |
|---|---|
| Next by Date: | Re: [RFC][PATCH] Xilinx uartlite serial driver: 00014, David H. Lynch Jr. |
| Previous by Thread: | Re: [RFC][PATCH] Xilinx uartlite serial driveri: 00014, Peter Korsgaard |
| Next by Thread: | Re: [RFC][PATCH] Xilinx uartlite serial driver: 00014, David H. Lynch Jr. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |