summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb/ulp
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2010-02-24 10:16:18 +0000
committernp <np@FreeBSD.org>2010-02-24 10:16:18 +0000
commitb48fc8c497b9a92d1d5af002e166f499313b7d1d (patch)
tree9215e006021e46958d3ecdd9019c514b61cd3a9f /sys/dev/cxgb/ulp
parent66381a9263e899c350aea8b45cdb9db918f8be85 (diff)
downloadFreeBSD-src-b48fc8c497b9a92d1d5af002e166f499313b7d1d.zip
FreeBSD-src-b48fc8c497b9a92d1d5af002e166f499313b7d1d.tar.gz
There is no need to test __FreeBSD_version for features that have
been around for a long time now (7.1-ish or even earlier); assume they are present. These includes MSI, TSO, LRO, VLAN, INTR_FILTERS, FIRMWARE, etc. Also, eliminate some dead code and clean up in other places as part of this quick once-over. MFC after: 1 week
Diffstat (limited to 'sys/dev/cxgb/ulp')
-rw-r--r--sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c3
-rw-r--r--sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c
index cf42ea0..a4f2ff6 100644
--- a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c
+++ b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c
@@ -138,8 +138,7 @@ open_rnic_dev(struct t3cdev *tdev)
CTR2(KTR_IW_CXGB, "%s t3cdev %p", __FUNCTION__, tdev);
if (!vers_printed++)
- printf("Chelsio T3 RDMA Driver - version %s\n",
- DRV_VERSION);
+ printf("Chelsio T3 RDMA Driver - version x.xx\n");
rnicp = (struct iwch_dev *)ib_alloc_device(sizeof(*rnicp));
if (!rnicp) {
printf("Cannot allocate ib device\n");
diff --git a/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c b/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c
index 76237fb..bbb594a 100644
--- a/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c
+++ b/sys/dev/cxgb/ulp/tom/cxgb_cpl_socket.c
@@ -61,7 +61,6 @@ __FBSDID("$FreeBSD$");
#include <netinet/in_systm.h>
#include <netinet/in_var.h>
-#include <cxgb_config.h>
#include <cxgb_osdep.h>
#include <sys/mbufq.h>
#include <ulp/tom/cxgb_tcp_offload.h>
OpenPOWER on IntegriCloud