aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2023-10-04 16:24:04 +0000
committerMark Johnston <markj@FreeBSD.org>2023-10-11 13:22:01 +0000
commit2efcefea15e25b1d000318105282bf4d59c607ed (patch)
treee01921d40e70517eccfbb7e04b3e0911df223ff2
parent143fde3faf72184227bdbbbf995aa3e5173e6d22 (diff)
downloadsrc-2efcefea15e25b1d000318105282bf4d59c607ed.tar.gz
src-2efcefea15e25b1d000318105282bf4d59c607ed.zip
bhyve: Move the gvt-d driver to amd64/
It is amd64-only. No functional change intended. Reviewed by: corvink, jhb MFC after: 1 week Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D40736 (cherry picked from commit 4ab7aea8ec2f5fac0e6d140300c8f04db99d83df)
-rw-r--r--usr.sbin/bhyve/Makefile1
-rw-r--r--usr.sbin/bhyve/amd64/Makefile.inc1
-rw-r--r--usr.sbin/bhyve/amd64/pci_gvt-d-opregion.h (renamed from usr.sbin/bhyve/pci_gvt-d-opregion.h)0
-rw-r--r--usr.sbin/bhyve/amd64/pci_gvt-d.c (renamed from usr.sbin/bhyve/pci_gvt-d.c)0
4 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index 7c14dbc4a524..d510c32fccd0 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -41,7 +41,6 @@ SRCS= \
pci_e82545.c \
pci_emul.c \
pci_fbuf.c \
- pci_gvt-d.c \
pci_hda.c \
pci_hostbridge.c \
pci_irq.c \
diff --git a/usr.sbin/bhyve/amd64/Makefile.inc b/usr.sbin/bhyve/amd64/Makefile.inc
index a176b0e5471f..5caecb35a620 100644
--- a/usr.sbin/bhyve/amd64/Makefile.inc
+++ b/usr.sbin/bhyve/amd64/Makefile.inc
@@ -4,6 +4,7 @@ SRCS+= \
fwctl.c \
kernemu_dev.c \
mptbl.c \
+ pci_gvt-d.c \
pm.c \
post.c \
ps2kbd.c \
diff --git a/usr.sbin/bhyve/pci_gvt-d-opregion.h b/usr.sbin/bhyve/amd64/pci_gvt-d-opregion.h
index f506f1449e48..f506f1449e48 100644
--- a/usr.sbin/bhyve/pci_gvt-d-opregion.h
+++ b/usr.sbin/bhyve/amd64/pci_gvt-d-opregion.h
diff --git a/usr.sbin/bhyve/pci_gvt-d.c b/usr.sbin/bhyve/amd64/pci_gvt-d.c
index f64cc5984352..f64cc5984352 100644
--- a/usr.sbin/bhyve/pci_gvt-d.c
+++ b/usr.sbin/bhyve/amd64/pci_gvt-d.c