tpwireless requires machdep.allowaperture=1 or running before securelevel

is set (e.g. in single-user mode)
This commit is contained in:
sthen 2019-09-12 13:42:45 +00:00
parent 294b29387c
commit b8f3015708
2 changed files with 5 additions and 4 deletions

View File

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

View File

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