summaryrefslogtreecommitdiff
path: root/net/slurm/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/slurm/files')
-rw-r--r--net/slurm/files/patch-os.h13
-rw-r--r--net/slurm/files/patch-src_if__media.c39
2 files changed, 0 insertions, 52 deletions
diff --git a/net/slurm/files/patch-os.h b/net/slurm/files/patch-os.h
deleted file mode 100644
index 57783fd0e15d..000000000000
--- a/net/slurm/files/patch-os.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- os.h.orig 2004-10-12 19:55:58 UTC
-+++ os.h
-@@ -92,10 +92,6 @@
- #include <net/if_media.h>
- #include <net/if_mib.h>
- #include <arpa/inet.h>
--#ifndef __DragonFly__
--#include <net/ppp_defs.h>
--#include <net/if_ppp.h>
--#endif
- #elif __NetBSD__ /* N E T B S D */
- #include <stdio.h>
- #include <sys/param.h>
diff --git a/net/slurm/files/patch-src_if__media.c b/net/slurm/files/patch-src_if__media.c
deleted file mode 100644
index f64c4f8a1581..000000000000
--- a/net/slurm/files/patch-src_if__media.c
+++ /dev/null
@@ -1,39 +0,0 @@
---- src/if_media.c.orig 2004-09-27 13:08:59 UTC
-+++ src/if_media.c
-@@ -95,8 +95,13 @@ int get_if_speed (char *ifstring)
- *
- */
-
-+#if __FreeBSD__ >= 2
-+ type = IFM_TYPE(ifmr.ifm_active);
-+ physical = IFM_SUBTYPE(ifmr.ifm_active);
-+#else
- type = ifmr.ifm_active & 0xf0;
- physical = ifmr.ifm_active & 0x0f;
-+#endif
-
- #ifdef MEDIADEBUG
- printf(" all: %6d\n", ifmr.ifm_current);
-@@ -160,22 +165,6 @@ int get_if_speed (char *ifstring)
- break;
- } /* end switch physical */
- break;
-- /* FDDI interfaces */
-- /* fpa doesn't seem to support SIOCGIFMEDIA on FreeBSD
-- * so we won't get here but anyway ...
-- */
-- case IFM_FDDI:
-- switch (physical)
-- {
-- case IFM_FDDI_SMF:
-- case IFM_FDDI_MMF:
-- case IFM_FDDI_UTP:
-- speed = 100 * 1000;
-- break;
-- default:
-- speed = ERR_IFACE_NO_SPEED;
-- }
-- break;
- #if WIRELESS
- /* IEEE 802.11 wireless interfaces */
- case IFM_IEEE80211: