static void smsc_ircc_change_speed(void *priv, u32 speed) 
static void smsc_ircc_change_speed(struct smsc_ircc_cb *self, u32 speed) 
static void smsc_ircc_change_speed(void *priv, u32 speed){	struct smsc_ircc_cb *self = (struct smsc_ircc_cb *) priv;	struct net_device *dev;	int last_speed_was_sir;	IRDA_DEBUG(0, "%s() changing speed to: %d\n", __FUNCTION__, speed);	IRDA_ASSERT(self != NULL, return;);	dev = self->netdev;	last_speed_was_sir = self->io.speed <= SMSC_IRCC2_MAX_SIR_SPEED;	#if 0	/* Temp Hack */	speed= 1152000;	self->io.speed = speed;	last_speed_was_sir = 0;	smsc_ircc_fir_start(self);	#endif	if (self->io.speed == 0)		smsc_ircc_sir_start(self);	#if 0	if (!last_speed_was_sir) speed = self->io.speed;	#endif	if (self->io.speed != speed)		smsc_ircc_set_transceiver_for_speed(self, speed);	self->io.speed = speed;	if (speed <= SMSC_IRCC2_MAX_SIR_SPEED) {		if (!last_speed_was_sir) {			smsc_ircc_fir_stop(self);			smsc_ircc_sir_start(self);		}		smsc_ircc_set_sir_speed(self, speed);	} else {		if (last_speed_was_sir) {			#if SMSC_IRCC2_C_SIR_STOP			smsc_ircc_sir_stop(self);			#endif			smsc_ircc_fir_start(self);		}		smsc_ircc_set_fir_speed(self, speed);		#if 0		self->tx_buff.len = 10;		self->tx_buff.data = self->tx_buff.head;		smsc_ircc_dma_xmit(self, 4000);		#endif		/* Be ready for incoming frames */		smsc_ircc_dma_receive(self);	}	netif_wake_queue(dev);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/0fa2f491f0547ddb87fa3069afee3eda43b51057/smsc-ircc2.c/clean/drivers/net/irda/smsc-ircc2.c