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:
parent
df5f1d1131
commit
2094130d52
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user