diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-12-05 19:17:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-12-05 19:17:15 +0000 |
commit | 889140cc7443199609393b489e13d395e9e062a1 (patch) | |
tree | 9e57175bdada4e31c27b49ac718d0d24dd92e2d2 /sys/arch/i386/pci | |
parent | 52e7566f48bd54f2a0a319139b4ca8625857a49c (diff) |
Hang acpi(4) below bios(4) instead of mainbus(4). This lets us move acpi(4)
before pcibios(4), and then.... if acpi(4) attaches, skip pcibios(4) since
it messes the machines up. Fixes claudio's HP dl320 G5, and almost assuredly
others.
ok kettenis
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r-- | sys/arch/i386/pci/pcibios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pcibios.c b/sys/arch/i386/pci/pcibios.c index 8924c73d0dc..bb51cfff34e 100644 --- a/sys/arch/i386/pci/pcibios.c +++ b/sys/arch/i386/pci/pcibios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcibios.c,v 1.37 2007/03/19 05:32:05 deraadt Exp $ */ +/* $OpenBSD: pcibios.c,v 1.38 2007/12/05 19:17:13 deraadt Exp $ */ /* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */ /* @@ -152,7 +152,7 @@ pcibiosprobe(struct device *parent, void *match, void *aux) u_int32_t rev_maj, rev_min, mech1, mech2, scmech1, scmech2, maxbus; int rv; - if (strcmp(ba->bios_dev, "pcibios")) + if (strcmp(ba->ba_name, "pcibios")) return 0; rv = bios32_service(PCIBIOS_SIGNATURE, &pcibios_entry, |