Date: Mon, 28 May 2018 12:16:39 +0200 From: Jan Mazur <dingorth@gmail.com> To: freebsd-new-bus@freebsd.org Cc: Wojciech Moczulski <womoczulski@gmail.com> Subject: Where are bus passes with lower than default pass value called? Message-ID: <CADGEm4fs0P7yBgUqcqdBvNNOo2Y0=QP1QwOrvbLgfzhmJzrdrw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Here: http://bxr.su/FreeBSD/sys/kern/subr_bus.c#901 bus_current_pass is set to BUS_PASS_ROOT. AFAIK autoconfiguration starts here: http://bxr.su/FreeBSD/sys/mips/mips/autoconf.c#95 and later it calls BUS_NEW_PASS(root_bus) which calls bus_set_pass(BUS_PASS_DEFAULT). Why is it called with maximum possible bus pass level - BUS_PASS_DEFAULT? Where are bus passes with lower pass value called? JM
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGEm4fs0P7yBgUqcqdBvNNOo2Y0=QP1QwOrvbLgfzhmJzrdrw>