Date: Mon, 31 Oct 2005 18:31:16 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci viapm.c Message-ID: <200510311831.j9VIVGKl071904@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-10-31 18:31:16 UTC FreeBSD src repository Modified files: sys/pci viapm.c Log: Some of the VIA pm and propm devices are actually the same device as the PCI-ISA bridge. Thus, when viapm0 or viapropm0 attaches, isab0 dosen't attach so there is no isa0 bus hung off of that bridge. In the non-ACPI case, legacy0 will add an isa0 anyway as a fail-safe, but ACPI assumes that any ISA bus will be enumerated via a bridge. To fix this, call isab_attach() to attach an isa0 ISA child bus device if the pm or propm device we are probing is a PCI-ISA bridge. Both drivers now have to implement the bus_if interface via the generic methods for resource allocation, etc. to work. Also, we now add 2 new ISA bus drivers that attach to viapm and viapropm devices. PR: kern/87363 Reported by: Oliver Fromme olli at secnetix dot de Tested by: glebius MFC after: 1 week Revision Changes Path 1.11 +38 -1 src/sys/pci/viapm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510311831.j9VIVGKl071904>