Home
last modified time | relevance | path

Searched refs:mac_type (Results 1 – 25 of 25) sorted by relevance

/titanic_41/usr/src/grub/grub-0.97/netboot/
H A De1000.c149 ((a)->mac_type >= e1000_82543) ? \
154 ((a)->mac_type >= e1000_82543) ? \
159 ((a)->mac_type >= e1000_82543) ? \
164 ((a)->mac_type >= e1000_82543) ? \
344 if(hw->mac_type > e1000_82544) { in e1000_acquire_eeprom()
474 if(hw->mac_type > e1000_82544) { in e1000_release_eeprom()
658 if(((hw->mac_type == e1000_82546) || (hw->mac_type == e1000_82546_rev_3)) && in e1000_read_mac_addr()
772 if((hw->mac_type == e1000_82541) ||
773 (hw->mac_type == e1000_82547) ||
774 (hw->mac_type == e1000_82541_rev_2) ||
[all …]
H A De1000_hw.h893 e1000_mac_type mac_type; member
/titanic_41/usr/src/stand/lib/inet/
H A Dmac.c57 struct mac_type mac_state;
164 mac_state.mac_type = IFT_ATM; in mac_init()
189 mac_state.mac_type = IFT_FDDI; in mac_init()
213 mac_state.mac_type = IFT_ISO88025; in mac_init()
233 mac_state.mac_type = IFT_IB; in mac_init()
240 mac_state.mac_type = IFT_ETHER; in mac_init()
383 return (mac_state.mac_type); in mac_get_type()
H A Dmac_impl.h41 struct mac_type { struct
42 int mac_type; /* if_types.h */ argument
H A Dmac.h52 extern struct mac_type mac_state; /* in mac.c */
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c156 for (interface = &INTERFACES[0]; interface->mac_type != -1; interface++) in open_datalink()
157 if (interface->mac_type == dlinfo.di_mactype) in open_datalink()
161 if (interface->mac_type == -1) { in open_datalink()
653 for (interface = &INTERFACES[0]; interface->mac_type != -1; in cap_open_read()
655 if (interface->mac_type == device_mac_type) in cap_open_read()
658 if (interface->mac_type == -1) in cap_open_read()
705 mac = htonl(interface->mac_type); in cap_write()
H A Dsnoop_filter.c942 switch (interface->mac_type) { in want_packet()
1434 switch (interface->mac_type) { in comparison()
1455 generate_check(match_types, i, interface->mac_type); in comparison()
1813 switch (interface->mac_type) { in etheraddr_match()
1900 if (interface->mac_type == DL_ETHER || in ethertype_match()
1901 interface->mac_type == DL_CSMACD) { in ethertype_match()
1915 if (interface->mac_type == DL_ETHER || in ethertype_match()
1916 interface->mac_type == DL_CSMACD) { in ethertype_match()
2215 if (interface->mac_type == DL_IB) in primary()
2227 if (interface->mac_type == DL_FDDI) { in primary()
[all …]
H A Dsnoop_pf.c1038 if ((interface->mac_type == DL_ETHER || in pf_check_vlan_tag()
1039 interface->mac_type == DL_CSMACD) && in pf_check_vlan_tag()
1554 if (interface->mac_type == DL_ETHER) {
1566 if (interface->mac_type == DL_IB) {
1577 if (interface->mac_type == DL_IPNET) {
H A Dsnoop.h294 uint_t mac_type; member
/titanic_41/usr/src/uts/common/io/chxge/com/
H A Despi.c263 int t1_espi_init(struct peespi *espi, int mac_type, int nports) in t1_espi_init() argument
280 if (mac_type == CHBT_MAC_PM3393) in t1_espi_init()
282 else if (mac_type == CHBT_MAC_VSC7321) in t1_espi_init()
284 else if (mac_type == CHBT_MAC_IXF1010) { in t1_espi_init()
H A Despi.h46 int t1_espi_init(struct peespi *espi, int mac_type, int nports);
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_phy.c806 pdev->vars.mac_type = MAC_TYPE_NONE; in lm_reset_link()
902 pdev->vars.mac_type = pdev->vars.link.mac_type; in lm_link_report()
903 DbgBreakIf(pdev->vars.mac_type >= MAC_TYPE_MAX); in lm_link_report()
924 pdev->vars.mac_type = MAC_TYPE_NONE; in lm_link_report()
H A Dlm_stats.c623 if (HAS_MSTAT(pdev) || (pdev->vars.mac_type == MAC_TYPE_BMAC)) in lm_stats_get_dmae_operation()
627 else if(pdev->vars.mac_type == MAC_TYPE_EMAC) in lm_stats_get_dmae_operation()
633 … DbgBreakIf((pdev->vars.mac_type != MAC_TYPE_EMAC) && (pdev->vars.mac_type != MAC_TYPE_BMAC)); in lm_stats_get_dmae_operation()
744 if( MAC_TYPE_NONE == pdev->vars.mac_type ) in lm_stats_on_update_state()
802 switch( pdev->vars.mac_type ) in lm_stats_on_link_update()
2527 else if (CHIP_IS_E2(pdev) && (pdev->vars.mac_type == MAC_TYPE_BMAC)) in lm_stats_hw_assign()
2531 else if (pdev->vars.mac_type == MAC_TYPE_BMAC) in lm_stats_hw_assign()
2535 else if(pdev->vars.mac_type == MAC_TYPE_EMAC) in lm_stats_hw_assign()
2541 …DbgBreakIf((pdev->vars.mac_type != MAC_TYPE_EMAC) && (pdev->vars.mac_type == MAC_TYPE_BMAC) && !HA… in lm_stats_hw_assign()
3310 switch( pdev->vars.mac_type ) in lm_stats_port_to_from()
H A Dlm_resc.c2468 pdev->vars.mac_type = MAC_TYPE_NONE; in lm_setup_resc()
H A Dlm_dcbx.c3642 if(pdev->vars.mac_type == MAC_TYPE_EMAC) in lm_dcbx_read_params()
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsockmod_pfp.c387 if (mac_type(ps->ps_mh) == DL_ETHER && in pfp_packet()
1036 ifreq.ifr_addr.sa_family = pfp_dl_to_arphrd(mac_type(mh)); in sdpfp_ioctl()
1056 sock->sdl_type = mac_type(mh); in sdpfp_ioctl()
/titanic_41/usr/src/uts/common/sys/
H A Dmac.h623 extern int mac_type(mac_handle_t);
H A Dgldpriv.h246 uint_t mac_type; member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dclc.h476 u8 mac_type; member
/titanic_41/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c1595 if (vars->mac_type == ELINK_MAC_TYPE_EMAC) { in elink_pfc_statistic()
1837 vars->mac_type = ELINK_MAC_TYPE_UMAC; in elink_umac_enable()
1997 vars->mac_type = ELINK_MAC_TYPE_XMAC; in elink_xmac_enable()
2174 vars->mac_type = ELINK_MAC_TYPE_EMAC; in elink_emac_enable()
2483 if (vars->mac_type == ELINK_MAC_TYPE_XMAC) in elink_update_pfc()
2702 vars->mac_type = ELINK_MAC_TYPE_BMAC; in elink_bmac_enable()
5405 vars->mac_type = ELINK_MAC_TYPE_XMAC; in elink_sync_link()
5407 vars->mac_type = ELINK_MAC_TYPE_BMAC; in elink_sync_link()
5410 vars->mac_type = ELINK_MAC_TYPE_UMAC; in elink_sync_link()
5412 vars->mac_type = ELINK_MAC_TYPE_EMAC; in elink_sync_link()
[all …]
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_arp.c64 static arp_m_t *arp_m_lookup(t_uscalar_t mac_type);
347 arp_m_lookup(t_uscalar_t mac_type) in arp_m_lookup() argument
352 if (arm->arp_mac_type == mac_type) in arp_m_lookup()
H A Dip_if.c130 static ip_m_t *ip_m_lookup(t_uscalar_t mac_type);
5337 ip_m_lookup(t_uscalar_t mac_type) in ip_m_lookup() argument
5342 if (ipm->ip_m_mac_type == mac_type) in ip_m_lookup()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h2204 mac_type_t mac_type; member
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_client.c454 mac_type(mac_handle_t mh) in mac_type() function
/titanic_41/usr/src/uts/common/io/
H A Dgld.c629 if (mediatype != interfaces[i].mac_type) in gld_register()