From 6c233a7138f01d7977b2bec6db4a7fc74a263d9d Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 2 Sep 1999 05:37:25 +0000 Subject: [PATCH] Update for new pnp includes --- sys/amd64/amd64/bios.c | 7 +++---- sys/i386/i386/bios.c | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/sys/amd64/amd64/bios.c b/sys/amd64/amd64/bios.c index 5fc0a4296738..4b422f5c6f17 100644 --- a/sys/amd64/amd64/bios.c +++ b/sys/amd64/amd64/bios.c @@ -44,8 +44,7 @@ #include #include #include -#include -#include +#include #define BIOS_START 0xe0000 #define BIOS_SIZE 0x20000 @@ -556,12 +555,12 @@ pnpbios_scan(void) if (PNP_RES_TYPE(tag) == 0) { /* Small resource */ switch (PNP_SRES_NUM(tag)) { - case COMP_DEVICE_ID: + case PNP_TAG_COMPAT_DEVICE: compid = (u_int32_t *)(pd->devdata + idx); if (bootverbose) printf("pnpbios: node %d compat ID 0x%08x\n", pd->handle, *compid); /* FALLTHROUGH */ - case END_TAG: + case PNP_TAG_END: idx = left; break; default: diff --git a/sys/i386/i386/bios.c b/sys/i386/i386/bios.c index 5fc0a4296738..4b422f5c6f17 100644 --- a/sys/i386/i386/bios.c +++ b/sys/i386/i386/bios.c @@ -44,8 +44,7 @@ #include #include #include -#include -#include +#include #define BIOS_START 0xe0000 #define BIOS_SIZE 0x20000 @@ -556,12 +555,12 @@ pnpbios_scan(void) if (PNP_RES_TYPE(tag) == 0) { /* Small resource */ switch (PNP_SRES_NUM(tag)) { - case COMP_DEVICE_ID: + case PNP_TAG_COMPAT_DEVICE: compid = (u_int32_t *)(pd->devdata + idx); if (bootverbose) printf("pnpbios: node %d compat ID 0x%08x\n", pd->handle, *compid); /* FALLTHROUGH */ - case END_TAG: + case PNP_TAG_END: idx = left; break; default: