Inline device switching