diff options
Diffstat (limited to 'drivers/isdn/hisax/hfc_sx.c')
-rw-r--r-- | drivers/isdn/hisax/hfc_sx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c index f27c1608a3a7..b7e8e23be337 100644 --- a/drivers/isdn/hisax/hfc_sx.c +++ b/drivers/isdn/hisax/hfc_sx.c | |||
@@ -970,7 +970,7 @@ HFCSX_l1hw(struct PStack *st, int pr, void *arg) | |||
970 | break; | 970 | break; |
971 | case (HW_TESTLOOP | REQUEST): | 971 | case (HW_TESTLOOP | REQUEST): |
972 | spin_lock_irqsave(&cs->lock, flags); | 972 | spin_lock_irqsave(&cs->lock, flags); |
973 | switch ((int) arg) { | 973 | switch ((long) arg) { |
974 | case (1): | 974 | case (1): |
975 | Write_hfc(cs, HFCSX_B1_SSL, 0x80); /* tx slot */ | 975 | Write_hfc(cs, HFCSX_B1_SSL, 0x80); /* tx slot */ |
976 | Write_hfc(cs, HFCSX_B1_RSL, 0x80); /* rx slot */ | 976 | Write_hfc(cs, HFCSX_B1_RSL, 0x80); /* rx slot */ |
@@ -986,7 +986,7 @@ HFCSX_l1hw(struct PStack *st, int pr, void *arg) | |||
986 | default: | 986 | default: |
987 | spin_unlock_irqrestore(&cs->lock, flags); | 987 | spin_unlock_irqrestore(&cs->lock, flags); |
988 | if (cs->debug & L1_DEB_WARN) | 988 | if (cs->debug & L1_DEB_WARN) |
989 | debugl1(cs, "hfcsx_l1hw loop invalid %4x", (int) arg); | 989 | debugl1(cs, "hfcsx_l1hw loop invalid %4lx", arg); |
990 | return; | 990 | return; |
991 | } | 991 | } |
992 | cs->hw.hfcsx.trm |= 0x80; /* enable IOM-loop */ | 992 | cs->hw.hfcsx.trm |= 0x80; /* enable IOM-loop */ |