jhb da75fed86a Don't create a device_t object or parse current resources (via _CRS) for
ACPI Device() objects that do not have any device IDs available via the
_HID or _CID methods.  Without a device ID a device driver cannot attach
to the device anyway.  Namespace objects that are devices but not of
type ACPI_TYPE_DEVICE are not affected.

A few BIOSes have also attached a _CRS method to a PCI device to
allocate resources that are not managed via a BAR.  With the previous
code those resources are allocated from acpi0 directly which can interfere
with the new PCI-PCI bridge driver (since the PCI device in question may
be behind a bridge and its resources should be allocated from that
bridge's windows instead).  The resources were also orphaned and
and would end up associated with some other random device whose device_t
reused the pointer of the original ACPI-enumerated device (after it was
free'd by the ACPI PCI bus driver) in devinfo output which was confusing.
If we want to handle _CRS on PCI devices we can adjust the ACPI PCI bus
driver to do that in the future and associate the resources with the
proper device object respecting PCI-PCI bridges, etc.

Note that with this change the ACPI PCI bus driver no longer has to
delete ACPI-enumerated device_t devices that mirror PCI devices since
they should in general not exist.  There are rare cases when a BIOS
will give a PCI device a _HID (e.g. I've seen a PCI-ISA bridge given
a _HID for a system resource device).  In that case we leave both the
ACPI and PCI-enumerated device_t objects around just as in the previous
code.
2011-06-17 21:19:01 +00:00
..
2011-05-26 10:10:10 +00:00
2011-05-19 23:13:08 +00:00
2011-05-19 23:13:08 +00:00
2010-07-28 16:24:11 +00:00
2011-02-21 09:01:34 +00:00
2011-06-11 01:19:19 +00:00
MFC
2011-05-16 16:34:03 +00:00
2011-02-21 09:01:34 +00:00
MFC
2011-05-13 15:20:57 +00:00
2011-04-22 09:44:01 +00:00
2010-10-13 17:38:23 +00:00
MFC
2011-05-06 22:45:33 +00:00
2010-10-13 17:38:23 +00:00
2011-02-21 09:01:34 +00:00
2011-03-25 20:53:02 +00:00
2011-04-23 23:11:44 +00:00
2011-02-21 09:01:34 +00:00
2011-04-22 13:56:21 +00:00
2010-01-03 23:26:29 +00:00
2011-02-21 09:01:34 +00:00
MFC
2011-05-16 16:34:03 +00:00
2010-10-13 14:41:52 +00:00
2011-06-08 16:00:30 +00:00
2010-01-08 20:40:28 +00:00
2011-04-14 07:14:22 +00:00
MFC
2011-05-31 21:22:44 +00:00
MFC
2011-05-31 21:22:44 +00:00
2011-02-21 09:01:34 +00:00
2011-06-02 05:31:54 +00:00
2011-03-24 08:56:12 +00:00
MFC
2011-05-13 20:58:48 +00:00
2011-05-15 13:17:08 +00:00
2010-01-28 08:41:30 +00:00
2011-04-22 09:59:16 +00:00
2011-04-22 00:44:27 +00:00
MFC
2011-05-31 21:22:44 +00:00
MFC
2011-05-13 20:58:48 +00:00
2011-02-21 09:01:34 +00:00
2011-06-12 23:33:08 +00:00
2011-04-22 12:46:39 +00:00
MFC
2011-05-09 18:53:13 +00:00
2010-11-15 05:25:51 +00:00
2010-01-28 08:41:30 +00:00
MFC
2011-06-06 22:06:42 +00:00
2011-02-21 09:01:34 +00:00
MFC
2011-05-03 18:57:46 +00:00
MFC
2011-05-31 21:22:44 +00:00
2011-05-07 04:40:44 +00:00