1 #ifndef __HISAX_ISAC_H__
2 #define __HISAX_ISAC_H__
4 #include <linux/kernel.h>
8 #define TIMER3_VALUE 7000
9 #define MAX_DFRAME_LEN_L1 300
17 struct hisax_d_if hisax_d_if
;
19 struct FsmTimer timer
;
24 u_char rcvbuf
[MAX_DFRAME_LEN_L1
];
27 struct sk_buff
*tx_skb
;
30 u_char (*read_isac
) (struct isac
*, u_char
);
31 void (*write_isac
) (struct isac
*, u_char
, u_char
);
32 void (*read_isac_fifo
) (struct isac
*, u_char
*, int);
33 void (*write_isac_fifo
)(struct isac
*, u_char
*, int);
36 void isac_init(struct isac
*isac
);
37 void isac_d_l2l1(struct hisax_if
*hisax_d_if
, int pr
, void *arg
);
39 void isac_setup(struct isac
*isac
);
40 void isac_irq(struct isac
*isac
);
42 void isacsx_setup(struct isac
*isac
);
43 void isacsx_irq(struct isac
*isac
);