summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb/cxgb_sge.c
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-08-10 23:33:34 +0000
committerkmacy <kmacy@FreeBSD.org>2007-08-10 23:33:34 +0000
commit083e8c5c0ffd632f0631dc2dbe0ec6d1cd92f8b3 (patch)
tree6396e5637afb5eb19a9ce2b5f58deee2217842a6 /sys/dev/cxgb/cxgb_sge.c
parent54967434093c09d04d57a4a94ba75d232e82d375 (diff)
downloadFreeBSD-src-083e8c5c0ffd632f0631dc2dbe0ec6d1cd92f8b3.zip
FreeBSD-src-083e8c5c0ffd632f0631dc2dbe0ec6d1cd92f8b3.tar.gz
- In all structures other than port info port is a pointer to a port info,
make the code less confusing by renaming the port number to port_id Approved by: re (blanket)
Diffstat (limited to 'sys/dev/cxgb/cxgb_sge.c')
-rw-r--r--sys/dev/cxgb/cxgb_sge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c
index e4c121e..91f387e 100644
--- a/sys/dev/cxgb/cxgb_sge.c
+++ b/sys/dev/cxgb/cxgb_sge.c
@@ -1196,7 +1196,7 @@ t3_encap(struct port_info *p, struct mbuf **m)
* XXX handle checksum, TSO, and VLAN here
*
*/
- cntrl = V_TXPKT_INTF(p->port);
+ cntrl = V_TXPKT_INTF(p->port_id);
/*
* XXX need to add VLAN support for 6.x
OpenPOWER on IntegriCloud