Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 02/17] Moved initialization of Ethernet controllers on Atmel AT91 to board_eth_init()

Removed at91sam9_eth_initialize() from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/atmel/at91cap9adk/at91cap9adk.c     |   11 +++++++++
 board/atmel/at91sam9260ek/at91sam9260ek.c |   11 +++++++++
 board/atmel/at91sam9263ek/at91sam9263ek.c |   11 +++++++++
 cpu/arm926ejs/at91/Makefile               |    1 -
 cpu/arm926ejs/at91/ether.c                |   35 -----------------------------
 net/eth.c                                 |    5 ----
 6 files changed, 33 insertions(+), 41 deletions(-)
 delete mode 100644 cpu/arm926ejs/at91/ether.c

diff --git a/board/atmel/at91cap9adk/at91cap9adk.c b/board/atmel/at91cap9adk/at91cap9adk.c
index c5082a0..787d64d 100644
--- a/board/atmel/at91cap9adk/at91cap9adk.c
+++ b/board/atmel/at91cap9adk/at91cap9adk.c
 <at>  <at>  -30,11 +30,13  <at>  <at> 
 #include <asm/arch/at91_rstc.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/io.h>
+#include <asm/arch/hardware.h>
 #include <lcd.h>
 #include <atmel_lcdc.h>
 #if defined(CONFIG_RESET_PHY_R) && defined(CONFIG_MACB)
 #include <net.h>
 #endif
+#include <netdev.h>

 #define MP_BLOCK_3_BASE	0xFDF00000
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 03/17] Moved initialization of RTL8169 Ethernet controller to board_eth_init()

Affected boards:
	linkstation
	r7780mp

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/linkstation/linkstation.c |    6 ++++++
 board/r7780mp/r7780mp.c         |    6 ++++++
 drivers/net/rtl8169.c           |    1 +
 include/netdev.h                |    4 ++++
 net/eth.c                       |    5 -----
 5 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/board/linkstation/linkstation.c b/board/linkstation/linkstation.c
index 241cf03..afb96ae 100644
--- a/board/linkstation/linkstation.c
+++ b/board/linkstation/linkstation.c
 <at>  <at>  -26,6 +26,7  <at>  <at> 
 #include <mpc824x.h>
 #include <asm/io.h>
 #include <ns16550.h>
+#include <netdev.h>

 #ifdef CONFIG_PCI
 #include <pci.h>
 <at>  <at>  -128,3 +129,8  <at>  <at>  int board_early_init_f (void)
 	out_8((volatile u8*)UART_DCR, 1);
 	return 0;
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 04/17] Moved initialization of RTL8139 Ethernet controller to board_eth_init()

Affected boards:
	hidden_dragon
	MPC8544DS
	MPC8610HPCN
	R2DPLUS
	TB0229

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/freescale/mpc8544ds/mpc8544ds.c     |    8 ++++----
 board/freescale/mpc8641hpcn/mpc8641hpcn.c |    8 ++++++++
 board/hidden_dragon/hidden_dragon.c       |    6 ++++++
 board/r2dplus/r2dplus.c                   |    5 +++++
 board/tb0229/tb0229.c                     |    5 +++++
 drivers/net/rtl8139.c                     |    1 +
 include/netdev.h                          |    4 ++++
 net/eth.c                                 |    4 ----
 8 files changed, 33 insertions(+), 8 deletions(-)

diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c
index 1e29773..eaf6fa3 100644
--- a/board/freescale/mpc8544ds/mpc8544ds.c
+++ b/board/freescale/mpc8544ds/mpc8544ds.c
 <at>  <at>  -33,6 +33,7  <at>  <at> 
 #include <libfdt.h>
 #include <fdt_support.h>
 #include <tsec.h>
+#include <netdev.h>
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 05/17] Moved initialization of TSI108 Ethernet controller to board_eth_init()

