summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/Makefile
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-08-18 11:51:14 +0000
committermav <mav@FreeBSD.org>2016-08-18 11:51:14 +0000
commit7ce87050c4fc676e35180b623a7a9cac87e81515 (patch)
treec8af7fab3c69551d0adba240d2f12b0bc1a28f89 /usr.sbin/bhyve/Makefile
parenteeeb8da072521a18f9c60d9c04c0f60cff8bc949 (diff)
downloadFreeBSD-src-7ce87050c4fc676e35180b623a7a9cac87e81515.zip
FreeBSD-src-7ce87050c4fc676e35180b623a7a9cac87e81515.tar.gz
MFC r302504, r302666, r302668, r302932, r302933:
Add emulation for Intel e1000 (e82545) network adapter. The code was successfully tested with FreeBSD, Linux, Solaris and Windows guests. This interface is predictably slower (about 2x) then virtio-net, but it is very helpful for guests not supporting virtio-net by default. Thanks to Jeremiah Lott and Peter Grehan for doing original heavy lifting.
Diffstat (limited to 'usr.sbin/bhyve/Makefile')
-rw-r--r--usr.sbin/bhyve/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index f010f3d..1127349 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -28,6 +28,7 @@ SRCS= \
mevent.c \
mptbl.c \
pci_ahci.c \
+ pci_e82545.c \
pci_emul.c \
pci_fbuf.c \
pci_hostbridge.c \
@@ -61,6 +62,8 @@ SRCS+= vmm_instruction_emul.c
LIBADD= vmmapi md pthread z
+CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/e1000
+CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/mii
CFLAGS+= -I${BHYVE_SYSDIR}/sys/dev/usb/controller
WARNS?= 2
OpenPOWER on IntegriCloud