Re: Better device probe values
From: John Baldwin (jhb_at_FreeBSD.org)
Date: 02/23/05
- Previous message: John Baldwin: "Re: Better device probe values"
- In reply to: Warner Losh: "Re: Better device probe values"
- Next in thread: Warner Losh: "Re: Better device probe values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Warner Losh <imp@bsdimp.com> Date: Wed, 23 Feb 2005 16:38:46 -0500
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 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: John Baldwin: "Re: Better device probe values"
- In reply to: Warner Losh: "Re: Better device probe values"
- Next in thread: Warner Losh: "Re: Better device probe values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|