heads up - changing uart -> uart_ar71xx
Warner Losh
imp at bsdimp.com
Fri Nov 16 18:04:11 UTC 2012
On Nov 16, 2012, at 11:03 AM, Adrian Chadd wrote:
> On 16 November 2012 10:01, Warner Losh <imp at bsdimp.com> wrote:
>>
>> On Nov 16, 2012, at 10:35 AM, Rodney W. Grimes wrote:
>>
>>> This should be cleaned up better than that, what -kind- of uart is it?
>>> There should be things called
>>> uart_8250 (should be able to drive everything from 8250 to 16950)
>>> uart_8530 (this is probalby the second most common uart in the world)
>>> uart_6850 (we would probably never see one of these)
>>> etc...
>>>
>>> Please do not lock this to a specific Mips chip if at all possible
>>
>> uart already services a dozen of other UARTs. It isn't tied to MIPS at all. All Adrian seems to be doing is making what was automatic configuration a little more manual.
>
> Well, strictly speaking yes. But what I'll do later is make a
> 'uart_core' and then allow my MIPS platforms to only register the
> uart(s) they need.
>
> Right now it includes all of the uarts in sys/dev/uart/. They're not
> separate devices.
This must be a mips-specific thing, since on arm you only get what you ask for.
Warner
More information about the freebsd-mips
mailing list