Index: if_san_te1.c =================================================================== RCS file: /cvs/src/sys/dev/pci/if_san_te1.c,v retrieving revision 1.8 diff -r1.8 if_san_te1.c 2011a2012,2017 > if (IS_T1(&card->fe_te.te_cfg)) { > /* For T1, Shift timeslot map left by 1, because bit 0 > ** is not been used by T1 timeslot map (bit 1 is used for > ** channel 1, bit 2 is used for channel 2 and so on). */ > ts_map = ts_map >> 1; > } 2019c2025,2032 < return ((sdla_t*)pcard)->fe_te.te_cfg.active_ch; --- > sdla_t *card = (sdla_t*)pcard; > unsigned long ts_map = card->fe_te.te_cfg.active_ch; > > if (IS_T1(&card->fe_te.te_cfg)) { > /* See explaination before. */ > ts_map = ts_map << 1; > } > return ts_map; 2371c2384 < if (te_cfg->active_ch & (1 << i)) { --- > if (te_cfg->active_ch & (1 << (i-1))) {