diff options
author | kmacy <kmacy@FreeBSD.org> | 2007-12-15 21:54:59 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2007-12-15 21:54:59 +0000 |
commit | 62acf9d0374f04c8a2e757c1c0105057d0c51fa5 (patch) | |
tree | 0213d41f9a474f10078a56fce50a0d1453ec6d92 /sys/dev/cxgb/cxgb_main.c | |
parent | d568417c8a243d45d370c377e37b6c67272575f5 (diff) | |
download | FreeBSD-src-62acf9d0374f04c8a2e757c1c0105057d0c51fa5.zip FreeBSD-src-62acf9d0374f04c8a2e757c1c0105057d0c51fa5.tar.gz |
Import updated support code for the TOM (tcp offload module).
Diffstat (limited to 'sys/dev/cxgb/cxgb_main.c')
-rw-r--r-- | sys/dev/cxgb/cxgb_main.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c index dff4591..4520a93 100644 --- a/sys/dev/cxgb/cxgb_main.c +++ b/sys/dev/cxgb/cxgb_main.c @@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$"); #include <sys/ioccom.h> #include <sys/mbuf.h> #include <sys/linker.h> +#include <sys/syslog.h> #include <sys/firmware.h> #include <sys/socket.h> #include <sys/sockio.h> @@ -116,7 +117,7 @@ static int offload_open(struct port_info *pi); static void touch_bars(device_t dev); #ifdef notyet -static int offload_close(struct toedev *tdev); +static int offload_close(struct t3cdev *tdev); #endif @@ -1235,7 +1236,7 @@ setup_rss(adapter_t *adap) * after dealing with any active network taps. */ static inline int -offload_tx(struct toedev *tdev, struct mbuf *m) +offload_tx(struct t3cdev *tdev, struct mbuf *m) { int ret; @@ -1556,7 +1557,7 @@ static int offload_open(struct port_info *pi) { struct adapter *adapter = pi->adapter; - struct toedev *tdev = TOEDEV(pi->ifp); + struct t3cdev *tdev = TOEDEV(pi->ifp); int adap_up = adapter->open_device_map & PORT_MASK; int err = 0; @@ -1599,7 +1600,7 @@ out: } #ifdef notyet static int -offload_close(struct toedev *tdev) +offload_close(struct t3cev *tdev) { struct adapter *adapter = tdev2adap(tdev); |