Affected boards:
	mpc7448hpc2

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/freescale/mpc7448hpc2/mpc7448hpc2.c |   10 ++++++++++
 drivers/net/tsi108_eth.c                  |    1 +
 include/netdev.h                          |    1 +
 net/eth.c                                 |    4 ----
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/board/freescale/mpc7448hpc2/mpc7448hpc2.c b/board/freescale/mpc7448hpc2/mpc7448hpc2.c
index 6f74c31..cfdbed5 100644
--- a/board/freescale/mpc7448hpc2/mpc7448hpc2.c
+++ b/board/freescale/mpc7448hpc2/mpc7448hpc2.c
 <at>  <at>  -32,6 +32,7  <at>  <at> 
 #include <common.h>
 #include <74xx_7xx.h>
 #include <fdt_support.h>
+#include <netdev.h>

 #undef	DEBUG

 <at>  <at>  -92,3 +93,12  <at>  <at>  ft_board_setup(void *blob, bd_t *bd)
 	fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 }
 #endif
+
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 06/17] Moved initialization of NS8382X Ethernet controller to board_eth_init()

Affected boards:
	bc3450
	cpci5200
	mecp5200
	pf2000
	icecube
	o2dnt
	pm520
	sandpoint8245
	total5200
	tqm5200

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/bc3450/bc3450.c         |    6 ++++++
 board/esd/cpci5200/cpci5200.c |    6 ++++++
 board/esd/mecp5200/mecp5200.c |    6 ++++++
 board/esd/pf5200/pf5200.c     |    6 ++++++
 board/icecube/icecube.c       |    6 ++++++
 board/o2dnt/o2dnt.c           |    6 ++++++
 board/pm520/pm520.c           |    6 ++++++
 board/sandpoint/sandpoint.c   |    6 ++++++
 board/total5200/total5200.c   |    6 ++++++
 board/tqc/tqm5200/tqm5200.c   |    6 ++++++
 drivers/net/ns8382x.c         |    1 +
 include/netdev.h              |    4 ++++
 net/eth.c                     |    4 ----
 13 files changed, 65 insertions(+), 4 deletions(-)
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 07/17] Moved initialization of NATSEMI Ethernet controller to board_eth_init()

Affected boards:
	a3000

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/a3000/a3000.c   |    7 +++++++
 drivers/net/natsemi.c |    1 +
 include/netdev.h      |    4 ++++
 net/eth.c             |    4 ----
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/board/a3000/a3000.c b/board/a3000/a3000.c
index c1eceaa..040ba89 100644
--- a/board/a3000/a3000.c
+++ b/board/a3000/a3000.c
 <at>  <at>  -27,6 +27,7  <at>  <at> 
 #include <common.h>
 #include <mpc824x.h>
 #include <pci.h>
+#include <netdev.h>

 int checkboard (void)
 {
 <at>  <at>  -109,3 +110,9  <at>  <at>  void pci_init_board(void)
 {
 	pci_mpc824x_init(&hose);
 }
+
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 08/17] Moved initialization of PCNET Ethernet controller to board_eth_init()

Affected boards:
	PN62
	sc520_cdp

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/pn62/pn62.c           |    6 ++++++
 board/sc520_cdp/sc520_cdp.c |    6 ++++++
 drivers/net/pcnet.c         |    1 +
 include/netdev.h            |    5 +++++
 net/eth.c                   |    4 ----
 5 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/board/pn62/pn62.c b/board/pn62/pn62.c
index d905b29..60fc431 100644
--- a/board/pn62/pn62.c
+++ b/board/pn62/pn62.c
 <at>  <at>  -23,6 +23,7  <at>  <at> 
 #include <common.h>
 #include <mpc824x.h>
 #include <pci.h>
+#include <netdev.h>

 #include "pn62.h"

 <at>  <at>  -186,3 +187,8  <at>  <at>  static int get_mac_address (int id, u8 * mac, char *string, int size)
 				mac[0], mac[1], mac[2],
 				mac[3], mac[4], mac[5]);
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 09/17] Moved initialization of GT6426x Ethernet controller to board_eth_init()

Affected boards:
	EVB64260
	P3G4
	ZUMA

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/evb64260/eth.c      |    1 +
 board/evb64260/evb64260.c |    8 +++++++-
 include/netdev.h          |    1 +
 net/eth.c                 |    7 -------
 4 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/board/evb64260/eth.c b/board/evb64260/eth.c
