tpwireless requires machdep.allowaperture=1 or running before securelevel
is set (e.g. in single-user mode)
This commit is contained in:
parent
294b29387c
commit
b8f3015708
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2019/07/12 20:47:54 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2019/09/12 13:42:45 sthen Exp $
|
||||
|
||||
COMMENT= Set IBM Thinkpad BIOS bit to disable Wireless NIC ID check
|
||||
COMMENT= set IBM Thinkpad BIOS bit to disable Wireless NIC ID check
|
||||
|
||||
PKGNAME= tpwireless-0.2
|
||||
REVISION= 0
|
||||
CATEGORIES= misc
|
||||
DISTFILES=
|
||||
|
||||
@ -19,7 +20,7 @@ FAKE_FLAGS= BINDIR="${PREFIX}/bin"
|
||||
MAKE_ENV= CC="${CC}"
|
||||
|
||||
# Just link the contained source files into the build environment
|
||||
post-extract:
|
||||
post-extract:
|
||||
@lndir ${.CURDIR}/src ${WRKDIR}
|
||||
|
||||
NO_TEST= Yes
|
||||
|
@ -70,7 +70,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (i386_iopl(3) == -1)
|
||||
errx(1, "iopl");
|
||||
errx(1, "iopl failed: set machdep.allowaperture=1 or run single-user");
|
||||
outb(0x70, 0x6a);
|
||||
before = inb(0x71);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user