Laminar flow in channels with porous walls