add base code, still crushing, need debug
support dlink quirks