Support for RTL838x based managed switches

Sorry, my bad - separate thread actually, so better to pick that up again since this one already has a lot of noise: