Date: Wed, 23 Feb 2005 16:38:46 -0500 From: John Baldwin <jhb@FreeBSD.org> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-arch@FreeBSD.org Subject: Re: Better device probe values Message-ID: <200502231638.46128.jhb@FreeBSD.org> In-Reply-To: <20050223.135017.74708574.imp@bsdimp.com> References: <20050222.143230.41648746.imp@bsdimp.com> <200502231257.12798.jhb@FreeBSD.org> <20050223.135017.74708574.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 23 February 2005 03:50 pm, Warner Losh wrote: > > Several typos, but that's minor. Sounds ok to me. Note that I think > > BUS_PROBE_GENERIC might not really be enough though (PCI bridge drivers > > are actually somewhat tricky, on x86 for PCI-PCI you have ACPI, PCIBIOS, > > MPTable, and generic for example), but for more tricky cases we can still > > use numeric values. > > Well, on x86 we have 3 different pci busses, but they aren't in any > more complicated a heirarchy than 'generic' or something that replaces > 'generic.' You won't have PCIBIOS and MPTable fighting for control of > a system, will you? Yes, you do. MPTable is just preferred to PCIBIOS, and ACPI is preferred to PCIBIOS. MPTable probably should be preferred to ACPI though (since MPTable's probe is only going to succeed if we are using the MPTable to enumerate APICs, in which case we can't trust ACPI's interrupt routing) though I might have this one wrong. All three are preferred over the generic bridge driver. Actually, the ACPI vs. MPTable case is probably a bit more muddy than that. It's probably wrong now. We shouldn't ever use those two together, but I'm not sure how best to do that. I don't think that is currently an issue though because I don't know of any machines that include an MP Table and ACPI but don't include an MADT table in ACPI. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502231638.46128.jhb>