Add the generic device / ports and the sunlite code.

Dangling else, brackets please.