qlxgb: purge EOL release compatibility

Remove code for FreeBSD 7, 8 & 9 and a warning that older versions
weren't supported.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560
This commit is contained in:
Elliott Mitchell 2022-06-22 17:53:47 -07:00 committed by Warner Losh
parent 862dd0d214
commit ecfb9e4e12
2 changed files with 0 additions and 9 deletions

View File

@ -688,11 +688,6 @@ qla_init_ifnet(device_t dev, qla_host_t *ha)
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_MTU;
ifp->if_capabilities |= IFCAP_LINKSTATE;
#if defined(__FreeBSD_version) && (__FreeBSD_version < 900002)
ifp->if_timer = 0;
ifp->if_watchdog = NULL;
#endif /* #if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) */
ifp->if_capenable = ifp->if_capabilities;
ifp->if_hdrlen = sizeof(struct ether_vlan_header);

View File

@ -51,10 +51,6 @@
#include <machine/atomic.h>
#include <sys/conf.h>
#if __FreeBSD_version < 700112
#error FreeBSD Version not supported - use version >= 700112
#endif
#include <net/if.h>
#include <net/if_var.h>
#include <net/if_arp.h>