chan->adapter.id		= I2C_ALGO_RIVA; 
chan->adapter.id		= I2C_HW_B_RIVA; 
static int riva_setup_i2c_bus(struct riva_i2c_chan *chan, const char *name){	int rc;	strcpy(chan->adapter.name, name);	chan->adapter.owner		= THIS_MODULE;	chan->adapter.id		= I2C_ALGO_RIVA;	chan->adapter.algo_data		= &chan->algo;	chan->adapter.dev.parent	= &chan->par->pdev->dev;	chan->algo.setsda		= riva_gpio_setsda;	chan->algo.setscl		= riva_gpio_setscl;	chan->algo.getsda		= riva_gpio_getsda;	chan->algo.getscl		= riva_gpio_getscl;	chan->algo.udelay		= 40;	chan->algo.timeout		= msecs_to_jiffies(2);	chan->algo.data 		= chan;	i2c_set_adapdata(&chan->adapter, chan);	/* Raise SCL and SDA */	riva_gpio_setsda(chan, 1);	riva_gpio_setscl(chan, 1);	udelay(20);	rc = i2c_bit_add_bus(&chan->adapter);	if (rc == 0)		dev_dbg(&chan->par->pdev->dev, "I2C bus %s registered.\n", name);	else {		dev_warn(&chan->par->pdev->dev,			 "Failed to register I2C bus %s.\n", name);		chan->par = NULL;	}	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1684a984303abbfc39aa8b59b0fe825c717811a9/rivafb-i2c.c/buggy/drivers/video/riva/rivafb-i2c.c