diff options
author | joerg <joerg@FreeBSD.org> | 2005-10-28 15:58:19 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2005-10-28 15:58:19 +0000 |
commit | df94bb0494e53a685b211e2231a893204f622fe7 (patch) | |
tree | f620c669980e35963302d54fbd7963506d865867 /sys/modules/i2c | |
parent | c889c4ea8c5e98777a6ceb36702f701eb266d0b6 (diff) | |
download | FreeBSD-src-df94bb0494e53a685b211e2231a893204f622fe7.zip FreeBSD-src-df94bb0494e53a685b211e2231a893204f622fe7.tar.gz |
Finally complete some work on generalizing the PCF8584-based I2C
drivers I started quite some time before.
Retire the old i386-only pcf driver, and activate the new general
driver that has been sitting in the tree already for quite some
time.
Build the i2c modules for sparc64 architectures as well (where I've
been developing all this on).
Diffstat (limited to 'sys/modules/i2c')
-rw-r--r-- | sys/modules/i2c/controllers/pcf/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/modules/i2c/controllers/pcf/Makefile b/sys/modules/i2c/controllers/pcf/Makefile index 42d3ade..7227bec 100644 --- a/sys/modules/i2c/controllers/pcf/Makefile +++ b/sys/modules/i2c/controllers/pcf/Makefile @@ -1,8 +1,17 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../i386/isa +.PATH: ${.CURDIR}/../../../../dev/pcf KMOD = pcf SRCS = device_if.h bus_if.h iicbus_if.h isa_if.h \ pcf.c +.if ${MACHINE_ARCH} != "sparc64" +SRCS += pcf_isa.c +.endif + +.if ${MACHINE_ARCH} == "sparc64" +SRCS += envctrl.c +SRCS += pcf_ebus.c +.endif + .include <bsd.kmod.mk> |