summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.25/640-mvswitch.patch
blob: 85b8cb4f916c9fce58642c28beddeecbff432563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -70,6 +70,12 @@
 	---help---
 	  Currently supports the ADM6996F switch
 
+config MVSWITCH_PHY
+	tristate "Driver for Marvell switches"
+	select VLAN_8021Q
+	---help---
+	  Currently supports the Marvell 88E6060 switch.
+
 config FIXED_PHY
 	bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
 	depends on PHYLIB=y
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -13,6 +13,7 @@
 obj-$(CONFIG_BROADCOM_PHY)	+= broadcom.o
 obj-$(CONFIG_ICPLUS_PHY)	+= icplus.o
 obj-$(CONFIG_ADM6996_PHY)	+= adm6996.o
+obj-$(CONFIG_MVSWITCH_PHY)	+= mvswitch.o
 obj-$(CONFIG_REALTEK_PHY)	+= realtek.o
 obj-$(CONFIG_FIXED_PHY)		+= fixed.o
 obj-$(CONFIG_MDIO_BITBANG)	+= mdio-bitbang.o
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -35,6 +35,12 @@
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 
+static void mdio_dev_release(struct device *dev)
+{
+	/* nothing to do */
+}
+
+
 /**
  * mdiobus_register - bring up all the PHYs on a given bus and attach them to bus
  * @bus: target mii_bus
@@ -85,6 +91,7 @@
 
 			phydev->dev.parent = bus->dev;
 			phydev->dev.bus = &mdio_bus_type;
+			phydev->dev.release = mdio_dev_release;
 			snprintf(phydev->dev.bus_id, BUS_ID_SIZE, PHY_ID_FMT, bus->id, i);
 
 			phydev->bus = bus;
0.28-merged&id=5ff066b558bbb7551b633344480110a5519e36f8'>kernel: load after its dependencieshauke 2010-03-11[package] kernel: add missing CONFIG_SND_SOC_ALL_CODECS to kmod-sound-soc-cor...nico 2010-03-11[package] kernel: Add SoC sound support packagelars 2010-02-15Add audio feature flag.lars 2010-01-22[package] kernel: specify kmod packages dependencies in a uniform waynico 2009-12-23[package] kernel: enable kmod-sound-core on umlnico 2009-12-04kmod-sound-ps3: Modified target dependencieshcg 2009-11-24kmod-sound-core: Add new 2.6.32 kernel config optionhcg 2009-10-05[ps3] add missing kconfig option to ps3 sound moduleagb 2009-05-29[kernel] Config symbol is boolean.hauke 2009-04-17get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd 2009-03-19[sound] activate CONFIG_SND_PCM_OSS and CONFIG_SND_MIXER_OSS in kmod-sound-core.hauke 2009-02-06Added PS3 sound driverhcg 2009-01-12allow targets to override kernel related soundcore configurationmirko 2008-05-26remove hacks to disable modules on some targets now that we do have proper PC...nico 2008-05-18sound: Remove atheros restriction, since atheros can have usb sound cardsrwhitby 2008-01-01add sound packages for olpcblogic 2007-12-31add package for olpc sound moduleblogic 2007-12-09fixes Ticket #2792 (unresolved symbols) - added module snd-seq-device to pack...nbd 2007-12-03add i8x0 audio drivernbd 2007-11-25work around kernel config issues with sound modulesnbd 2007-09-21revert [8907] and rename kmod-soundcore and kmod-ipip modules in 7.09 as wellnico 2007-09-21add compat 'PROVIDES' for renamed kernel modulesnico 2007-09-20move kernel sound support in its own file from other.mk to sound.mk, rename k...nico