Skip to contentSkip to conversation

x86: crownbay: Enable Intel E1000 NIC support

PATCH New Bin Meng 2 participants 2 messages Dec 4, 2014

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 23/25 x86: crownbay: Enable Intel E1000 NIC support

We don't have driver for the Intel Topcliff PCH Gigabit Ethernet controller for now, so enable the Intle E1000 NIC support, which can be plugged into any PCIe slot on the Crown Bay board.

---
 board/intel/crownbay/crownbay.c | 6 ++++++
 include/configs/crownbay.h      | 1 +
 2 files changed, 7 insertions(+)
board/intel/crownbay/crownbay.c +6 -0
index bbd2596..d2d74a5 100644
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <asm/pnp_def.h>
+#include <netdev.h>
 #include <smsc_lpc47m.h>
 
 #define SERIAL_DEV PNP_DEV(0x2e, 4)
@@ -18,3 +19,8 @@ int board_early_init_f(void)
 	lpc47m_enable_serial(SERIAL_DEV, UART0_BASE);
 	return 0;
 }
+
+int board_eth_init(bd_t *bis)
+{
+	return pci_eth_init(bis);
+}
include/configs/crownbay.h +1 -0
index a051b11..09a52ab 100644
@@ -37,6 +37,7 @@
 
 #define CONFIG_SYS_EARLY_PCI_INIT
 #define CONFIG_PCI_PNP
+#define CONFIG_E1000
 
 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=serial\0" \
 					"stdout=serial\0" \
Signature · 1 line
1.8.2.1
#1 lore raw

PATCH 23/25 x86: crownbay: Enable Intel E1000 NIC support

Quoted 9 lines · Bin Meng

We don't have driver for the Intel Topcliff PCH Gigabit Ethernet controller for now, so enable the Intle E1000 NIC support, which can be plugged into any PCIe slot on the Crown Bay board.

---
 board/intel/crownbay/crownbay.c | 6 ++++++
 include/configs/crownbay.h      | 1 +
 2 files changed, 7 insertions(+)