Re: [PATCH] PCI bus number management

看板FB_current作者時間12年前 (2014/02/08 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/10 (看更多)
On Friday, February 07, 2014 7:43:51 am Julian Stecklina wrote: > On 02/06/2014 08:37 PM, John Baldwin wrote: > > I would like to commit this to HEAD soon but thought I would post it for some > > pre-commit testing for the brave. :) If you are really brave, try booting > > with 'hw.pci.clear_buses=1' which will force the kernel to renumber all buses > > in the system. > > This is a really bad idea, because BIOS/SMM tends to have those > hardcoded. Or am I misunderstanding the purpose of this patch? The BIOS just programs them initially. By default we use whatever the BIOS programs and only rely on this infrastructure if we need to grow the tree for some reason (e.g. hotplug). However, it is definitely valid for an OS to reassign bus numbers as it sees fit. -- John Baldwin _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1IzKcFms (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1IzKcFms (FB_current)