OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 728... Line 728...
728 portmask = ar7240sw_port_mask_but(as, AR7240_PORT_CPU); 728 portmask = ar7240sw_port_mask_but(as, AR7240_PORT_CPU);
729 else 729 else
730 portmask = ar7240sw_port_mask(as, AR7240_PORT_CPU); 730 portmask = ar7240sw_port_mask(as, AR7240_PORT_CPU);
731 } 731 }
Line 732... Line -...
732   -  
733 /* preserve mirror rx&tx flags */ -  
734 ctrl |= ar7240sw_reg_read(mii, AR7240_REG_PORT_CTRL(port)) & -  
735 (AR7240_PORT_CTRL_MIRROR_RX | AR7240_PORT_CTRL_MIRROR_TX); -  
736   732  
737 /* allow the port to talk to all other ports, but exclude its 733 /* allow the port to talk to all other ports, but exclude its
738 * own ID to prevent frames from being reflected back to the 734 * own ID to prevent frames from being reflected back to the
739 * port that they came from */ 735 * port that they came from */