summaryrefslogtreecommitdiffstats
path: root/net/net.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:58:11 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:46:16 -0500
commitda5ebe2c9ad65a1534e61459d4ec0d80c41ddb0e (patch)
treee8e0dcaec930815da4053d048f959bd657620311 /net/net.c
parent206d07fd7cbe69c8086a9b68f28b36e7b5ab9f08 (diff)
downloadtalos-obmc-uboot-da5ebe2c9ad65a1534e61459d4ec0d80c41ddb0e.tar.gz
talos-obmc-uboot-da5ebe2c9ad65a1534e61459d4ec0d80c41ddb0e.zip
net: cosmetic: Add a more explicit comment about 802.2
Make the comment more accurate about the header including SNAP Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index b8a267ccbe..1293688aba 100644
--- a/net/net.c
+++ b/net/net.c
@@ -898,7 +898,8 @@ NetReceive(uchar *inpkt, int len)
if (x < 1514) {
struct e802_hdr *et802 = (struct e802_hdr *)et;
/*
- * Got a 802 packet. Check the other protocol field.
+ * Got a 802.2 packet. Check the other protocol field.
+ * XXX VLAN over 802.2+SNAP not implemented!
*/
x = ntohs(et802->et_prot);
OpenPOWER on IntegriCloud