Changeset 379 for asp3_tinet_ecnl_arm
- Timestamp:
- Apr 9, 2019, 7:51:56 PM (4 years ago)
- Location:
- asp3_tinet_ecnl_arm/trunk/asp3_dcre
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/ethernet_api.c
r374 r379 275 275 } 276 276 277 /* Promiscuous Mode */ 278 if (ETHERECMR0 & 0x00000001) 279 link |= PROMISCUOUS_MODE; 280 277 281 return link; 278 282 } … … 652 656 ETHERECMR0 &= ~0x00000002; /* Set to half-duplex mode */ 653 657 } 654 ETHERECMR0 |= 0x00002000; /* MCT = 1 */ 658 if (!prm) { 659 ETHERECMR0 |= 0x00002000; /* MCT = 1 */ 660 } 661 else { 662 ETHERECMR0 &= ~0x00002000; /* MCT = 0 */ 663 } 655 664 656 665 /* Interrupt-related */ -
asp3_tinet_ecnl_arm/trunk/asp3_dcre/tinet/netdev/if_mbed/if_mbed.c
r352 r379 344 344 } 345 345 if (link_mode_new != NEGO_FAIL) { 346 ethernetext_set_link_mode(link_mode_new );346 ethernetext_set_link_mode(link_mode_new | PROMISCUOUS_MODE); 347 347 ETHER.EESIPR0 |= EDMAC_EESIPR_INI_TRANS; 348 348 ether_set_link_up(ether);
Note:
See TracChangeset
for help on using the changeset viewer.