summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/isa/pnp.c2
-rw-r--r--sys/isa/pnpreg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/isa/pnp.c b/sys/isa/pnp.c
index 6409818..9030874 100644
--- a/sys/isa/pnp.c
+++ b/sys/isa/pnp.c
@@ -399,7 +399,7 @@ pnp_scan_resdata(device_t parent, pnp_id *p, int csn)
}
switch (PNP_SRES_NUM(tag)) {
- case PNP_TAG_LOGIGAL_DEVICE:
+ case PNP_TAG_LOGICAL_DEVICE:
/*
* A new logical device. Scan
* resourcea and add device.
diff --git a/sys/isa/pnpreg.h b/sys/isa/pnpreg.h
index fed7a4c..9c9b6f3 100644
--- a/sys/isa/pnpreg.h
+++ b/sys/isa/pnpreg.h
@@ -235,7 +235,7 @@
/* Small Resource Item names */
#define PNP_TAG_VERSION 0x1
-#define PNP_TAG_LOGIGAL_DEVICE 0x2
+#define PNP_TAG_LOGICAL_DEVICE 0x2
#define PNP_TAG_COMPAT_DEVICE 0x3
#define PNP_TAG_IRQ_FORMAT 0x4
#define PNP_TAG_DMA_FORMAT 0x5
OpenPOWER on IntegriCloud