[brcm63xx] use build system REVISION variable (#5317)
[openwrt-10.03/.git] / target / linux / brcm63xx / patches-2.6.27 / 010-add_integrated_ethernet_phy_support.patch
1 From 7eefcb968019804e024c8243e28afb1eebd674a2 Mon Sep 17 00:00:00 2001
2 From: Maxime Bizon <mbizon@freebox.fr>
3 Date: Sun, 21 Sep 2008 02:20:53 +0200
4 Subject: [PATCH] [MIPS] BCM63XX: Add integrated ethernet PHY support for phylib.
5
6 Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
7 ---
8  drivers/net/phy/Kconfig   |    6 ++
9  drivers/net/phy/Makefile  |    1 +
10  drivers/net/phy/bcm63xx.c |  132 +++++++++++++++++++++++++++++++++++++++++++++
11  3 files changed, 139 insertions(+), 0 deletions(-)
12  create mode 100644 drivers/net/phy/bcm63xx.c
13
14 --- a/drivers/net/phy/Kconfig
15 +++ b/drivers/net/phy/Kconfig
16 @@ -62,6 +62,12 @@ config BROADCOM_PHY
17           Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481
18           and BCM5482 PHYs.
19  
20 +config BCM63XX_PHY
21 +       tristate "Drivers for Broadcom 63xx SOCs internal PHY"
22 +       depends on BCM63XX
23 +       ---help---
24 +         Currently supports the 6348 and 6358 PHYs.
25 +
26  config ICPLUS_PHY
27         tristate "Drivers for ICPlus PHYs"
28         ---help---
29 --- a/drivers/net/phy/Makefile
30 +++ b/drivers/net/phy/Makefile
31 @@ -12,6 +12,7 @@ obj-$(CONFIG_QSEMI_PHY)               += qsemi.o
32  obj-$(CONFIG_SMSC_PHY)         += smsc.o
33  obj-$(CONFIG_VITESSE_PHY)      += vitesse.o
34  obj-$(CONFIG_BROADCOM_PHY)     += broadcom.o
35 +obj-$(CONFIG_BCM63XX_PHY)      += bcm63xx.o
36  obj-$(CONFIG_ICPLUS_PHY)       += icplus.o
37  obj-$(CONFIG_ADM6996_PHY)      += adm6996.o
38  obj-$(CONFIG_MVSWITCH_PHY)     += mvswitch.o