i2c device programming

Hello all,

I am developing a i2c device on the gumstix under 6.5.0. and the driver is supported already in the 650 release. Have been searching around but would appreciate your help in my problem. The i2c provides the set_slave_addr() function to specify the target slave address. But i have no ideas how to get the slave address. Thank you.

Eric