summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-23 02:49:15 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-23 02:49:15 +0200
commitf309b0036b005dfa971def25134a5275732ddcc9 (patch)
tree5847c312fee22ae286d798ff56ff032b9f3b7073 /libmachdev
parent42f0148a5b081d0528a09542c68b8fc1f489e8a7 (diff)
rename device_irq_enable into device_intr_enable
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;
}