Lines Matching refs:bge_asicrev
557 if (sc->bge_asicrev == BGE_ASICREV_BCM5906 && in bge_readmem_ind()
574 if (sc->bge_asicrev == BGE_ASICREV_BCM5906 && in bge_writemem_ind()
618 if (sc->bge_asicrev == BGE_ASICREV_BCM5906) in bge_writembx()
635 if (sc->bge_asicrev == BGE_ASICREV_BCM5761) in bge_ape_lock_init()
735 if (sc->bge_asicrev == BGE_ASICREV_BCM5761) { in bge_ape_lock()
748 if (sc->bge_asicrev == BGE_ASICREV_BCM5761) in bge_ape_lock()
814 if (sc->bge_asicrev == BGE_ASICREV_BCM5761) in bge_ape_unlock()
823 if (sc->bge_asicrev == BGE_ASICREV_BCM5761) in bge_ape_unlock()
1015 if (sc->bge_asicrev != BGE_ASICREV_BCM5906) in bge_read_nvram()
1155 if (sc->bge_asicrev == BGE_ASICREV_BCM5906 && in bge_miibus_writereg()
1219 if (sc->bge_asicrev != BGE_ASICREV_BCM5906) in bge_miibus_statchg()
1767 if (sc->bge_asicrev == BGE_ASICREV_BCM57765 || in bge_chipinit()
1768 sc->bge_asicrev == BGE_ASICREV_BCM57766) { in bge_chipinit()
1796 dma_rw_ctl |= (sc->bge_asicrev == BGE_ASICREV_BCM5780) ? in bge_chipinit()
1799 } else if (sc->bge_asicrev == BGE_ASICREV_BCM5703) { in bge_chipinit()
1808 } else if (sc->bge_asicrev == BGE_ASICREV_BCM5704) { in bge_chipinit()
1818 if (sc->bge_asicrev == BGE_ASICREV_BCM5703 || in bge_chipinit()
1819 sc->bge_asicrev == BGE_ASICREV_BCM5704) { in bge_chipinit()
1836 if (sc->bge_asicrev != BGE_ASICREV_BCM5705 && in bge_chipinit()
1837 sc->bge_asicrev != BGE_ASICREV_BCM5750) in bge_chipinit()
1840 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 || in bge_chipinit()
1841 sc->bge_asicrev == BGE_ASICREV_BCM5701) in bge_chipinit()
1844 if (sc->bge_asicrev == BGE_ASICREV_BCM5703 || in bge_chipinit()
1845 sc->bge_asicrev == BGE_ASICREV_BCM5704) in bge_chipinit()
1857 sc->bge_asicrev != BGE_ASICREV_BCM5717 && in bge_chipinit()
1858 sc->bge_asicrev != BGE_ASICREV_BCM5762) in bge_chipinit()
1867 if (sc->bge_asicrev == BGE_ASICREV_BCM5720 || in bge_chipinit()
1868 sc->bge_asicrev == BGE_ASICREV_BCM5762) { in bge_chipinit()
1884 if (sc->bge_asicrev == BGE_ASICREV_BCM5701 && in bge_chipinit()
1906 if (sc->bge_asicrev == BGE_ASICREV_BCM5906) { in bge_chipinit()
1941 if (sc->bge_asicrev == BGE_ASICREV_BCM5704) in bge_blockinit()
1966 } else if (sc->bge_asicrev == BGE_ASICREV_BCM5906) { in bge_blockinit()
1988 if (sc->bge_asicrev == BGE_ASICREV_BCM5719) in bge_blockinit()
2087 if (sc->bge_asicrev == BGE_ASICREV_BCM5717 || in bge_blockinit()
2088 sc->bge_asicrev == BGE_ASICREV_BCM5719 || in bge_blockinit()
2089 sc->bge_asicrev == BGE_ASICREV_BCM5720) in bge_blockinit()
2121 if (sc->bge_asicrev == BGE_ASICREV_BCM5717 || in bge_blockinit()
2122 sc->bge_asicrev == BGE_ASICREV_BCM5719 || in bge_blockinit()
2123 sc->bge_asicrev == BGE_ASICREV_BCM5720) in bge_blockinit()
2151 if (sc->bge_asicrev == BGE_ASICREV_BCM5906) { in bge_blockinit()
2197 sc->bge_asicrev == BGE_ASICREV_BCM5762) in bge_blockinit()
2216 if (sc->bge_asicrev == BGE_ASICREV_BCM5717 || in bge_blockinit()
2217 sc->bge_asicrev == BGE_ASICREV_BCM5719 || in bge_blockinit()
2218 sc->bge_asicrev == BGE_ASICREV_BCM5720) in bge_blockinit()
2231 if (sc->bge_asicrev == BGE_ASICREV_BCM5717 || in bge_blockinit()
2232 sc->bge_asicrev == BGE_ASICREV_BCM5719 || in bge_blockinit()
2233 sc->bge_asicrev == BGE_ASICREV_BCM5720) { in bge_blockinit()
2238 else if (sc->bge_asicrev == BGE_ASICREV_BCM5755 || in bge_blockinit()
2239 sc->bge_asicrev == BGE_ASICREV_BCM5762 || in bge_blockinit()
2280 if (sc->bge_asicrev == BGE_ASICREV_BCM5720 || in bge_blockinit()
2281 sc->bge_asicrev == BGE_ASICREV_BCM5762) in bge_blockinit()
2348 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 && in bge_blockinit()
2416 if (sc->bge_asicrev == BGE_ASICREV_BCM5785) in bge_blockinit()
2426 if (sc->bge_asicrev == BGE_ASICREV_BCM5717) in bge_blockinit()
2429 if (sc->bge_asicrev == BGE_ASICREV_BCM5784 || in bge_blockinit()
2430 sc->bge_asicrev == BGE_ASICREV_BCM5785 || in bge_blockinit()
2431 sc->bge_asicrev == BGE_ASICREV_BCM57780) in bge_blockinit()
2440 sc->bge_asicrev == BGE_ASICREV_BCM5785 || in bge_blockinit()
2441 sc->bge_asicrev == BGE_ASICREV_BCM57780) in bge_blockinit()
2445 if (sc->bge_asicrev == BGE_ASICREV_BCM5720 || in bge_blockinit()
2446 sc->bge_asicrev == BGE_ASICREV_BCM5762) { in bge_blockinit()
2456 if (sc->bge_asicrev == BGE_ASICREV_BCM5761 || in bge_blockinit()
2457 sc->bge_asicrev == BGE_ASICREV_BCM5784 || in bge_blockinit()
2458 sc->bge_asicrev == BGE_ASICREV_BCM5785 || in bge_blockinit()
2459 sc->bge_asicrev == BGE_ASICREV_BCM57780 || in bge_blockinit()
2461 if (sc->bge_asicrev == BGE_ASICREV_BCM5762) in bge_blockinit()
2471 sc->bge_asicrev == BGE_ASICREV_BCM5762) { in bge_blockinit()
2488 if (sc->bge_asicrev == BGE_ASICREV_BCM5719) { in bge_blockinit()
2493 } else if (sc->bge_asicrev == BGE_ASICREV_BCM5720) { in bge_blockinit()
2502 } else if (sc->bge_asicrev == BGE_ASICREV_BCM5762) { in bge_blockinit()
2522 if (sc->bge_asicrev == BGE_ASICREV_BCM5719) in bge_blockinit()
2548 if (sc->bge_asicrev == BGE_ASICREV_BCM5761) in bge_blockinit()
2586 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 && in bge_blockinit()
2980 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 && in bge_dma_alloc()
3164 switch (sc->bge_asicrev) { in bge_can_use_msi()
3242 sc->bge_chipid, sc->bge_asicrev, sc->bge_chiprev); in bge_devinfo()
3322 sc->bge_asicrev = BGE_ASICREV(sc->bge_chipid); in bge_attach()
3349 if (sc->bge_asicrev == BGE_ASICREV_BCM5717 || in bge_attach()
3350 sc->bge_asicrev == BGE_ASICREV_BCM5719 || in bge_attach()
3351 sc->bge_asicrev == BGE_ASICREV_BCM5720) { in bge_attach()
3371 switch (sc->bge_asicrev) { in bge_attach()
3383 if (sc->bge_asicrev == BGE_ASICREV_BCM5719 || in bge_attach()
3384 sc->bge_asicrev == BGE_ASICREV_BCM5720) { in bge_attach()
3390 if (sc->bge_asicrev == BGE_ASICREV_BCM5719 && in bge_attach()
3428 switch (sc->bge_asicrev) { in bge_attach()
3466 sc->bge_asicrev == BGE_ASICREV_BCM5784 || in bge_attach()
3467 sc->bge_asicrev == BGE_ASICREV_BCM5761 || in bge_attach()
3468 sc->bge_asicrev == BGE_ASICREV_BCM5785 || in bge_attach()
3469 sc->bge_asicrev == BGE_ASICREV_BCM57780) in bge_attach()
3476 if (BGE_IS_5700_FAMILY(sc) || sc->bge_asicrev == BGE_ASICREV_BCM5705) in bge_attach()
3489 if (BGE_IS_5755_PLUS(sc) || sc->bge_asicrev == BGE_ASICREV_BCM5906) in bge_attach()
3498 if (sc->bge_asicrev == BGE_ASICREV_BCM5719) in bge_attach()
3502 if (sc->bge_asicrev == BGE_ASICREV_BCM5705) { in bge_attach()
3509 if ((sc->bge_asicrev == BGE_ASICREV_BCM5703 && in bge_attach()
3511 (sc->bge_asicrev == BGE_ASICREV_BCM5705 && in bge_attach()
3523 sc->bge_asicrev == BGE_ASICREV_BCM5906) { in bge_attach()
3544 if (sc->bge_asicrev == BGE_ASICREV_BCM5719 && in bge_attach()
3575 if (sc->bge_asicrev == BGE_ASICREV_BCM5719 || in bge_attach()
3576 sc->bge_asicrev == BGE_ASICREV_BCM5720) in bge_attach()
3761 (sc->bge_asicrev != BGE_ASICREV_BCM5906)) { in bge_attach()
3793 sc->bge_asicrev != BGE_ASICREV_BCM5906 && in bge_attach()
3794 sc->bge_asicrev != BGE_ASICREV_BCM5785 && in bge_attach()
3795 sc->bge_asicrev != BGE_ASICREV_BCM57780 && in bge_attach()
3797 if (sc->bge_asicrev == BGE_ASICREV_BCM5755 || in bge_attach()
3798 sc->bge_asicrev == BGE_ASICREV_BCM5761 || in bge_attach()
3799 sc->bge_asicrev == BGE_ASICREV_BCM5784 || in bge_attach()
3800 sc->bge_asicrev == BGE_ASICREV_BCM5787) { in bge_attach()
3814 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 || in bge_attach()
3815 (sc->bge_asicrev == BGE_ASICREV_BCM5705 && in bge_attach()
3872 if (sc->bge_asicrev == BGE_ASICREV_BCM5701 && in bge_attach()
4012 (sc->bge_asicrev != BGE_ASICREV_BCM5906)) { in bge_reset()
4020 if (sc->bge_asicrev != BGE_ASICREV_BCM5700 && in bge_reset()
4021 sc->bge_asicrev != BGE_ASICREV_BCM5701) { in bge_reset()
4046 if (sc->bge_asicrev == BGE_ASICREV_BCM5752 || in bge_reset()
4064 if (sc->bge_asicrev != BGE_ASICREV_BCM5785 && in bge_reset()
4076 if (sc->bge_asicrev == BGE_ASICREV_BCM5906) { in bge_reset()
4147 if (sc->bge_asicrev == BGE_ASICREV_BCM5703) { in bge_reset()
4150 } else if (sc->bge_asicrev == BGE_ASICREV_BCM5704) { in bge_reset()
4186 if (sc->bge_asicrev == BGE_ASICREV_BCM5906) { in bge_reset()
4225 if (sc->bge_asicrev == BGE_ASICREV_BCM5704 && in bge_reset()
4236 sc->bge_asicrev != BGE_ASICREV_BCM5785) { in bge_reset()
4242 if (sc->bge_asicrev == BGE_ASICREV_BCM5720) in bge_reset()
4547 if ((sc->bge_asicrev == BGE_ASICREV_BCM5700 && in bge_poll()
4697 if ((sc->bge_asicrev == BGE_ASICREV_BCM5700 && in bge_intr()
4781 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 || in bge_tick()
4886 if (sc->bge_asicrev != BGE_ASICREV_BCM5717 && in bge_stats_update_regs()
4905 if (sc->bge_asicrev == BGE_ASICREV_BCM5719) in bge_stats_update_regs()
5243 if (sc->bge_asicrev == BGE_ASICREV_BCM5762 && in bge_encap()
5511 if (BGE_IS_5755_PLUS(sc) || sc->bge_asicrev == BGE_ASICREV_BCM5906) in bge_init_locked()
5513 if (sc->bge_asicrev == BGE_ASICREV_BCM5720 || in bge_init_locked()
5514 sc->bge_asicrev == BGE_ASICREV_BCM5762) { in bge_init_locked()
5527 if (sc->bge_asicrev == BGE_ASICREV_BCM5762) in bge_init_locked()
5623 if (sc->bge_asicrev == BGE_ASICREV_BCM5704) { in bge_ifmedia_upd_locked()
5673 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 || in bge_ifmedia_upd_locked()
6121 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 && in bge_link_upd()
6157 if (sc->bge_asicrev == BGE_ASICREV_BCM5704) { in bge_link_upd()
6183 sc->bge_asicrev == BGE_ASICREV_BCM5700) { in bge_link_upd()
6548 if (sc->bge_asicrev == BGE_ASICREV_BCM5700 && in bge_sysctl_debug_info()
6702 if (sc->bge_asicrev == BGE_ASICREV_BCM5906) in bge_get_eaddr_nvram()
6713 if (sc->bge_asicrev == BGE_ASICREV_BCM5906) in bge_get_eaddr_eeprom()