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
This commit is contained in:
njl 2007-06-24 20:35:59 +00:00
parent df5f1d1131
commit 2094130d52
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -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>