diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-15 10:19:47 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-15 10:19:47 +0000 |
commit | 7bc3142cfd3d194c9d281ccd474bd832cc5d0f63 (patch) | |
tree | 5795dd37edc4a8e9c5b1441e7e42968919a2d1c0 /emulators/vmware3/files | |
parent | Update the URL for the ntop home page. (diff) |
Add support for the latest current. (a bit kind of ad hoc)
Notes
Notes:
svn path=/head/; revision=32633
Diffstat (limited to 'emulators/vmware3/files')
-rw-r--r-- | emulators/vmware3/files/patch-bc | 11 | ||||
-rw-r--r-- | emulators/vmware3/files/patch-bd | 25 |
2 files changed, 36 insertions, 0 deletions
diff --git a/emulators/vmware3/files/patch-bc b/emulators/vmware3/files/patch-bc new file mode 100644 index 000000000000..b2764c90596a --- /dev/null +++ b/emulators/vmware3/files/patch-bc @@ -0,0 +1,11 @@ +--- vmnet-only/freebsd/vmnet.c.orig Mon Jul 31 08:36:25 2000 ++++ vmnet-only/freebsd/vmnet.c Mon Sep 11 00:34:08 2000 +@@ -164,7 +164,7 @@ + + s = splimp(); + if_attach(ifp); +- ether_ifattach(ifp); ++ ether_ifattach(ifp, ETHER_BPF_SUPPORTED); + bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); + splx(s); + diff --git a/emulators/vmware3/files/patch-bd b/emulators/vmware3/files/patch-bd new file mode 100644 index 000000000000..e88a69bf5af5 --- /dev/null +++ b/emulators/vmware3/files/patch-bd @@ -0,0 +1,25 @@ +--- vmmon-only/freebsd/driver.c.orig Thu Jun 29 21:06:18 2000 ++++ vmmon-only/freebsd/driver.c Thu Sep 14 14:03:42 2000 +@@ -73,6 +73,22 @@ + #include "private.h" + #endif + ++#if __FreeBSD_version >= 500013 ++enum intr_type { ++ INTR_TYPE_TTY = 1, ++ INTR_TYPE_BIO = 2, ++ INTR_TYPE_NET = 4, ++ INTR_TYPE_CAM = 8, ++ INTR_TYPE_MISC = 16, ++ INTR_HEAVY = 32, /* heavyweight interrupt process */ ++ INTR_LIGHT = 64, /* light weight interrupt thread */ ++ INTR_THREADED = INTR_LIGHT | INTR_HEAVY, /* any kind of interrupt thread */ ++ INTR_FAST = 128, ++ INTR_EXCL = 256, /* exclusive interrupt */ ++ INTR_MPSAFE = 512 /* this interrupt is SMP safe */ ++}; ++#endif ++ + #ifdef SUPPORT_PASSTHROUGH + #include "passthrough.h" // _driver_ version of passthrough.h + #endif |