Skip to contentSkip to conversation

Add pci E1000 Ethernet support for P2020 board

PATCH New Roy Zang 2 participants 2 messages Jun 30, 2009

lore
Share & tools
lore

Roy Zang

author
#0 lore raw

PATCH 1/1 Add pci E1000 Ethernet support for P2020 board

From: Roy Zang <[email protected]>

Add pci E1000 Ethernet support for P2020 board.

---
 board/freescale/p2020ds/p2020ds.c |    3 ++-
 include/configs/P2020DS.h         |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)
board/freescale/p2020ds/p2020ds.c +2 -1
index 6b72d61..293e5a4 100644
@@ -36,6 +36,7 @@
 #include <tsec.h>
 #include <asm/fsl_law.h>
 #include <asm/mp.h>
+#include <netdev.h>
 
 #include "../common/pixis.h"
 #include "../common/sgmii_riser.h"
@@ -594,7 +595,7 @@ int board_eth_init(bd_t *bis)
 
 	tsec_eth_init(bis, tsec_info, num);
 
-	return 0;
+	return pci_eth_init(bis);
 }
 #endif
 
include/configs/P2020DS.h +1 -0
index a39ff26..7fd2f5c 100644
@@ -46,6 +46,7 @@
 #define CONFIG_SYS_PCI_64BIT	1	/* enable 64-bit PCI resources */
 
 #define CONFIG_FSL_LAW		1	/* Use common FSL init code */
+#define CONFIG_E1000		1	/* Defind e1000 pci Ethernet card*/
 
 #define CONFIG_TSEC_ENET		/* tsec ethernet support */
 #define CONFIG_ENV_OVERWRITE
Signature · 1 line
1.5.6.5
Applied
#1 lore raw

PATCH 1/1 Add pci E1000 Ethernet support for P2020 board

Quoted 9 lines · Roy Zang

From: Roy Zang <[email protected]>

Add pci E1000 Ethernet support for P2020 board.

---

board/freescale/p2020ds/p2020ds.c |    3 ++-
include/configs/P2020DS.h         |    1 +
2 files changed, 3 insertions(+), 1 deletions(-)

applied

- k