On the capacity of some channels with channel state information