index fa5b6d4..ca8bab5 100644
--- a/board/evb64260/eth.c
+++ b/board/evb64260/eth.c
 <at>  <at>  -27,6 +27,7  <at>  <at>  Skeleton NIC driver for Etherboot
 #include <asm/cache.h>
 #include <miiphy.h>
 #include <net.h>
+#include <netdev.h>

 #include "eth.h"
 #include "eth_addrtbl.h"
diff --git a/board/evb64260/evb64260.c b/board/evb64260/evb64260.c
index ab59941..bc108d0 100644
--- a/board/evb64260/evb64260.c
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 10/17] Moved initialization of 3COM Ethernet controller (AmigaOne) to board_eth_init()

    Affected boards:
        AmigaOneG3SE

    Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/MAI/AmigaOneG3SE/AmigaOneG3SE.c |    9 +++++++++
 board/MAI/AmigaOneG3SE/enet.c         |    1 +
 include/netdev.h                      |    1 +
 net/eth.c                             |    4 ----
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c b/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c
index e118563..4d44001 100644
--- a/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c
+++ b/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c
 <at>  <at>  -26,6 +26,7  <at>  <at> 
 #include <common.h>
 #include <command.h>
 #include <pci.h>
+#include <netdev.h>
 #include "articiaS.h"
 #include "memio.h"
 #include "via686.h"
 <at>  <at>  -111,3 +112,11  <at>  <at>  void pci_init_board (void)
 	articiaS_pci_init ();
 #endif
 }
+
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 11/17] Moved initialization of IncaIP Ethernet controller to board_eth_init

Affected boards:
	IncaIP

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/incaip/incaip.c    |    8 ++++++++
 drivers/net/inca-ip_sw.c |    3 ++-
 include/netdev.h         |    1 +
 net/eth.c                |    4 ----
 4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/board/incaip/incaip.c b/board/incaip/incaip.c
index ac7ad8f..6fe852c 100644
--- a/board/incaip/incaip.c
+++ b/board/incaip/incaip.c
 <at>  <at>  -23,6 +23,7  <at>  <at> 

 #include <common.h>
 #include <command.h>
+#include <netdev.h>
 #include <asm/addrspace.h>
 #include <asm/inca-ip.h>
 #include <asm/io.h>
 <at>  <at>  -116,3 +117,10  <at>  <at>  int checkboard (void)

 	return 0;
 }
+
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 12/17] Moved initialization of MPC512x_FEC Ethernet driver to CPU directory

Added a cpu_eth_init() function to MPC512x CPU directory and
removed code from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 cpu/mpc512x/cpu.c         |   13 +++++++++++++
 drivers/net/mpc512x_fec.c |    1 +
 include/netdev.h          |    1 +
 net/eth.c                 |    4 ----
 4 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/cpu/mpc512x/cpu.c b/cpu/mpc512x/cpu.c
index 1f39ac4..d432d99 100644
--- a/cpu/mpc512x/cpu.c
+++ b/cpu/mpc512x/cpu.c
 <at>  <at>  -30,6 +30,7  <at>  <at> 
 #include <common.h>
 #include <command.h>
 #include <mpc512x.h>
+#include <netdev.h>
 #include <asm/processor.h>

 #if defined(CONFIG_OF_LIBFDT)
 <at>  <at>  -195,3 +196,15  <at>  <at>  void ft_cpu_setup(void *blob, bd_t *bd)
 #endif
 }
 #endif
