diff options
Diffstat (limited to 'drivers/isdn/hisax/hfc4s8s_l1.c')
-rw-r--r-- | drivers/isdn/hisax/hfc4s8s_l1.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/hfc4s8s_l1.c b/drivers/isdn/hisax/hfc4s8s_l1.c index 3a5ca8a68fc4..0ca5e66d2f5a 100644 --- a/drivers/isdn/hisax/hfc4s8s_l1.c +++ b/drivers/isdn/hisax/hfc4s8s_l1.c | |||
@@ -424,7 +424,7 @@ bch_l2l1(struct hisax_if *ifc, int pr, void *arg) | |||
424 | struct hfc4s8s_btype *bch = ifc->priv; | 424 | struct hfc4s8s_btype *bch = ifc->priv; |
425 | struct hfc4s8s_l1 *l1 = bch->l1p; | 425 | struct hfc4s8s_l1 *l1 = bch->l1p; |
426 | struct sk_buff *skb = (struct sk_buff *) arg; | 426 | struct sk_buff *skb = (struct sk_buff *) arg; |
427 | int mode = (int) arg; | 427 | long mode = (long) arg; |
428 | u_long flags; | 428 | u_long flags; |
429 | 429 | ||
430 | switch (pr) { | 430 | switch (pr) { |
@@ -914,7 +914,7 @@ tx_d_frame(struct hfc4s8s_l1 *l1p) | |||
914 | struct sk_buff *skb; | 914 | struct sk_buff *skb; |
915 | u_char f1, f2; | 915 | u_char f1, f2; |
916 | u_char *cp; | 916 | u_char *cp; |
917 | int cnt; | 917 | long cnt; |
918 | 918 | ||
919 | if (l1p->l1_state != 7) | 919 | if (l1p->l1_state != 7) |
920 | return; | 920 | return; |
@@ -980,7 +980,8 @@ tx_b_frame(struct hfc4s8s_btype *bch) | |||
980 | struct sk_buff *skb; | 980 | struct sk_buff *skb; |
981 | struct hfc4s8s_l1 *l1 = bch->l1p; | 981 | struct hfc4s8s_l1 *l1 = bch->l1p; |
982 | u_char *cp; | 982 | u_char *cp; |
983 | int cnt, max, hdlc_num, ack_len = 0; | 983 | int cnt, max, hdlc_num; |
984 | long ack_len = 0; | ||
984 | 985 | ||
985 | if (!l1->enabled || (bch->mode == L1_MODE_NULL)) | 986 | if (!l1->enabled || (bch->mode == L1_MODE_NULL)) |
986 | return; | 987 | return; |