summaryrefslogtreecommitdiff
path: root/kernel/xpp/xpp_zap.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/xpp/xpp_zap.h')
-rw-r--r--kernel/xpp/xpp_zap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/xpp/xpp_zap.h b/kernel/xpp/xpp_zap.h
index 8a4ffad..6eece7b 100644
--- a/kernel/xpp/xpp_zap.h
+++ b/kernel/xpp/xpp_zap.h
@@ -25,12 +25,13 @@
#include "xpd.h"
#include "xproto.h"
-void xpd_disconnect(xpd_t *xpd);
-int xpd_common_init(xbus_t *xbus, xpd_t *xpd, int unit, int subunit, int subtype, int subunits);
+int zaptel_register_xpd(xpd_t *xpd);
+int zaptel_unregister_xpd(xpd_t *xpd);
+void xbus_request_removal(xbus_t *xbus);
int create_xpd(xbus_t *xbus, const xproto_table_t *proto_table,
int unit, int subunit, byte type, byte subtype, int subunits, byte port_dir);
void xpd_post_init(xpd_t *xpd);
-xpd_t *xpd_alloc(size_t privsize, const xproto_table_t *proto_table, int channels);
+xpd_t *xpd_alloc(xbus_t *xbus, int unit, int subunit, int subtype, int subunits, size_t privsize, const xproto_table_t *proto_table, int channels);
void xpd_free(xpd_t *xpd);
void xpd_remove(xpd_t *xpd);
void update_xpd_status(xpd_t *xpd, int alarm_flag);