aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-30 21:29:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-30 21:29:25 +0000
commit35815395ca87083ed5be0e3bfc0b1a3fa20a2052 (patch)
tree6f4d333ec4e5049c134d0144bf438d15b506c822 /target/linux/brcm63xx/files
parent4876f4371d60ecc6d4e42e91f05a2cfb6d284893 (diff)
downloadmaster-187ad058-35815395ca87083ed5be0e3bfc0b1a3fa20a2052.tar.gz
master-187ad058-35815395ca87083ed5be0e3bfc0b1a3fa20a2052.tar.bz2
master-187ad058-35815395ca87083ed5be0e3bfc0b1a3fa20a2052.zip
[brcm63xx] add experimental support for 2.6.28.10, tested on bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17054 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files')
l---------target/linux/brcm63xx/files/arch/mips/include/asm/mach-bcm63xx1
-rw-r--r--target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/include/asm/mach-bcm63xx b/target/linux/brcm63xx/files/arch/mips/include/asm/mach-bcm63xx
new file mode 120000
index 0000000000..8482b2ecfb
--- /dev/null
+++ b/target/linux/brcm63xx/files/arch/mips/include/asm/mach-bcm63xx
@@ -0,0 +1 @@
+../../../../include/asm-mips/mach-bcm63xx \ No newline at end of file
diff --git a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
index 27d03eb5b9..d338bbc08d 100644
--- a/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
+++ b/target/linux/brcm63xx/files/drivers/net/bcm63xx_enet.c
@@ -1718,7 +1718,7 @@ static int __devinit bcm_enet_probe(struct platform_device *pdev)
if (priv->has_phy) {
bus = &priv->mii_bus;
bus->name = "bcm63xx_enet MII bus";
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
bus->dev = &pdev->dev;
#else
bus->parent = &pdev->dev;