i2c_add_numbered_adapter(9) suse man page | unix.com

Man Page: i2c_add_numbered_adapter

Operating Environment: suse

Section: 9

I2C_ADD_NUMBERED_ADA(9) 				      I2C and SMBus Subsystem					   I2C_ADD_NUMBERED_ADA(9)

NAME
i2c_add_numbered_adapter - declare i2c adapter, use static bus number
SYNOPSIS
int i2c_add_numbered_adapter(struct i2c_adapter * adap);
ARGUMENTS
adap the adapter to register (with adap->nr initialized)
CONTEXT
can sleep
DESCRIPTION
This routine is used to declare an I2C adapter when its bus number matters. For example, use it for I2C adapters from system-on-chip CPUs, or otherwise built in to the system's mainboard, and where i2c_board_info is used to properly configure I2C devices. If no devices have pre-been declared for this bus, then be sure to register the adapter before any dynamically allocated ones. Otherwise the required bus ID may not be available. When this returns zero, the specified adapter became available for clients using the bus number provided in adap->nr. Also, the table of I2C devices pre-declared using i2c_register_board_info is scanned, and the appropriate driver model device nodes are created. Otherwise, a negative errno value is returned.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 I2C_ADD_NUMBERED_ADA(9)
Related Man Pages
smbus(7d) - sunos
i2c-stub-from-dump(8) - centos
i2cdetect(8) - debian
struct_i2c_board_info(9) - suse
smbus(7d) - opensolaris
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB