summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2007-06-24 20:35:59 +0000
committernjl <njl@FreeBSD.org>2007-06-24 20:35:59 +0000
commit2094130d5230dbbc8c4522e3ccc9023b66b5648d (patch)
treeb09f67b9f606275992c8aad93df622acad52b484 /sys/modules
parentdf5f1d1131ab85b05de1decde7a4764b0c8ebf5b (diff)
downloadFreeBSD-src-2094130d5230dbbc8c4522e3ccc9023b66b5648d.zip
FreeBSD-src-2094130d5230dbbc8c4522e3ccc9023b66b5648d.tar.gz
The viapm module build had what appear to be some debugging CFLAGS left
around to force the IO port to a fixed address. They were only turned on in the module build and were present since the original import. This breaks soft power-off on the Asus A7V since it reprograms the SMBus base address to a different one than the BIOS expects. A similar issue was found in the alpm(4) module build. PR: kern/113986, i386/97468 MFC after: 3 days Approved by: re
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/i2c/controllers/alpm/Makefile1
-rw-r--r--sys/modules/i2c/controllers/viapm/Makefile1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/modules/i2c/controllers/alpm/Makefile b/sys/modules/i2c/controllers/alpm/Makefile
index 5429b9c..885b983 100644
--- a/sys/modules/i2c/controllers/alpm/Makefile
+++ b/sys/modules/i2c/controllers/alpm/Makefile
@@ -2,7 +2,6 @@
.PATH: ${.CURDIR}/../../../../pci
KMOD = alpm
-CFLAGS += -DALPM_SMBIO_BASE_ADDR=0xbc00
SRCS = device_if.h bus_if.h iicbus_if.h smbus_if.h pci_if.h \
alpm.c
diff --git a/sys/modules/i2c/controllers/viapm/Makefile b/sys/modules/i2c/controllers/viapm/Makefile
index 03c0738..3710030 100644
--- a/sys/modules/i2c/controllers/viapm/Makefile
+++ b/sys/modules/i2c/controllers/viapm/Makefile
@@ -4,6 +4,5 @@
KMOD = viapm
SRCS = device_if.h bus_if.h iicbb_if.h isa_if.h pci_if.h smbus_if.h \
opt_isa.h viapm.c
-CFLAGS += -DVIAPM_BASE_ADDR=0x6000
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud