X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ea77fa9c7d2349d2e0af570b6f3628d09e5b75f8..dcb392448ba2c6660a0e0c85ff6f1389e9b382d4:/target/linux/ixp4xx/patches-2.6.24/300-avila_fetch_mac.patch?ds=sidebyside diff --git a/target/linux/ixp4xx/patches-2.6.24/300-avila_fetch_mac.patch b/target/linux/ixp4xx/patches-2.6.24/300-avila_fetch_mac.patch index e4ad7a689..a266cced0 100644 --- a/target/linux/ixp4xx/patches-2.6.24/300-avila_fetch_mac.patch +++ b/target/linux/ixp4xx/patches-2.6.24/300-avila_fetch_mac.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c +Index: linux-2.6.24.7/arch/arm/mach-ixp4xx/avila-setup.c =================================================================== ---- linux-2.6.24.2.orig/arch/arm/mach-ixp4xx/avila-setup.c -+++ linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c +--- linux-2.6.24.7.orig/arch/arm/mach-ixp4xx/avila-setup.c ++++ linux-2.6.24.7/arch/arm/mach-ixp4xx/avila-setup.c @@ -14,10 +14,18 @@ #include #include @@ -35,9 +35,9 @@ Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c static struct flash_platform_data avila_flash_data = { .map_name = "cfi_probe", .width = 2, -@@ -192,10 +207,160 @@ static void __init avila_fixup(struct ma - t->hdr.size = 0; - } +@@ -163,10 +178,160 @@ static struct platform_device *avila_dev + &avila_uart + }; +static void __init avila_gw23xx_setup(void) +{ @@ -84,7 +84,7 @@ Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c + avila_npeb_data.phy_mask = 0x1e; /* ports 1-4 of the KS8995 switch */ + platform_device_register(&avila_npeb_device); + -+ avila_npec_data.phy = 5; ++ avila_npec_data.phy = 16; + platform_device_register(&avila_npec_device); +} + @@ -196,7 +196,7 @@ Index: linux-2.6.24.2/arch/arm/mach-ixp4xx/avila-setup.c avila_flash_resource.start = IXP4XX_EXP_BUS_BASE(0); avila_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + ixp4xx_exp_bus_size - 1; -@@ -213,9 +378,28 @@ static void __init avila_init(void) +@@ -184,9 +349,28 @@ static void __init avila_init(void) platform_device_register(&avila_pata);