+
+#ifdef CONFIG_MPC512x_FEC
+/* Default initializations for FEC controllers.  To override,
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 13/17] Moved initialization of MPC5xxx_FEC Ethernet driver to CPU directory

Modified board_eth_init() functions of boards that have this FEC in addition
to other Ethernet controllers.

Affected boards:
	bc3450
	icecube
	mvbc_p
	o2dnt
	pm520
	total5200
	tq5200

Removed initialization of controller from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/bc3450/bc3450.c               |    1 +
 board/icecube/icecube.c             |    1 +
 board/matrix_vision/mvbc_p/mvbc_p.c |    6 ++++++
 board/o2dnt/o2dnt.c                 |    1 +
 board/pm520/pm520.c                 |    1 +
 board/total5200/total5200.c         |    1 +
 board/tqc/tqm5200/tqm5200.c         |    1 +
 cpu/mpc5xxx/cpu.c                   |   13 +++++++++++++
 drivers/net/mpc5xxx_fec.c           |    1 +
 include/netdev.h                    |    1 +
 net/eth.c                           |    4 ----
 11 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/board/bc3450/bc3450.c b/board/bc3450/bc3450.c
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 14/17] Moved initialization of plb2800 Ethernet driver to board_eth_init

Affected boards:
	purple

Removed initialization of controller from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/purple/purple.c     |    9 +++++++++
 drivers/net/plb2800_eth.c |    5 +++--
 include/netdev.h          |    1 +
 net/eth.c                 |    4 ----
 4 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/board/purple/purple.c b/board/purple/purple.c
index 9775591..c129d7a 100644
--- a/board/purple/purple.c
+++ b/board/purple/purple.c
 <at>  <at>  -23,6 +23,7  <at>  <at> 

 #include <common.h>
 #include <command.h>
+#include <netdev.h>
 #include <asm/inca-ip.h>
 #include <asm/regdef.h>
 #include <asm/mipsregs.h>
 <at>  <at>  -274,3 +275,11  <at>  <at>  void copy_code (ulong dest_addr)
 		start += CFG_CACHELINE_SIZE;
 	}
 }
+
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 15/17] Moved initialization of E1000 Ethernet controller to board_eth_init()

Affected boards:
	ap1000
	mvbc_p
	PM854

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/amirix/ap1000/ap1000.c        |    7 +++++++
 board/matrix_vision/mvbc_p/mvbc_p.c |    3 ++-
 board/pm854/pm854.c                 |    6 ++++++
 drivers/net/e1000.c                 |    2 +-
 drivers/net/e1000.h                 |    1 +
 include/netdev.h                    |    4 ++++
 net/eth.c                           |    4 ----
 7 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/board/amirix/ap1000/ap1000.c b/board/amirix/ap1000/ap1000.c
index 55277e7..8f30ed9 100644
--- a/board/amirix/ap1000/ap1000.c
+++ b/board/amirix/ap1000/ap1000.c
 <at>  <at>  -23,6 +23,7  <at>  <at> 

 #include <common.h>
 #include <command.h>
+#include <netdev.h>
 #include <asm/processor.h>

 #include "powerspan.h"
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 16/17] Moved initialization of TULIP Ethernet controller to board_eth_init()

Affected boards:
	cu824
	bab7xx
	adciop
	dasa_sim
	mousse
	mpc8540eval
	musenki
	mvblue
	pcippc2/pcippc6
	sbc8240
	stxssa

Removed initialization of the driver from net/eth.c

Signed-off-by: Ben Warren <biggerbadderben <at> gmail.com>
---
 board/cu824/cu824.c             |    6 ++++++
 board/eltec/bab7xx/bab7xx.c     |    6 ++++++
 board/esd/adciop/adciop.c       |    6 ++++++
 board/esd/dasa_sim/dasa_sim.c   |    6 ++++++
 board/mousse/mousse.c           |    6 ++++++
 board/mpc8540eval/mpc8540eval.c |   12 ++++++++++++
 board/musenki/musenki.c         |    6 ++++++
 board/mvblue/mvblue.c           |    6 ++++++
 board/pcippc2/pcippc2.c         |    6 ++++++
 board/sbc8240/sbc8240.c         |    6 ++++++
 board/stxssa/stxssa.c           |    8 ++++++++
 drivers/net/dc2114x.c           |    1 +
 include/netdev.h                |    4 ++++
(Continue reading)

Ben Warren | 1 Sep 2008 07:57
Picon

[PATCH v2 17/17] Moved initialization of EEPRO100 Ethernet controller to board_eth_init()

Affected boards:
	db64360
	db64460
	katmai
	taihu
	taishan
	yucca
	cpc45
	cpu87
	eXalion
	elppc
	debris
	kvme080
	mpc8315erdb
	integratorap
	ixdp425
	oxc
	pm826
	pm828
	pm854
	pm856
	ppmc7xx
	sc3
	sc520_spunk
	sorcery
	tqm8272
	tqm85xx
	utx8245

Removed initialization of the driver from net/eth.c
(Continue reading)


Gmane