drbd: The kernel code is now equivalent to out of tree release 8.3.7
[safe/jmp/linux-2.6] / include / linux / mISDNhw.h
index ce900f4..4af8414 100644 (file)
@@ -89,11 +89,6 @@ struct dchannel {
        void                    (*phfunc) (struct dchannel *);
        u_int                   state;
        void                    *l1;
-       /* HW access */
-       u_char                  (*read_reg) (void *, u_char);
-       void                    (*write_reg) (void *, u_char, u_char);
-       void                    (*read_fifo) (void *, u_char *, int);
-       void                    (*write_fifo) (void *, u_char *, int);
        void                    *hw;
        int                     slot;   /* multiport card channel slot */
        struct timer_list       timer;
@@ -151,11 +146,6 @@ struct bchannel {
        u_long                  Flags;
        struct work_struct      workq;
        u_int                   state;
-       /* HW access */
-       u_char                  (*read_reg) (void *, u_char);
-       void                    (*write_reg) (void *, u_char, u_char);
-       void                    (*read_fifo) (void *, u_char *, int);
-       void                    (*write_fifo) (void *, u_char *, int);
        void                    *hw;
        int                     slot;   /* multiport card channel slot */
        struct timer_list       timer;
@@ -178,6 +168,7 @@ struct bchannel {
 extern int     mISDN_initdchannel(struct dchannel *, int, void *);
 extern int     mISDN_initbchannel(struct bchannel *, int);
 extern int     mISDN_freedchannel(struct dchannel *);
+extern void    mISDN_clear_bchannel(struct bchannel *);
 extern int     mISDN_freebchannel(struct bchannel *);
 extern void    queue_ch_frame(struct mISDNchannel *, u_int,
                        int, struct sk_buff *);