FreeBSD/sys/dev/qlxgb/qla_hw.c
/*
 * Name: qla_hw_set_multi
 * Function: Sets the Multicast Addresses provided the host O.S into the
 *	hardware (for the given interface)
 */
qla_hw_set_multi
Function: Sets the Multicast Addresses provided the host O.S into the
hardware (for the given interface)
qla_hw_set_multi Function : Sets the Multicast Addresses provided the host O . S into the hardware ( for the given interface )
void
qla_hw_set_multi(qla_host_t *ha, uint8_t *mta, uint32_t mcnt,
	uint32_t add_multi)
{
	q80_rcv_cntxt_rsp_t	*rsp;
	int i;
	rsp = ha->hw.rx_cntxt_rsp;
	for (i = 0; i < mcnt; i++) {
		qla_config_mac_addr(ha, mta, rsp->rx_rsp.cntxt_id, add_multi);
		mta += Q8_MAC_ADDR_LEN;
	}
	return;
}
void qla_hw_set_multi ( qla_host_t * ha , uint8_t * mta , uint32_t mcnt , uint32_t add_multi ) { q80_rcv_cntxt_rsp_t * rsp ; int i ; rsp = ha -> hw . rx_cntxt_rsp ; for ( i = 0 ; i < mcnt ; i ++ ) { qla_config_mac_addr ( ha , mta , rsp -> rx_rsp . cntxt_id , add_multi ) ; mta += Q8_MAC_ADDR_LEN ; } return ; }
Name: qla_hw_set_multi
 Function: Sets the Multicast Addresses provided the host O.S into the
      hardware (for the given interface)
Name : qla_hw_set_multi Function : Sets the Multicast Addresses provided the host O . S into the hardware ( for the given interface )