Date: Sun, 2 Feb 2020 10:02:03 +0530 From: Niteesh <gsnb.gn@gmail.com> To: Clay Daniels <clay.daniels.jr@gmail.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: OFWBUS: How does autoconfiguration work? Message-ID: <CAD=CwDFZdwcQe5Lpks5Ki7A=6yiuKGEMpKX4KzkSYF-e9qQ8jg@mail.gmail.com> In-Reply-To: <CAGLDxTUeuaW0wm6Y24fm41NB40CNshf_35N4LBiQXQJ1%2Bhbppw@mail.gmail.com> References: <CAD=CwDGyr49%2BL26ODY5V1g6=6CrB9cw64dDFpdq6xhxJS7hdiA@mail.gmail.com> <CAGLDxTUeuaW0wm6Y24fm41NB40CNshf_35N4LBiQXQJ1%2Bhbppw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I couldn't find anything useful for me, I need information about how the hardware autoconfiguration works, not autoconf. On Sun, Feb 2, 2020 at 12:24 AM Clay Daniels <clay.daniels.jr@gmail.com> wrote: > Take a look at the Porter's Handbook: > > > https://docs.freebsd.org/doc/7.4-RELEASE/usr/share/doc/en/books/porters-handbook/using-autotools.html > > On Sat, Feb 1, 2020 at 8:56 AM Niteesh <gsnb.gn@gmail.com> wrote: > >> I am interested in adding autoconfiguration to one of my projects. >> The current drivers use lazy initialization, for example, the UART >> drivers initialize the hardware only during their first invocation. >> >> I would like to add a subsystem, that will read the DTB and call >> the appropriate drivers. >> >> I want to know how it is implemented in FreeBSD, I took a look at the >> code, but I am still couldn't figure out, when does FreeBSD start to >> parse the DTB, how does it fill up the device struct and few more. >> >> Can someone please explain how all this works with reference to code >> or point me to some documentation? >> >> Thanks, >> Niteesh >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org >> " >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD=CwDFZdwcQe5Lpks5Ki7A=6yiuKGEMpKX4KzkSYF-e9qQ8jg>