adds patch to make Tantos (psb6970) switch buildable again
[oweals/openwrt.git] / target / linux / generic / patches-3.3 / 729-phy-tantos.patch
1 Index: linux-3.3.7/drivers/net/phy/Kconfig
2 ===================================================================
3 --- linux-3.3.7.orig/drivers/net/phy/Kconfig    2012-05-27 18:09:00.129697447 +0200
4 +++ linux-3.3.7/drivers/net/phy/Kconfig 2012-05-29 18:31:44.462611635 +0200
5 @@ -207,3 +207,7 @@
6  config MICREL_KS8995MA
7         tristate "Micrel KS8995MA 5-ports 10/100 managed Ethernet switch"
8         depends on SPI
9 +
10 +config PSB6970_PHY
11 +       tristate "Lantiq XWAY Tantos (PSB6970) Ethernet switch"
12 +       select SWCONFIG
13 Index: linux-3.3.7/drivers/net/phy/Makefile
14 ===================================================================
15 --- linux-3.3.7.orig/drivers/net/phy/Makefile   2012-05-27 18:09:00.129697447 +0200
16 +++ linux-3.3.7/drivers/net/phy/Makefile        2012-05-29 18:30:59.286610634 +0200
17 @@ -28,6 +28,7 @@
18  obj-$(CONFIG_RTL8367_PHY)      += rtl8367.o
19  obj-$(CONFIG_LSI_ET1011C_PHY)  += et1011c.o
20  obj-$(CONFIG_MICREL_PHY)       += micrel.o
21 +obj-$(CONFIG_PSB6970_PHY)      += psb6970.o
22  obj-$(CONFIG_FIXED_PHY)                += fixed.o
23  obj-$(CONFIG_MDIO_BITBANG)     += mdio-bitbang.o
24  obj-$(CONFIG_MDIO_GPIO)                += mdio-gpio.o