Index: sys/dev/sfxge/common/ef10_nic.c =================================================================== --- sys/dev/sfxge/common/ef10_nic.c +++ sys/dev/sfxge/common/ef10_nic.c @@ -1378,21 +1378,6 @@ 1, /* ports per cage */ 1 /* first cage */ }, - /* - * Modes that on Medford allocate each port number to a separate - * cage. - * port 0 -> cage 1 - * port 1 -> cage 2 - * port 2 -> cage 3 - * port 3 -> cage 4 - */ - { - EFX_FAMILY_MEDFORD, - (1U << TLV_PORT_MODE_10G) | /* mode 0 */ - (1U << TLV_PORT_MODE_10G_10G), /* mode 2 */ - 1, /* ports per cage */ - 1 /* first cage */ - }, /* * Modes which for Huntington identify a chip variant where 2 * adjacent port numbers map to each cage. @@ -1411,6 +1396,21 @@ 2, /* ports per cage */ 1 /* first cage */ }, + /* + * Modes that on Medford allocate each port number to a separate + * cage. + * port 0 -> cage 1 + * port 1 -> cage 2 + * port 2 -> cage 3 + * port 3 -> cage 4 + */ + { + EFX_FAMILY_MEDFORD, + (1U << TLV_PORT_MODE_10G) | /* mode 0 */ + (1U << TLV_PORT_MODE_10G_10G), /* mode 2 */ + 1, /* ports per cage */ + 1 /* first cage */ + }, /* * Modes that on Medford allocate 2 adjacent port numbers to each * cage.