mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Remove debug output
This commit is contained in:
+1
-4
@@ -118,11 +118,8 @@ void igmp_setup(void) __banked
|
|||||||
* For now the IGMP protocols are flooded (01), MLD which MAC-based is handled by ASIC
|
* For now the IGMP protocols are flooded (01), MLD which MAC-based is handled by ASIC
|
||||||
* All messages are allowed and maximum MC group is 0xff
|
* All messages are allowed and maximum MC group is 0xff
|
||||||
*/
|
*/
|
||||||
for (i = machine.min_port; i <= machine.max_port; i++) {
|
for (i = machine.min_port; i <= machine.max_port; i++)
|
||||||
print_byte(i); write_char(':');
|
|
||||||
REG_SET(RTL837X_IGMP_PORT_CFG + (i << 2), IGMP_MAX_GROUP | IGMP_PROTOCOL_ENABLE | IGMP_FLOOD);
|
REG_SET(RTL837X_IGMP_PORT_CFG + (i << 2), IGMP_MAX_GROUP | IGMP_PROTOCOL_ENABLE | IGMP_FLOOD);
|
||||||
write_char('\n');
|
|
||||||
}
|
|
||||||
|
|
||||||
/* // Allow all physical ports to be dynamic router ports
|
/* // Allow all physical ports to be dynamic router ports
|
||||||
reg_read_m(RTL837X_IGMP_ROUTER_PORT);
|
reg_read_m(RTL837X_IGMP_ROUTER_PORT);
|
||||||
|
|||||||
Reference in New Issue
Block a user