(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
View File
@@ -257,6 +257,10 @@ int lm80_attach_adapter(struct i2c_adapter *adapter)
/* OK, this is no detection. I know. It will do for now, though. */
err = 0;
/* Make sure we aren't probing the ISA bus!! */
if (i2c_is_isa_adapter(adapter)) return 0;
for (address = 0x20; (! err) && (address <= 0x2f); address ++) {
/* Later on, we will keep a list of registered addresses for each