[PATCH 03/17] Add support for extended topology detection