kernels/linux-2.4.0/drivers/net/tokenring/tms380tr.c
/*
 *  Reset the INTERRUPT SYSTEM bit and issue SSB CLEAR command.
 */
Reset the INTERRUPT SYSTEM bit and issue SSB CLEAR command.
Reset the INTERRUPT SYSTEM bit and issue SSB CLEAR command .
static void tms380tr_reset_interrupt(struct net_device *dev)
{
	struct net_local *tp = (struct net_local *)dev->priv;
	SSB *ssb = &tp->ssb;
	ssb->STS	= (unsigned short) -1;
	ssb->Parm[0] 	= (unsigned short) -1;
	ssb->Parm[1] 	= (unsigned short) -1;
	ssb->Parm[2] 	= (unsigned short) -1;
	tms380tr_exec_sifcmd(dev, CMD_SSB_CLEAR | CMD_CLEAR_SYSTEM_IRQ);
	return;
}
static void tms380tr_reset_interrupt ( struct net_device * dev ) { struct net_local * tp = ( struct net_local * ) dev -> priv ; SSB * ssb = & tp -> ssb ; ssb -> STS = ( unsigned short ) -1 ; ssb -> Parm [ 0 ] = ( unsigned short ) -1 ; ssb -> Parm [ 1 ] = ( unsigned short ) -1 ; ssb -> Parm [ 2 ] = ( unsigned short ) -1 ; tms380tr_exec_sifcmd ( dev , CMD_SSB_CLEAR | CMD_CLEAR_SYSTEM_IRQ ) ; return ; }
Reset the INTERRUPT SYSTEM bit and issue SSB CLEAR command.
Reset the INTERRUPT SYSTEM bit and issue SSB CLEAR command .
/*
	 * [Workaround for "Data Late"]
	 * Set all fields of the SSB to well-defined values so we can
	 * check if the adapter has written the SSB.
	 */ /* Free SSB by issuing SSB_CLEAR command after reading IRQ code
	 * and clear STS_SYSTEM_IRQ bit: enable adapter for further interrupts.
	 */