Newbus question
O'Connor, Daniel
darius at dons.net.au
Sun Nov 16 05:18:05 UTC 2014
On 16 Nov 2014, at 5:05, Alexander Kabaev <kabaev at gmail.com> wrote:
>> I think that debugging should be available much earlier than the
>> device tree is explored and devices are attached. It probably makes
>> sense to operate the debugging port outside the newbus at all, in
>> particular, before the pci and acpi machinery is initialized.
>>
>> You might want a callback from ehci driver when it appropriated the
>> resources, to handle the case of bar realocation.
>
> If one wants early debugger, then whole thing will need to be split
> into pre-newbus and after-newbus part, similar to dcons.
OK thanks.
I think for now I’ll just ignore the EHCI driver and get it working as a device driver which attaches to an EHCI controller.
After that works I’ll look at the early part, hopefully it won’t be too difficult :)
--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
More information about the freebsd-hackers
mailing list