Home
last modified time | relevance | path

Searched refs:dev_mc_address (Results 1 – 3 of 3) sorted by relevance

/drivers/net/tokenring/
Dolympic.c1143 unsigned char dev_mc_address[4] ; in olympic_set_rx_mode() local
1178 dev_mc_address[0] = dev_mc_address[1] = dev_mc_address[2] = dev_mc_address[3] = 0 ; in olympic_set_rx_mode()
1181 dev_mc_address[0] |= ha->addr[2]; in olympic_set_rx_mode()
1182 dev_mc_address[1] |= ha->addr[3]; in olympic_set_rx_mode()
1183 dev_mc_address[2] |= ha->addr[4]; in olympic_set_rx_mode()
1184 dev_mc_address[3] |= ha->addr[5]; in olympic_set_rx_mode()
1193 writeb(dev_mc_address[0],srb+6); in olympic_set_rx_mode()
1194 writeb(dev_mc_address[1],srb+7); in olympic_set_rx_mode()
1195 writeb(dev_mc_address[2],srb+8); in olympic_set_rx_mode()
1196 writeb(dev_mc_address[3],srb+9); in olympic_set_rx_mode()
Dlanstreamer.c1270 unsigned char dev_mc_address[5]; in streamer_set_rx_mode() local
1303 dev_mc_address[0] = dev_mc_address[1] = dev_mc_address[2] = dev_mc_address[3] = 0 ; in streamer_set_rx_mode()
1306 dev_mc_address[0] |= ha->addr[2]; in streamer_set_rx_mode()
1307 dev_mc_address[1] |= ha->addr[3]; in streamer_set_rx_mode()
1308 dev_mc_address[2] |= ha->addr[4]; in streamer_set_rx_mode()
1309 dev_mc_address[3] |= ha->addr[5]; in streamer_set_rx_mode()
1315 writew(htons( (dev_mc_address[0] << 8) | dev_mc_address[1]),streamer_mmio+LAPDINC); in streamer_set_rx_mode()
1316 writew(htons( (dev_mc_address[2] << 8) | dev_mc_address[3]),streamer_mmio+LAPDINC); in streamer_set_rx_mode()
D3c359.c1390 unsigned char dev_mc_address[4] ; in xl_set_rx_mode() local
1404 dev_mc_address[0] = dev_mc_address[1] = dev_mc_address[2] = dev_mc_address[3] = 0 ; in xl_set_rx_mode()
1407 dev_mc_address[0] |= ha->addr[2]; in xl_set_rx_mode()
1408 dev_mc_address[1] |= ha->addr[3]; in xl_set_rx_mode()
1409 dev_mc_address[2] |= ha->addr[4]; in xl_set_rx_mode()
1410 dev_mc_address[3] |= ha->addr[5]; in xl_set_rx_mode()
1413 …if (memcmp(xl_priv->xl_functional_addr,dev_mc_address,4) != 0) { /* Options have changed, run the … in xl_set_rx_mode()
1414 memcpy(xl_priv->xl_functional_addr, dev_mc_address,4) ; in xl_set_rx_mode()