summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
Diffstat (limited to 'libmachdev')
-rw-r--r--libmachdev/device.defs4
-rw-r--r--libmachdev/ds_routines.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libmachdev/device.defs b/libmachdev/device.defs
index ef777efe..3b39297a 100644
--- a/libmachdev/device.defs
+++ b/libmachdev/device.defs
@@ -160,7 +160,7 @@ routine device_intr_notify(
/*
* enable/disable the specified irq.
*/
-routine device_irq_enable(
+routine device_intr_enable(
master_port : mach_port_t;
- irq : int;
+ line : int;
status : char);
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c
index d31e3a9b..cc4b74f6 100644
--- a/libmachdev/ds_routines.c
+++ b/libmachdev/ds_routines.c
@@ -155,8 +155,8 @@ ds_device_intr_notify (mach_port_t master_port, int irq,
}
kern_return_t
-ds_device_irq_enable (mach_port_t master_port,
- int irq, char status)
+ds_device_intr_enable (mach_port_t master_port,
+ int line, char status)
{
return D_INVALID_OPERATION;
}