It's already set this way (sans bits 4&5)
REG_WRITE(REG_GLOBAL, 0x1a, (ds->cpu_port * 0x1100) | 0x00f0);
I tried turning on bit 4 on port 0 (lan1.1). Now I can see what's
coming into that port, but it doesn't look right:
Here's the ARP going out:
13:46:29.348449 00:1d:11:81:00:00 > ff:ff:ff:ff:ff:ff, ethertype Unknown (0x4000), length 46:
0x0000: ffff ffff ffff 001d 1181 0000 4000 0000
0x0010: 0806 0001 0800 0604 0001 001d 1181 0000
0x0020: c0a8 0cbc 0000 0000 0000 c0a8 0c12
Here's the ARP reply coming back:
13:46:29.348907 00:1e:c9:2f:73:6c > 00:1d:11:81:00:00, ethertype Unknown (0x8004), length 64:
0x0000: 001d 1181 0000 001e c92f 736c 8004 0000
0x0010: 0806 0001 0800 0604 0002 001e c92f 736c
0x0020: c0a8 0c12 001d 1181 0000 c0a8 0cbc 0000
0x0030: 0000 0000 0000 0000 0000 0000 0000 0000
I understand the 0x4000 DSA tag going out, but what's the 0x8004?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html