summaryrefslogtreecommitdiff
path: root/device/ds_routines.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-02-27 23:49:57 +0100
committerJustus Winter <justus@gnupg.org>2016-02-27 23:49:57 +0100
commit7ae251bd9cdc26e03eb3300ace23209bc50493e6 (patch)
treec9d3bbc6fd5ec7ea84c169a6d9926c16c3313265 /device/ds_routines.c
parent2cf0c62f09dc2069a9446a5a694bb73dd1322108 (diff)
Drop new notification, the old one is fine and turned out to be extensible
Diffstat (limited to 'device/ds_routines.c')
-rw-r--r--device/ds_routines.c31
1 files changed, 1 insertions, 30 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c
index a54bb0e..d866acc 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -340,36 +340,7 @@ experimental_device_intr_register (ipc_port_t master_port, int line,
if (line < 0 || line >= 16)
return D_INVALID_OPERATION;
- ret = insert_intr_entry (line, receive_port, FALSE, &entry);
- if (ret)
- return ret;
-
- return install_user_intr_handler (line, flags, entry);
-#endif /* MACH_XEN */
-}
-
-io_return_t
-experimental_device_intr_register2 (ipc_port_t master_port, int line,
- int flags, ipc_port_t notification_port)
-{
-#ifdef MACH_XEN
- return D_INVALID_OPERATION;
-#else /* MACH_XEN */
- struct intr_entry *entry;
- io_return_t ret;
-
- /* Open must be called on the master device port. */
- if (master_port != master_device_port)
- return D_INVALID_OPERATION;
-
- if (notification_port == IP_NULL)
- return D_INVALID_OPERATION;
-
- /* XXX: move to arch-specific */
- if (line < 0 || line >= 16)
- return D_INVALID_OPERATION;
-
- ret = insert_intr_entry (line, notification_port, TRUE, &entry);
+ ret = insert_intr_entry (line, receive_port, &entry);
if (ret)
return ret;