Commit Graph

16 Commits

Author SHA1 Message Date
jruoho
6a3b9e2cde Scan for devices that are "hot-pluggable". 2011-01-03 08:50:23 +00:00
jruoho
8aaffbf4e9 Include <dev/acpi/acpi_pci.h>. 2010-12-31 14:05:15 +00:00
jruoho
396210649d acpi_pcidev_find_dev(): take struct acpi_devnode as a parameter. 2010-12-31 10:56:39 +00:00
jruoho
aa705fc95d Move the function that finds a device_t for the corresponding ACPI device
node from ACPIVERBOSE to the ACPI PCI code.
2010-12-31 10:23:44 +00:00
gsutre
af565a28d4 An _ADR object is not required for PCI root bridges. To solve
this, the structure acpi_pciinfo now tells whether the ACPI
device node is a PCI bridge, a regular PCI device, or both.

Problem reported by jmcneill@, who also suggested the solution.

ok jmcneill@, jruoho@
2010-10-26 22:27:44 +00:00
gsutre
a9c0568376 Do not discard ACPI PCI addresses with function number 0xFFFF: the
ACPI specification allows them (ACPI 4.0a, p. 200).

ok jruoho@
2010-09-24 07:48:59 +00:00
gsutre
8e80a0a5b0 acpi_print_tree: print ACPI and PCI autoconf(9) device names.
ok jruoho@
2010-08-11 10:32:42 +00:00
jruoho
2146168c62 Allow to dump the basic information at runtime with a flag to modload(8).
This can help when dealing with problem reports, as the user does not need
to reboot nor compile a kernel. Instead: 'modload -b dump=true acpiverbose'.
2010-08-07 18:59:53 +00:00
jruoho
3319c9a659 Dump MADT in ACPIVERBOSE. 2010-08-07 14:17:21 +00:00
jruoho
77da05df17 Dump the whole FADT in ACPIVERBOSE. 2010-08-07 08:59:51 +00:00
jruoho
e1035e2b84 Simplify the acpiverbose module. 2010-08-06 23:38:34 +00:00
jruoho
460de0d614 Remove the acpiwmi(4) dump from the ACPIVERBOSE module. Instead of this
complex solution, just use aprint_debug(9) in the driver.
2010-08-06 22:45:00 +00:00
pgoyette
1587dcc60f Move setting of acpi_verbose_loaded flag into the module's init routine.
This ensures that the flag is set even if the module was manually loaded
by the user rather than just auto-loaded.
2010-07-25 12:54:46 +00:00
pgoyette
9f0fa4d25b Update acpiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.
2010-06-07 01:45:27 +00:00
jruoho
1f4ce9efc5 Remove trailing white space. 2010-06-05 06:07:12 +00:00
pgoyette
6c40070d66 Extract ACPIVERBOSE into a kernel module. The module can be builtin
by defining 'options ACPIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.

ACPIVERBOSE also includes code to dump acpi/wmi data.
2010-05-31 20:32:28 +00:00