`functionality' checking for clients implemented

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@584 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-09-27 14:19:46 +00:00
1 parent e9ac105d87
commit 9d88e65c71
16 files changed
+58 -5

No files matched your search

+3
View File
@@ -313,6 +313,9 @@ int lm78_detect(struct i2c_adapter *adapter, int address, int kind)
const char *client_name = "";
int is_isa = i2c_is_isa_adapter(adapter);
if (!is_isa && ! i2c_check_functionality(adapter,I2C_FUNC_SMBUS_BYTE_DATA))
goto ERROR0;
/* We need address registration for the I2C bus too. That is not yet
implemented. */
if (is_isa) {