diff -ur orig/dahdi-linux-complete-2.2.0-rc1+2.2.0-rc1/linux/drivers/dahdi/wcb4xxp/base.c dahdi-linux-complete-2.2.0-rc1+2.2.0-rc1/linux/drivers/dahdi/wcb4xxp/base.c --- orig/dahdi-linux-complete-2.2.0-rc1+2.2.0-rc1/linux/drivers/dahdi/wcb4xxp/base.c 2009-01-31 02:42:36.000000000 +0300 +++ dahdi-linux-complete-2.2.0-rc1+2.2.0-rc1/linux/drivers/dahdi/wcb4xxp/base.c 2009-04-06 14:53:40.000000000 +0400 @@ -1704,7 +1704,7 @@ printk("%02x%c", buf[i], (i < (size - 1)) ? ' ' : '\n'); if (size && res != 0) - pr_info("Transmitted frame %d on span %d\n", bspan->frames_out - 1, bspan->port); + pr_info("Transmitted frame %d on span %d\n", bspan->frames_out - 1, bspan->port + 1); } return(res == 0); @@ -2056,7 +2056,7 @@ if (DBG_FOPS && DBG_SPANFILTER) dev_info(b4->dev, "open() on chan %s (%i/%i)\n", chan->name, chan->channo, chan->chanpos); - hfc_reset_fifo_pair(b4, bspan->fifos[chan->chanpos], 0, 0); + hfc_reset_fifo_pair(b4, bspan->fifos[chan->chanpos - 1], 0, 0); return 0; } @@ -2071,7 +2071,7 @@ if (DBG_FOPS && DBG_SPANFILTER) dev_info(b4->dev, "close() on chan %s (%i/%i)\n", chan->name, chan->channo, chan->chanpos); - hfc_reset_fifo_pair(b4, bspan->fifos[chan->chanpos], 1, 1); + hfc_reset_fifo_pair(b4, bspan->fifos[chan->chanpos - 1], 1, 1); return 0; }