• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版efe53b88eb7bdefc8895be129fa08e4a8edf615a (tree)
时间2019-07-29 15:31:12
作者Yoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

update 2019.01

更改概述

差异

--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -375,25 +375,13 @@ static void sh_eth_mac_regs_config(struct sh_eth_dev *eth, unsigned char *mac)
375375 struct sh_eth_info *port_info = &eth->port_info[eth->port];
376376
377377 /* Configure e-dmac registers */
378-<<<<<<< HEAD
379378 #if defined(CONFIG_CPU_SH7619)
380- sh_eth_write(eth, (sh_eth_read(eth, EDMR) & ~EMDR_DESC_R) |
379+ sh_eth_write(port_info, (sh_eth_read(port)info, EDMR) & ~EMDR_DESC_R) |
381380 EMDR_DESC, EDMR);
382381 #else
383- sh_eth_write(eth, (sh_eth_read(eth, EDMR) & ~EMDR_DESC_R) |
384- (EMDR_DESC | EDMR_EL), EDMR);
385-#endif
386- sh_eth_write(eth, 0, EESIPR);
387- sh_eth_write(eth, 0, TRSCER);
388- sh_eth_write(eth, 0, TFTR);
389- sh_eth_write(eth, (FIFO_SIZE_T | FIFO_SIZE_R), FDR);
390- sh_eth_write(eth, RMCR_RST, RMCR);
391-#if defined(SH_ETH_TYPE_GETHER)
392- sh_eth_write(eth, 0, RPADIR);
393-=======
394382 sh_eth_write(port_info, (sh_eth_read(port_info, EDMR) & ~EMDR_DESC_R) |
395383 (EMDR_DESC | EDMR_EL), EDMR);
396-
384+#endif
397385 sh_eth_write(port_info, 0, EESIPR);
398386 sh_eth_write(port_info, 0, TRSCER);
399387 sh_eth_write(port_info, 0, TFTR);
@@ -401,7 +389,6 @@ static void sh_eth_mac_regs_config(struct sh_eth_dev *eth, unsigned char *mac)
401389 sh_eth_write(port_info, RMCR_RST, RMCR);
402390 #if defined(SH_ETH_TYPE_GETHER) || defined(SH_ETH_TYPE_RZ)
403391 sh_eth_write(port_info, 0, RPADIR);
404->>>>>>> v2019.01
405392 #endif
406393 sh_eth_write(port_info, (FIFO_F_D_RFF | FIFO_F_D_RFD), FCFTR);
407394