1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/dev/acpica
John Baldwin a4104d1c3b Fix the code to look up the BIOS IRQ for a given link device by reading
the IRQ set by the BIOS in existing devices to actually get the correct
bus number of the child PCI bus.  I was not reading the bus number from
the bridge device correctly.  The __BUS_ACCESSOR() macros (from which
pcib_get_bus() is built) assume that the passed in argument is a child
device.  However, at the time I'm reading the bus there is no child
device yet, so I was passing in the pcib device as the child device.
The parent of the pcib device probably returned an error in the case of
a host bridge, thus resulting in random stack garbage for the bus number.
For PCI-PCI bridges, the bus number being used was actually the subvendor
of the PCI-PCI bridge device itself.

MFC after:	1 week
2005-11-21 22:01:16 +00:00
..
Osd Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00
acpi_acad.c Invert the check logic. No functional change, but I prefer this version. 2005-10-24 18:30:57 +00:00
acpi_battery.c Add prototype to be consistent. 2005-10-23 19:31:18 +00:00
acpi_button.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_cmbat.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_cpu.c If we're trying to use C2/3 and reads from the register are returning 2005-10-25 21:15:47 +00:00
acpi_ec.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_hpet.c Move HPET debugging under ACPI_TIMER in order to save a bitfield. 2005-11-01 20:41:43 +00:00
acpi_if.m Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_isab.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_lid.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_package.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pci_link.c Fix the code to look up the BIOS IRQ for a given link device by reading 2005-11-21 22:01:16 +00:00
acpi_pci.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pcib_acpi.c Commit a workaround to a problem with resource allocation. This helps 2005-09-16 07:02:29 +00:00
acpi_pcib_pci.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pcib.c Work around at least one busted BIOS. If we get a source index in a _PRT 2005-11-07 21:48:45 +00:00
acpi_pcibvar.h Protect against multiple includes and use _KERNEL to protect the PCI fns. 2005-02-28 05:39:34 +00:00
acpi_perf.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_powerres.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_quirk.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_quirks Add a quirk for a motherboard whose acpi timer runs too fast. 2005-06-26 18:19:14 +00:00
acpi_resource.c *sigh* Revert stuff that wasn't supposed to be committed. The 2005-11-07 21:52:06 +00:00
acpi_smbat.c Import ACPI smart battery support. Newer systems (Acer, mostly) do not 2005-10-23 00:20:13 +00:00
acpi_smbus.h Import ACPI smart battery support. Newer systems (Acer, mostly) do not 2005-10-23 00:20:13 +00:00
acpi_thermal.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_throttle.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_timer.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_video.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi.c *sigh* Revert stuff that wasn't supposed to be committed. The 2005-11-07 21:52:06 +00:00
acpiio.h Cleanups and support code for importing smart battery support. 2005-10-23 00:16:41 +00:00
acpivar.h Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00