Print this page
4431 igb support for I354
4616 igb has uninitialized kstats


 334 #endif /* QV_RELEASE && SPRINGVILLE_FLASHLESS_HW */
 335         case E1000_DEV_ID_I210_COPPER:
 336         case E1000_DEV_ID_I210_COPPER_OEM1:
 337         case E1000_DEV_ID_I210_COPPER_IT:
 338         case E1000_DEV_ID_I210_FIBER:
 339         case E1000_DEV_ID_I210_SERDES:
 340         case E1000_DEV_ID_I210_SGMII:
 341                 mac->type = e1000_i210;
 342                 break;
 343         case E1000_DEV_ID_I211_COPPER:
 344                 mac->type = e1000_i211;
 345                 break;
 346         case E1000_DEV_ID_82576_VF:
 347         case E1000_DEV_ID_82576_VF_HV:
 348                 mac->type = e1000_vfadapt;
 349                 break;
 350         case E1000_DEV_ID_I350_VF:
 351         case E1000_DEV_ID_I350_VF_HV:
 352                 mac->type = e1000_vfadapt_i350;
 353                 break;





 354 
 355         default:
 356                 /* Should never have loaded on this device */
 357                 ret_val = -E1000_ERR_MAC_INIT;
 358                 break;
 359         }
 360 
 361         return ret_val;
 362 }
 363 
 364 /**
 365  *  e1000_setup_init_funcs - Initializes function pointers
 366  *  @hw: pointer to the HW structure
 367  *  @init_device: TRUE will initialize the rest of the function pointers
 368  *                getting the device ready for use.  FALSE will only set
 369  *                MAC type and the function pointers for the other init
 370  *                functions.  Passing FALSE will not generate any hardware
 371  *                reads or writes.
 372  *
 373  *  This function must be called by a driver in order to use the rest


 430         case e1000_82573:
 431         case e1000_82574:
 432         case e1000_82583:
 433                 e1000_init_function_pointers_82571(hw);
 434                 break;
 435         case e1000_80003es2lan:
 436                 e1000_init_function_pointers_80003es2lan(hw);
 437                 break;
 438         case e1000_ich8lan:
 439         case e1000_ich9lan:
 440         case e1000_ich10lan:
 441         case e1000_pchlan:
 442         case e1000_pch2lan:
 443         case e1000_pch_lpt:
 444                 e1000_init_function_pointers_ich8lan(hw);
 445                 break;
 446         case e1000_82575:
 447         case e1000_82576:
 448         case e1000_82580:
 449         case e1000_i350:

 450                 e1000_init_function_pointers_82575(hw);
 451                 break;
 452         case e1000_i210:
 453         case e1000_i211:
 454                 e1000_init_function_pointers_i210(hw);
 455                 break;
 456         case e1000_vfadapt:
 457                 e1000_init_function_pointers_vf(hw);
 458                 break;
 459         case e1000_vfadapt_i350:
 460                 e1000_init_function_pointers_vf(hw);
 461                 break;
 462         default:
 463                 DEBUGOUT("Hardware not supported\n");
 464                 ret_val = -E1000_ERR_CONFIG;
 465                 break;
 466         }
 467 
 468         /*
 469          * Initialize the rest of the function pointers. These require some




 334 #endif /* QV_RELEASE && SPRINGVILLE_FLASHLESS_HW */
 335         case E1000_DEV_ID_I210_COPPER:
 336         case E1000_DEV_ID_I210_COPPER_OEM1:
 337         case E1000_DEV_ID_I210_COPPER_IT:
 338         case E1000_DEV_ID_I210_FIBER:
 339         case E1000_DEV_ID_I210_SERDES:
 340         case E1000_DEV_ID_I210_SGMII:
 341                 mac->type = e1000_i210;
 342                 break;
 343         case E1000_DEV_ID_I211_COPPER:
 344                 mac->type = e1000_i211;
 345                 break;
 346         case E1000_DEV_ID_82576_VF:
 347         case E1000_DEV_ID_82576_VF_HV:
 348                 mac->type = e1000_vfadapt;
 349                 break;
 350         case E1000_DEV_ID_I350_VF:
 351         case E1000_DEV_ID_I350_VF_HV:
 352                 mac->type = e1000_vfadapt_i350;
 353                 break;
 354         case E1000_DEV_ID_I354_BACKPLANE_1GBPS:
 355         case E1000_DEV_ID_I354_SGMII:
 356         case E1000_DEV_ID_I354_BACKPLANE_2_5GBPS:
 357                 mac->type = e1000_i354;
 358                 break;
 359 
 360         default:
 361                 /* Should never have loaded on this device */
 362                 ret_val = -E1000_ERR_MAC_INIT;
 363                 break;
 364         }
 365 
 366         return ret_val;
 367 }
 368 
 369 /**
 370  *  e1000_setup_init_funcs - Initializes function pointers
 371  *  @hw: pointer to the HW structure
 372  *  @init_device: TRUE will initialize the rest of the function pointers
 373  *                getting the device ready for use.  FALSE will only set
 374  *                MAC type and the function pointers for the other init
 375  *                functions.  Passing FALSE will not generate any hardware
 376  *                reads or writes.
 377  *
 378  *  This function must be called by a driver in order to use the rest


 435         case e1000_82573:
 436         case e1000_82574:
 437         case e1000_82583:
 438                 e1000_init_function_pointers_82571(hw);
 439                 break;
 440         case e1000_80003es2lan:
 441                 e1000_init_function_pointers_80003es2lan(hw);
 442                 break;
 443         case e1000_ich8lan:
 444         case e1000_ich9lan:
 445         case e1000_ich10lan:
 446         case e1000_pchlan:
 447         case e1000_pch2lan:
 448         case e1000_pch_lpt:
 449                 e1000_init_function_pointers_ich8lan(hw);
 450                 break;
 451         case e1000_82575:
 452         case e1000_82576:
 453         case e1000_82580:
 454         case e1000_i350:
 455         case e1000_i354:
 456                 e1000_init_function_pointers_82575(hw);
 457                 break;
 458         case e1000_i210:
 459         case e1000_i211:
 460                 e1000_init_function_pointers_i210(hw);
 461                 break;
 462         case e1000_vfadapt:
 463                 e1000_init_function_pointers_vf(hw);
 464                 break;
 465         case e1000_vfadapt_i350:
 466                 e1000_init_function_pointers_vf(hw);
 467                 break;
 468         default:
 469                 DEBUGOUT("Hardware not supported\n");
 470                 ret_val = -E1000_ERR_CONFIG;
 471                 break;
 472         }
 473 
 474         /*
 475          * Initialize the rest of the function pointers. These require some