[kernel] refresh patches
[openwrt.git] / target / linux / brcm63xx / patches-2.6.27 / 009-add_integrated_ethernet_mac_support.patch
1 From 49aa7ffcd9bd2d9a0af99fced7b8511160dbf345 Mon Sep 17 00:00:00 2001
2 From: Maxime Bizon <mbizon@freebox.fr>
3 Date: Sun, 21 Sep 2008 03:43:26 +0200
4 Subject: [PATCH] [MIPS] BCM63XX: Add integrated ethernet mac support.
5
6 Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
7 ---
8 arch/mips/bcm63xx/Makefile | 1 +
9 arch/mips/bcm63xx/dev-enet.c | 158 ++
10 drivers/net/Kconfig | 9 +
11 drivers/net/Makefile | 1 +
12 drivers/net/bcm63xx_enet.c | 1894 ++++++++++++++++++++++
13 drivers/net/bcm63xx_enet.h | 294 ++++
14 include/asm-mips/mach-bcm63xx/bcm63xx_dev_enet.h | 45 +
15 7 files changed, 2402 insertions(+), 0 deletions(-)
16 create mode 100644 arch/mips/bcm63xx/dev-enet.c
17 create mode 100644 drivers/net/bcm63xx_enet.c
18 create mode 100644 drivers/net/bcm63xx_enet.h
19 create mode 100644 include/asm-mips/mach-bcm63xx/bcm63xx_dev_enet.h
20
21 --- a/drivers/net/Kconfig
22 +++ b/drivers/net/Kconfig
23 @@ -1963,6 +1963,15 @@ config NE_H8300
24 Say Y here if you want to use the NE2000 compatible
25 controller on the Renesas H8/300 processor.
26
27 +config BCM63XX_ENET
28 + tristate "Broadcom 63xx internal mac support"
29 + depends on BCM63XX
30 + select MII
31 + select PHYLIB
32 + help
33 + This driver supports the ethernet MACs in the Broadcom 63xx
34 + MIPS chipset family (BCM63XX).
35 +
36 source "drivers/net/fs_enet/Kconfig"
37
38 endif # NET_ETHERNET
39 --- a/drivers/net/Makefile
40 +++ b/drivers/net/Makefile
41 @@ -123,6 +123,7 @@ obj-$(CONFIG_SB1250_MAC) += sb1250-mac.o
42 obj-$(CONFIG_B44) += b44.o
43 obj-$(CONFIG_FORCEDETH) += forcedeth.o
44 obj-$(CONFIG_NE_H8300) += ne-h8300.o
45 +obj-$(CONFIG_BCM63XX_ENET) += bcm63xx_enet.o
46 obj-$(CONFIG_AX88796) += ax88796.o
47
48 obj-$(CONFIG_TSI108_ETH) += tsi108_eth.o
This page took 0.046309 seconds and 5 git commands to generate.