]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If pci_link has been disabled via the acpi_disable tunable, then bail
authorjhb <jhb@FreeBSD.org>
Mon, 5 Dec 2005 19:50:00 +0000 (19:50 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 5 Dec 2005 19:50:00 +0000 (19:50 +0000)
commitd43d34a8bd7030a93475f827ba37de574120a9bc
tree95105d111d1f59d5b4700f013a6078bf65b3b233
parent257abc1fc19ce02c432c0baa7af260a50a02dfe3
If pci_link has been disabled via the acpi_disable tunable, then bail
immediately from acpi_pci_link_route_interrupt() since we aren't going
to have a valid pci_link device to talk to try to route interrupts.  This
fixes a page fault if you disable just pci_link.  Note that trying to use
ACPI without pci_link is probably not advised however.

MFC after: 1 week
Tested by: Eugene Grosbein eugen at kuzbass dot ru
sys/dev/acpica/acpi_pci_link.c