summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pckbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/cbus/pckbd.c')
-rw-r--r--sys/pc98/cbus/pckbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/cbus/pckbd.c b/sys/pc98/cbus/pckbd.c
index bbd10a4..3632535 100644
--- a/sys/pc98/cbus/pckbd.c
+++ b/sys/pc98/cbus/pckbd.c
@@ -99,7 +99,7 @@ pckbdprobe(device_t dev)
device_set_desc(dev, "PC-98 Keyboard");
return pckbd_probe_unit(device_get_unit(dev), isa_get_port(dev),
- (1 << isa_get_irq(dev)), isa_get_flags(dev));
+ (1 << isa_get_irq(dev)), device_get_flags(dev));
}
static int
@@ -111,7 +111,7 @@ pckbdattach(device_t dev)
int zero = 0;
pckbd_attach_unit(device_get_unit(dev), &kbd, isa_get_port(dev),
- (1 << isa_get_irq(dev)), isa_get_flags(dev));
+ (1 << isa_get_irq(dev)), device_get_flags(dev));
res = bus_alloc_resource(dev, SYS_RES_IRQ, &zero, 0ul, ~0ul, 1,
RF_SHAREABLE | RF_ACTIVE);
OpenPOWER on IntegriCloud