Home
last modified time | relevance | path

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

12345678910>>...23

/linux-3.4.99/drivers/net/wireless/zd1211rw/
Dzd_mac.c138 static void housekeeping_init(struct zd_mac *mac);
139 static void housekeeping_enable(struct zd_mac *mac);
140 static void housekeeping_disable(struct zd_mac *mac);
141 static void beacon_init(struct zd_mac *mac);
142 static void beacon_enable(struct zd_mac *mac);
143 static void beacon_disable(struct zd_mac *mac);
144 static void set_rts_cts(struct zd_mac *mac, unsigned int short_preamble);
165 struct zd_mac *mac = zd_hw_mac(hw); in zd_check_signal() local
167 dev_dbg_f_cond(zd_mac_dev(mac), signal < 0 || signal > 100, in zd_check_signal()
183 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_preinit_hw() local
[all …]
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c41 static inline int macidx(const struct cmac *mac) in macidx() argument
43 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR); in macidx()
46 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset() argument
54 struct adapter *adap = mac->adapter; in xaui_serdes_reset()
55 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset; in xaui_serdes_reset()
57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset()
70 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset() argument
72 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, in t3b_pcs_reset()
75 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, 0, in t3b_pcs_reset()
79 int t3_mac_reset(struct cmac *mac) in t3_mac_reset() argument
[all …]
/linux-3.4.99/drivers/net/ethernet/pasemi/
Dpasemi_mac.c101 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) in read_mac_reg() argument
103 return pasemi_read_mac_reg(mac->dma_if, reg); in read_mac_reg()
106 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg() argument
109 pasemi_write_mac_reg(mac->dma_if, reg, val); in write_mac_reg()
122 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring() argument
124 return mac->rx; in rx_ring()
127 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring() argument
129 return mac->tx; in tx_ring()
142 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf() argument
144 struct pci_dev *pdev = mac->pdev; in mac_to_intf()
[all …]
Dpasemi_mac_ethtool.c71 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_settings() local
72 struct phy_device *phydev = mac->phydev; in pasemi_mac_ethtool_get_settings()
84 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_set_settings() local
85 struct phy_device *phydev = mac->phydev; in pasemi_mac_ethtool_set_settings()
96 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_msglevel() local
97 return mac->msg_enable; in pasemi_mac_ethtool_get_msglevel()
104 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_set_msglevel() local
105 mac->msg_enable = level; in pasemi_mac_ethtool_set_msglevel()
113 struct pasemi_mac *mac = netdev_priv(netdev); in pasemi_mac_ethtool_get_ringparam() local
116 ering->tx_pending = RING_USED(mac->tx)/2; in pasemi_mac_ethtool_get_ringparam()
[all …]
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c362 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler() argument
367 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() argument
372 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() argument
377 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() argument
383 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address() argument
386 int port = mac->instance->index; in mac_set_address()
388 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port), in mac_set_address()
390 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port), in mac_set_address()
393 vsc_read(mac->adapter, REG_ING_FFILT_UM_EN, &val); in mac_set_address()
395 vsc_write(mac->adapter, REG_ING_FFILT_UM_EN, val | (port << 28)); in mac_set_address()
[all …]
Dpm3393.c434 #define RMON_UPDATE(mac, name, stat_name) \ argument
436 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \
437 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \
438 t1_tpi_read((mac)->adapter, OFFSET((name)+2), &val2); \
439 (mac)->stats.stat_name = (u64)(val0 & 0xffff) | \
442 ((mac)->stats.stat_name & \
446 (mac)->stats.stat_name += 1ULL << 40; \
449 static const struct cmac_statistics *pm3393_update_statistics(struct cmac *mac, in pm3393_update_statistics() argument
456 pmwrite(mac, SUNI1x10GEXP_REG_MSTAT_CONTROL, in pm3393_update_statistics()
460 pmread(mac, SUNI1x10GEXP_REG_MSTAT_COUNTER_ROLLOVER_0, &val0); in pm3393_update_statistics()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dmac.c41 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() local
58 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie()
146 e1000e_rar_set(hw, hw->mac.addr, 0); in e1000e_init_rx_addrs()
178 if (hw->mac.type == e1000_82573) in e1000_check_alt_mac_addr_generic()
274 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr()
309 switch (hw->mac.mc_filter_type) { in e1000_hash_mc_addr()
346 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); in e1000e_update_mc_addr_list_generic()
352 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in e1000e_update_mc_addr_list_generic()
355 hw->mac.mta_shadow[hash_reg] |= (1 << hash_bit); in e1000e_update_mc_addr_list_generic()
360 for (i = hw->mac.mta_reg_count - 1; i >= 0; i--) in e1000e_update_mc_addr_list_generic()
[all …]
D82571.c105 switch (hw->mac.type) { in e1000_init_phy_params_82571()
134 switch (hw->mac.type) { in e1000_init_phy_params_82571()
187 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
221 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
240 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local
251 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
253 mac->ops.check_for_link = e1000e_check_for_fiber_link; in e1000_init_mac_params_82571()
254 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
262 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
264 mac->ops.check_for_link = e1000_check_for_serdes_link_82571; in e1000_init_mac_params_82571()
[all …]
Dich8lan.c342 if ((hw->mac.type == e1000_pch2lan) && in e1000_init_phy_params_pchlan()
357 if ((hw->mac.type == e1000_pch2lan) && in e1000_init_phy_params_pchlan()
365 switch (hw->mac.type) { in e1000_init_phy_params_pchlan()
557 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_ich8lan() local
563 mac->mta_reg_count = 32; in e1000_init_mac_params_ich8lan()
565 mac->rar_entry_count = E1000_ICH_RAR_ENTRIES; in e1000_init_mac_params_ich8lan()
566 if (mac->type == e1000_ich8lan) in e1000_init_mac_params_ich8lan()
567 mac->rar_entry_count--; in e1000_init_mac_params_ich8lan()
569 mac->has_fwsm = true; in e1000_init_mac_params_ich8lan()
571 mac->arc_subsystem_valid = false; in e1000_init_mac_params_ich8lan()
[all …]
Dmanage.c81 if (!hw->mac.arc_subsystem_valid) { in e1000_mng_enable_host_if()
138 hw->mac.tx_pkt_filtering = true; in e1000e_enable_tx_pkt_filtering()
141 if (!hw->mac.ops.check_mng_mode(hw)) { in e1000e_enable_tx_pkt_filtering()
142 hw->mac.tx_pkt_filtering = false; in e1000e_enable_tx_pkt_filtering()
143 return hw->mac.tx_pkt_filtering; in e1000e_enable_tx_pkt_filtering()
152 hw->mac.tx_pkt_filtering = false; in e1000e_enable_tx_pkt_filtering()
153 return hw->mac.tx_pkt_filtering; in e1000e_enable_tx_pkt_filtering()
172 hw->mac.tx_pkt_filtering = true; in e1000e_enable_tx_pkt_filtering()
173 return hw->mac.tx_pkt_filtering; in e1000e_enable_tx_pkt_filtering()
178 hw->mac.tx_pkt_filtering = false; in e1000e_enable_tx_pkt_filtering()
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/
Dcore.c100 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local
114 mac->link_state = MAC80211_NOLINK; in rtl_op_stop()
115 memset(mac->bssid, 0, 6); in rtl_op_stop()
116 mac->vendor = PEER_UNKNOWN; in rtl_op_stop()
154 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local
159 if (mac->vif) { in rtl_op_add_interface()
161 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface()
170 if (mac->beacon_enabled == 1) { in rtl_op_add_interface()
173 mac->beacon_enabled = 0; in rtl_op_add_interface()
178 mac->link_state = MAC80211_LINKED; in rtl_op_add_interface()
[all …]
Dps.c173 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_ips_nic_off_wq_callback() local
177 if (mac->opmode != NL80211_IFTYPE_STATION) { in rtl_ips_nic_off_wq_callback()
183 if (mac->link_state > MAC80211_NOLINK) in rtl_ips_nic_off_wq_callback()
207 (mac->link_state == MAC80211_NOLINK) && in rtl_ips_nic_off_wq_callback()
208 !mac->act_scanning) { in rtl_ips_nic_off_wq_callback()
237 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_ips_nic_on() local
242 if (mac->opmode != NL80211_IFTYPE_STATION) in rtl_ips_nic_on()
274 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_get_fwlps_doze() local
287 if (mac->link_state != MAC80211_LINKED) in rtl_get_fwlps_doze()
290 if (mac->opmode == NL80211_IFTYPE_ADHOC) in rtl_get_fwlps_doze()
[all …]
Dbase.c474 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_init_rx_config() local
476 rtlpriv->cfg->ops->get_hw_reg(hw, HW_VAR_RCR, (u8 *) (&mac->rx_conf)); in rtl_init_rx_config()
507 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in _rtl_query_shortgi() local
524 if (mac->opmode == NL80211_IFTYPE_STATION) in _rtl_query_shortgi()
525 bw_40 = mac->bw_40; in _rtl_query_shortgi()
526 else if (mac->opmode == NL80211_IFTYPE_AP || in _rtl_query_shortgi()
527 mac->opmode == NL80211_IFTYPE_ADHOC) in _rtl_query_shortgi()
571 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in _rtl_txrate_selectmode() local
580 if (mac->opmode == NL80211_IFTYPE_STATION) { in _rtl_txrate_selectmode()
582 } else if (mac->opmode == NL80211_IFTYPE_ADHOC) { in _rtl_txrate_selectmode()
[all …]
/linux-3.4.99/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c333 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
336 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options()
337 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options()
342 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
345 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options()
346 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options()
351 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
355 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options()
356 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options()
361 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
[all …]
/linux-3.4.99/drivers/net/ethernet/xscale/ixp2000/
Dpm3386.c95 u8 mac[3][6]; in pm3386_reset() local
101 pm3386_get_mac(0, mac[0]); in pm3386_reset()
102 pm3386_get_mac(1, mac[1]); in pm3386_reset()
104 pm3386_get_mac(2, mac[2]); in pm3386_reset()
125 pm3386_set_mac(0, mac[0]); in pm3386_reset()
126 pm3386_set_mac(1, mac[1]); in pm3386_reset()
128 pm3386_set_mac(2, mac[2]); in pm3386_reset()
248 void pm3386_get_mac(int port, u8 *mac) in pm3386_get_mac() argument
253 mac[0] = temp & 0xff; in pm3386_get_mac()
254 mac[1] = (temp >> 8) & 0xff; in pm3386_get_mac()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/igbvf/
Dvf.c49 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_vf() local
52 mac->mta_reg_count = 128; in e1000_init_mac_params_vf()
54 mac->rar_entry_count = 1; in e1000_init_mac_params_vf()
58 mac->ops.reset_hw = e1000_reset_hw_vf; in e1000_init_mac_params_vf()
60 mac->ops.init_hw = e1000_init_hw_vf; in e1000_init_mac_params_vf()
62 mac->ops.check_for_link = e1000_check_for_link_vf; in e1000_init_mac_params_vf()
64 mac->ops.get_link_up_info = e1000_get_link_up_info_vf; in e1000_init_mac_params_vf()
66 mac->ops.update_mc_addr_list = e1000_update_mc_addr_list_vf; in e1000_init_mac_params_vf()
68 mac->ops.rar_set = e1000_rar_set_vf; in e1000_init_mac_params_vf()
70 mac->ops.read_mac_addr = e1000_read_mac_addr_vf; in e1000_init_mac_params_vf()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x540.c56 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X540() local
61 mac->mcft_size = IXGBE_X540_MC_TBL_SIZE; in ixgbe_get_invariants_X540()
62 mac->vft_size = IXGBE_X540_VFT_TBL_SIZE; in ixgbe_get_invariants_X540()
63 mac->num_rar_entries = IXGBE_X540_RAR_ENTRIES; in ixgbe_get_invariants_X540()
64 mac->max_rx_queues = IXGBE_X540_MAX_RX_QUEUES; in ixgbe_get_invariants_X540()
65 mac->max_tx_queues = IXGBE_X540_MAX_TX_QUEUES; in ixgbe_get_invariants_X540()
66 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_generic(hw); in ixgbe_get_invariants_X540()
100 status = hw->mac.ops.stop_adapter(hw); in ixgbe_reset_hw_X540()
132 if (hw->mac.flags & IXGBE_FLAGS_DOUBLE_RESET_REQUIRED) { in ixgbe_reset_hw_X540()
133 hw->mac.flags &= ~IXGBE_FLAGS_DOUBLE_RESET_REQUIRED; in ixgbe_reset_hw_X540()
[all …]
Dixgbe_82599.c69 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() local
72 if (mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) { in ixgbe_init_mac_link_ops_82599()
73 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599()
75 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599()
77 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
79 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
80 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
81 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599()
86 mac->ops.setup_link = &ixgbe_setup_mac_link_multispeed_fiber; in ixgbe_init_mac_link_ops_82599()
88 if ((mac->ops.get_media_type(hw) == in ixgbe_init_mac_link_ops_82599()
[all …]
Dixgbe_82598.c119 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_82598() local
124 mac->mcft_size = IXGBE_82598_MC_TBL_SIZE; in ixgbe_get_invariants_82598()
125 mac->vft_size = IXGBE_82598_VFT_TBL_SIZE; in ixgbe_get_invariants_82598()
126 mac->num_rar_entries = IXGBE_82598_RAR_ENTRIES; in ixgbe_get_invariants_82598()
127 mac->max_rx_queues = IXGBE_82598_MAX_RX_QUEUES; in ixgbe_get_invariants_82598()
128 mac->max_tx_queues = IXGBE_82598_MAX_TX_QUEUES; in ixgbe_get_invariants_82598()
129 mac->max_msix_vectors = ixgbe_get_pcie_msix_count_82598(hw); in ixgbe_get_invariants_82598()
145 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_phy_ops_82598() local
154 if (mac->ops.get_media_type(hw) == ixgbe_media_type_copper) { in ixgbe_init_phy_ops_82598()
155 mac->ops.setup_link = &ixgbe_setup_copper_link_82598; in ixgbe_init_phy_ops_82598()
[all …]
/linux-3.4.99/drivers/net/ethernet/intel/igb/
De1000_mac.c181 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in igb_init_rx_addrs()
186 hw->mac.ops.rar_set(hw, mac_addr, i); in igb_init_rx_addrs()
217 if (hw->mac.type == e1000_i350) in igb_vfta_set()
248 if (hw->mac.type >= e1000_82580) in igb_check_alt_mac_addr()
293 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in igb_check_alt_mac_addr()
361 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set()
387 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in igb_hash_mc_addr()
422 switch (hw->mac.mc_filter_type) { in igb_hash_mc_addr()
459 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); in igb_update_mc_addr_list()
465 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list()
[all …]
/linux-3.4.99/drivers/media/dvb/b2c2/
Dflexcop-eeprom.c61 static char eeprom_set_mac_addr(struct adapter *adapter, char type, u8 *mac)
66 tmp[0] = mac[0];
67 tmp[1] = mac[1];
68 tmp[2] = mac[2];
69 tmp[3] = mac[5];
70 tmp[4] = mac[6];
71 tmp[5] = mac[7];
73 tmp[0] = mac[0];
74 tmp[1] = mac[1];
75 tmp[2] = mac[2];
[all …]
/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/
Ddwmac100_core.c175 struct mac_device_info *mac; in dwmac100_setup() local
177 mac = kzalloc(sizeof(const struct mac_device_info), GFP_KERNEL); in dwmac100_setup()
178 if (!mac) in dwmac100_setup()
183 mac->mac = &dwmac100_ops; in dwmac100_setup()
184 mac->dma = &dwmac100_dma_ops; in dwmac100_setup()
186 mac->link.port = MAC_CONTROL_PS; in dwmac100_setup()
187 mac->link.duplex = MAC_CONTROL_F; in dwmac100_setup()
188 mac->link.speed = 0; in dwmac100_setup()
189 mac->mii.addr = MAC_MII_ADDR; in dwmac100_setup()
190 mac->mii.data = MAC_MII_DATA; in dwmac100_setup()
[all …]
Ddwmac1000_core.c226 struct mac_device_info *mac; in dwmac1000_setup() local
229 mac = kzalloc(sizeof(const struct mac_device_info), GFP_KERNEL); in dwmac1000_setup()
230 if (!mac) in dwmac1000_setup()
233 mac->mac = &dwmac1000_ops; in dwmac1000_setup()
234 mac->dma = &dwmac1000_dma_ops; in dwmac1000_setup()
236 mac->link.port = GMAC_CONTROL_PS; in dwmac1000_setup()
237 mac->link.duplex = GMAC_CONTROL_DM; in dwmac1000_setup()
238 mac->link.speed = GMAC_CONTROL_FES; in dwmac1000_setup()
239 mac->mii.addr = GMAC_MII_ADDR; in dwmac1000_setup()
240 mac->mii.data = GMAC_MII_DATA; in dwmac1000_setup()
[all …]
/linux-3.4.99/include/scsi/fc/
Dfc_fcoe.h98 static inline void fc_fcoe_set_mac(u8 *mac, u8 *did) in fc_fcoe_set_mac() argument
100 mac[0] = (u8) (FC_FCOE_OUI >> 16); in fc_fcoe_set_mac()
101 mac[1] = (u8) (FC_FCOE_OUI >> 8); in fc_fcoe_set_mac()
102 mac[2] = (u8) FC_FCOE_OUI; in fc_fcoe_set_mac()
103 mac[3] = did[0]; in fc_fcoe_set_mac()
104 mac[4] = did[1]; in fc_fcoe_set_mac()
105 mac[5] = did[2]; in fc_fcoe_set_mac()
/linux-3.4.99/drivers/staging/rtl8712/
Dusb_intf.c427 u8 mac[6]; in r871xu_drv_init() local
482 mac[jj] = in r871xu_drv_init()
489 memcpy(mac, &pdata[0x12], ETH_ALEN); in r871xu_drv_init()
582 if (((mac[0] == 0xff) && (mac[1] == 0xff) && in r871xu_drv_init()
583 (mac[2] == 0xff) && (mac[3] == 0xff) && in r871xu_drv_init()
584 (mac[4] == 0xff) && (mac[5] == 0xff)) || in r871xu_drv_init()
585 ((mac[0] == 0x00) && (mac[1] == 0x00) && in r871xu_drv_init()
586 (mac[2] == 0x00) && (mac[3] == 0x00) && in r871xu_drv_init()
587 (mac[4] == 0x00) && (mac[5] == 0x00)) || in r871xu_drv_init()
589 mac[0] = 0x00; in r871xu_drv_init()
[all …]

12345678910>>...23