Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Config problem - invalid device name



Having scanned my i2c bus (by removing the '#ifdef notyet' in src/sys/dev/i2c/i2c.c) I discovered a device responding at I2C address 0x2e. This appears to correspond to the ADT 7463.

{102} grep ADDR *.h | grep '2[eE]'
adt7463reg.h:#define ADT7463_ADDR3                      0x2E
{103}

Looking through src/sys/dev/i2c/files.i2c I find:

# Analog Devices ADT 7463 thermal monitor / fan controller
define adt7463c {}
device adt7463c: sysmon_envsys
attach adt7463c at iic
file dev/i2c/adt7463.c                  adt7463c

But when I add 'adt7463c at iic0' to my kernel config file:

{106} grep -n adt /build/src/sys/arch/amd64/conf/SPEEDY
265:adt7463c    at iic1 addr 0x2e
{107}

config(1) reports an error:

cd /build/src/sys/arch/amd64/conf && /build/tools/x86_64/amd64/bin/nbconfig -s /build/src/sys -b /build/obj/amd64/sys/arch/amd64/compile/SPEEDY SPEEDY
SPEEDY:265: invalid device name `adt7463c'
*** Stop.
*** Error code 1


What am I doing wrong?


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index