summaryrefslogtreecommitdiffstats
path: root/sys/isa/isa_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa/isa_common.c')
-rw-r--r--sys/isa/isa_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c
index 8b8034b..debf0fb 100644
--- a/sys/isa/isa_common.c
+++ b/sys/isa/isa_common.c
@@ -744,7 +744,7 @@ isa_read_ivar(device_t bus, device_t dev, int index, uintptr_t * result)
*result = -1;
break;
- case ISA_IVAR_MSIZE_0:
+ case ISA_IVAR_MEMSIZE_0:
rle = resource_list_find(rl, SYS_RES_MEMORY, 0);
if (rle)
*result = rle->count;
@@ -752,7 +752,7 @@ isa_read_ivar(device_t bus, device_t dev, int index, uintptr_t * result)
*result = 0;
break;
- case ISA_IVAR_MSIZE_1:
+ case ISA_IVAR_MEMSIZE_1:
rle = resource_list_find(rl, SYS_RES_MEMORY, 1);
if (rle)
*result = rle->count;
@@ -832,8 +832,8 @@ isa_write_ivar(device_t bus, device_t dev,
case ISA_IVAR_PORTSIZE_1:
case ISA_IVAR_MADDR_0:
case ISA_IVAR_MADDR_1:
- case ISA_IVAR_MSIZE_0:
- case ISA_IVAR_MSIZE_1:
+ case ISA_IVAR_MEMSIZE_0:
+ case ISA_IVAR_MEMSIZE_1:
case ISA_IVAR_IRQ_0:
case ISA_IVAR_IRQ_1:
case ISA_IVAR_DRQ_0:
OpenPOWER on IntegriCloud