FreeBSD/sys/dev/cxgb/common/cxgb_t3_hw.c
void t3_port_intr_clear(adapter_t *adapter, int idx)
{
	struct port_info *pi = adap2pinfo(adapter, idx);

	t3_write_reg(adapter, A_XGM_INT_CAUSE + pi->mac.offset, 0xffffffff);
	pi->phy.ops->intr_clear(&pi->phy);
}
/**
 *	t3_port_intr_clear - clear port-specific interrupts
 *	@adapter: associated adapter
 *	@idx: index of port whose interrupts to clear
 *
 *	Clear port-specific (i.e., MAC and PHY) interrupts for the given
 *	adapter port.
 */
clear port-specific interrupts
@adapter: associated adapter
@idx: index of port whose interrupts to clear

Clear port-specific  interrupts for the given
adapter port.
clear port - specific interrupts @adapter : associated adapter @idx : index of port whose interrupts to clear Clear port - specific interrupts for the given adapter port .
void t3_port_intr_clear(adapter_t *adapter, int idx)
{
	struct port_info *pi = adap2pinfo(adapter, idx);
	t3_write_reg(adapter, A_XGM_INT_CAUSE + pi->mac.offset, 0xffffffff);
	pi->phy.ops->intr_clear(&pi->phy);
}
void t3_port_intr_clear ( adapter_t * adapter , int idx ) { struct port_info * pi = adap2pinfo ( adapter , idx ) ; t3_write_reg ( adapter , A_XGM_INT_CAUSE + pi -> mac . offset , 0xffffffff ) ; pi -> phy . ops -> intr_clear ( & pi -> phy ) ; }
t3_port_intr_clear - clear port-specific interrupts
      @adapter: associated adapter
      @idx: index of port whose interrupts to clear
t3_port_intr_clear - clear port - specific interrupts @adapter : associated adapter @idx : index of port whose interrupts to clear