diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2004-06-29 01:33:35 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2004-06-29 01:33:35 +0000 |
| commit | c796e27ba8336fb9e9c29f9b0f5c1a58aec83a20 (patch) | |
| tree | fd8f0a6ddd728be23285070eb3e5c0a89de71a6e /sys/dev | |
| parent | 636af3826fba684f832241c050e299136e44fe2a (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpica/acpi.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index 93bed572c5ab5..16aa83934aa85 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -52,6 +52,7 @@ #include <machine/bus.h> #include <sys/rman.h> #include <isa/isavar.h> +#include <isa/pnpvar.h> #include "acpi.h" #include <dev/acpica/acpivar.h> @@ -969,19 +970,7 @@ acpi_bus_alloc_gas(device_t dev, int *rid, ACPI_GENERIC_ADDRESS *gas) return (bus_alloc_resource_any(dev, type, rid, RF_ACTIVE)); } -/* - * Handle ISA-like devices probing for a PnP ID to match. - */ -#define PNP_EISAID(s) \ - ((((s[0] - '@') & 0x1f) << 2) \ - | (((s[1] - '@') & 0x18) >> 3) \ - | (((s[1] - '@') & 0x07) << 13) \ - | (((s[2] - '@') & 0x1f) << 8) \ - | (PNP_HEXTONUM(s[4]) << 16) \ - | (PNP_HEXTONUM(s[3]) << 20) \ - | (PNP_HEXTONUM(s[6]) << 24) \ - | (PNP_HEXTONUM(s[5]) << 28)) - +/* Probe _HID and _CID for compatible ISA PNP ids. */ static uint32_t acpi_isa_get_logicalid(device_t dev) { |
