From 7ce87050c4fc676e35180b623a7a9cac87e81515 Mon Sep 17 00:00:00 2001 From: mav Date: Thu, 18 Aug 2016 11:51:14 +0000 Subject: 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. --- usr.sbin/bhyve/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.sbin/bhyve/Makefile') 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 -- cgit v1.1