summaryrefslogtreecommitdiff
path: root/util/superiotool
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool')
-rw-r--r--util/superiotool/Makefile2
-rw-r--r--util/superiotool/superiotool.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index bcdb107d71..00a1cc0d7b 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -37,7 +37,7 @@ OBJS = superiotool.o ali.o fintek.o ite.o nsc.o nuvoton.o smsc.o winbond.o
OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), Darwin)
-LIBS = -framework IOKit -framework DirectIO -lpci -lz
+LIBS = -framework IOKit -framework DirectHW -lpci -lz
endif
ifeq ($(OS_ARCH), FreeBSD)
CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 63dfebdcf7..8a7d2aa479 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -33,8 +33,8 @@
#include <sys/io.h>
#endif
#if (defined(__MACH__) && defined(__APPLE__))
-/* DirectIO is available here: http://www.coresystems.de/en/directio */
-#include <DirectIO/darwinio.h>
+/* DirectHW is available here: http://www.coreboot.org/DirectHW */
+#include <DirectHW/DirectHW.h>
#endif
#ifdef PCI_SUPPORT