PORT_MAX
hi = strtonum(n, 1, PORT_MAX, &errstr);
lo = strtonum(p, 1, PORT_MAX, &errstr);
hi = strtonum(p, 1, PORT_MAX, &errstr);
char *portlist[PORT_MAX+1];
for (port = PORT_0; port < PORT_MAX; port++) {
struct elink_phy phy[PORT_MAX];
struct elink_phy *phy_blk[PORT_MAX];
for (port = PORT_MAX - 1; port >= PORT_0; port--) {
for (port = PORT_MAX - 1; port >= PORT_0; port--) {
for (port = PORT_MAX - 1; port >= PORT_0; port--) {
for (port = 0; port < PORT_MAX; port++) {
struct elink_phy phy[PORT_MAX];
struct elink_phy *phy_blk[PORT_MAX];
for (port = PORT_MAX - 1; port >= PORT_0; port--) {
for (port = PORT_MAX - 1; port >= PORT_0; port--) {
struct port_hw_cfg port_hw_config[PORT_MAX]; /* 400*2=800 */
struct port_feat_cfg port_feature_config[PORT_MAX];/* 116*2=232 */
struct port_mf_cfg port_mf_config[NVM_PATH_MAX][PORT_MAX];
uint32_t validity_map[PORT_MAX]; /* 0x0 (4*2 = 0x8) */
license_key_t drv_lic_key[PORT_MAX]; /* 0x440 (52*2=0x68) */
struct drv_port_mb port_mb[PORT_MAX]; /* 0x664 (16*2=0x20) */
uint32_t ext_phy_fw_version2[PORT_MAX]; /* 0x0008 */
uint32_t dcbx_en[PORT_MAX]; /* 0x00f4 */
struct eee_remote_vals eee_remote_vals[PORT_MAX]; /* 0x0110 */
uint32_t eee_status[PORT_MAX]; /* 0x0130 */
uint32_t lfa_host_addr[PORT_MAX]; /* 0x013c */
uint32_t link_attr_sync[PORT_MAX]; /* Offset 0x154 */
uint32_t link_change_count[PORT_MAX]; /* Offset 0x160-0x164 */
uint32_t fc_npiv_nvram_tbl_addr[PORT_MAX]; /* 0x1d4 */
struct fcoe_capabilities fcoe_features[NVM_PATH_MAX][PORT_MAX];
lu->port = strtonum(++forward2, 0, PORT_MAX, &errstr);