diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-09-24 01:19:08 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-09-24 01:19:08 +0000 |
commit | c01b2f07c60be4c69749ddba8fb198994cca96b5 (patch) | |
tree | c2cefca565e13236646646e71b61f22be5442714 /sys/dev/cxgb/ulp | |
parent | 1a71eb5c5089d6d5a0e78d0635d718b48223f717 (diff) | |
download | FreeBSD-src-c01b2f07c60be4c69749ddba8fb198994cca96b5.zip FreeBSD-src-c01b2f07c60be4c69749ddba8fb198994cca96b5.tar.gz |
- Remove default NIC dependency on ulp headers
- make toe module build dependent on kernel support
Submitted by: Chelsio Inc.
MFC after: 1 week
Diffstat (limited to 'sys/dev/cxgb/ulp')
-rw-r--r-- | sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_hal.c | 1 | ||||
-rw-r--r-- | sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_qp.c | 1 | ||||
-rw-r--r-- | sys/dev/cxgb/ulp/toecore/toedev.c | 2 | ||||
-rw-r--r-- | sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c | 1 | ||||
-rw-r--r-- | sys/dev/cxgb/ulp/tom/cxgb_l2t.c | 1 | ||||
-rw-r--r-- | sys/dev/cxgb/ulp/tom/cxgb_listen.c | 1 | ||||
-rw-r--r-- | sys/dev/cxgb/ulp/tom/cxgb_tom.c | 1 | ||||
-rw-r--r-- | sys/dev/cxgb/ulp/tom/cxgb_tom.h | 1 |
8 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_hal.c b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_hal.c index f2e59d2..cf42e38 100644 --- a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_hal.c +++ b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_hal.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include <contrib/rdma/ib_verbs.h> #include <cxgb_include.h> +#include <ulp/tom/cxgb_l2t.h> #include <ulp/iw_cxgb/iw_cxgb_wr.h> #include <ulp/iw_cxgb/iw_cxgb_hal.h> #include <ulp/iw_cxgb/iw_cxgb_provider.h> diff --git a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_qp.c b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_qp.c index 708c359..83c742f 100644 --- a/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_qp.c +++ b/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_qp.c @@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$"); #include <contrib/rdma/ib_user_verbs.h> #include <cxgb_include.h> +#include <ulp/tom/cxgb_l2t.h> #include <ulp/iw_cxgb/iw_cxgb_wr.h> #include <ulp/iw_cxgb/iw_cxgb_hal.h> #include <ulp/iw_cxgb/iw_cxgb_provider.h> diff --git a/sys/dev/cxgb/ulp/toecore/toedev.c b/sys/dev/cxgb/ulp/toecore/toedev.c index 78d3874..01a7d90 100644 --- a/sys/dev/cxgb/ulp/toecore/toedev.c +++ b/sys/dev/cxgb/ulp/toecore/toedev.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); * XXX */ #include <cxgb_include.h> - +#include <ulp/toecore/cxgb_toedev.h> static struct mtx offload_db_lock; static TAILQ_HEAD(, toedev) offload_dev_list; diff --git a/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c b/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c index 073d291..62ffdaa 100644 --- a/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c +++ b/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c @@ -91,6 +91,7 @@ __FBSDID("$FreeBSD$"); #include <machine/bus.h> #include <sys/mvec.h> #include <ulp/toecore/cxgb_toedev.h> +#include <ulp/tom/cxgb_l2t.h> #include <ulp/tom/cxgb_defs.h> #include <ulp/tom/cxgb_tom.h> #include <ulp/tom/cxgb_t3_ddp.h> diff --git a/sys/dev/cxgb/ulp/tom/cxgb_l2t.c b/sys/dev/cxgb/ulp/tom/cxgb_l2t.c index 1fcd53d..67856e6 100644 --- a/sys/dev/cxgb/ulp/tom/cxgb_l2t.c +++ b/sys/dev/cxgb/ulp/tom/cxgb_l2t.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include <netinet/if_ether.h> #include <cxgb_include.h> +#include <ulp/tom/cxgb_l2t.h> #define VLAN_NONE 0xfff #define SDL(s) ((struct sockaddr_dl *)s) diff --git a/sys/dev/cxgb/ulp/tom/cxgb_listen.c b/sys/dev/cxgb/ulp/tom/cxgb_listen.c index 8836b58..5dc2d9f 100644 --- a/sys/dev/cxgb/ulp/tom/cxgb_listen.c +++ b/sys/dev/cxgb/ulp/tom/cxgb_listen.c @@ -71,6 +71,7 @@ __FBSDID("$FreeBSD$"); #include <common/cxgb_ctl_defs.h> #include <cxgb_offload.h> #include <ulp/toecore/cxgb_toedev.h> +#include <ulp/tom/cxgb_l2t.h> #include <ulp/tom/cxgb_defs.h> #include <ulp/tom/cxgb_tom.h> #include <ulp/tom/cxgb_t3_ddp.h> diff --git a/sys/dev/cxgb/ulp/tom/cxgb_tom.c b/sys/dev/cxgb/ulp/tom/cxgb_tom.c index 1067b32..d586883 100644 --- a/sys/dev/cxgb/ulp/tom/cxgb_tom.c +++ b/sys/dev/cxgb/ulp/tom/cxgb_tom.c @@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$"); #include <common/cxgb_t3_cpl.h> #include <cxgb_offload.h> #include <ulp/toecore/cxgb_toedev.h> +#include <ulp/tom/cxgb_l2t.h> #include <ulp/tom/cxgb_tom.h> #include <ulp/tom/cxgb_defs.h> #include <ulp/tom/cxgb_t3_ddp.h> diff --git a/sys/dev/cxgb/ulp/tom/cxgb_tom.h b/sys/dev/cxgb/ulp/tom/cxgb_tom.h index bcda2c3..2f3201d 100644 --- a/sys/dev/cxgb/ulp/tom/cxgb_tom.h +++ b/sys/dev/cxgb/ulp/tom/cxgb_tom.h @@ -33,6 +33,7 @@ $FreeBSD$ #ifndef CXGB_TOM_H_ #define CXGB_TOM_H_ #include <sys/protosw.h> +#include <netinet/toedev.h> #define LISTEN_INFO_HASH_SIZE 32 |