PRESTERA_PORT_TYPE_MAX
} port_types[PRESTERA_PORT_TYPE_MAX] = {
if (port->caps.type < PRESTERA_PORT_TYPE_MAX)
for (type = 0; type < PRESTERA_PORT_TYPE_MAX; type++) {
if (type == PRESTERA_PORT_TYPE_MAX)