(Phil) Made sure probing won't happen on the ISA bus for these SMBus/I2C

device drivers.  Specifically, I added these lines:

(in includes list)

#include "i2c-isa.h"


(Near beginning of *-attach-adapter function)

  /* Make sure we aren't probing the ISA bus!! */
  if (i2c_is_isa_adapter(adapter)) return 0;

This may be redundant is a couple of the files, but it shouldn't hurt.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@283 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Philip Edelbrock committed 1999-02-28 21:11:14 +00:00
1 parent 812e77a817
commit 7a9eb38752
5 files changed
+17 -1

No files matched your search

+4 -1
View File
@@ -24,6 +24,7 @@
#include "smbus.h"
#include "sensors.h"
#include "i2c.h"
#include "i2c-isa.h"
#include "version.h"
/* Many constants specified below */
@@ -130,7 +131,9 @@ int eeprom_attach_adapter(struct i2c_adapter *adapter)
struct eeprom_data *data;
err = 0;
/* Make sure we aren't probing the ISA bus!! */
if (i2c_is_isa_adapter(adapter)) return 0;
/* OK, this is no detection. I know. It will do for now, though. */
/* Set err only if a global error would make registering other clients