X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fixp4xx%2Fpatches-2.6.33%2F300-avila_fetch_mac.patch;h=329fd957359584c50ae20e7e25ddd24ecdd4f7d7;hb=81062a12ac315994e929ac926e0fec1990948040;hp=d3ccb045c8cf89ad5af4096a326aacc05392878e;hpb=814981518984c1a642f59b59d16b305aa3d6eeeb;p=librecmc%2Flibrecmc.git diff --git a/target/linux/ixp4xx/patches-2.6.33/300-avila_fetch_mac.patch b/target/linux/ixp4xx/patches-2.6.33/300-avila_fetch_mac.patch index d3ccb045c8..329fd95735 100644 --- a/target/linux/ixp4xx/patches-2.6.33/300-avila_fetch_mac.patch +++ b/target/linux/ixp4xx/patches-2.6.33/300-avila_fetch_mac.patch @@ -15,11 +15,11 @@ +#include + #include - #include -@@ -29,6 +35,13 @@ - #include - #include + #include +@@ -31,6 +37,13 @@ + #define AVILA_SDA_PIN 7 + #define AVILA_SCL_PIN 6 +struct avila_board_info { + unsigned char *model; @@ -31,7 +31,7 @@ static struct flash_platform_data avila_flash_data = { .map_name = "cfi_probe", .width = 2, -@@ -132,16 +145,181 @@ static struct platform_device avila_pata +@@ -134,16 +147,181 @@ static struct platform_device avila_pata .resource = avila_pata_resources, }; @@ -213,7 +213,7 @@ avila_flash_resource.start = IXP4XX_EXP_BUS_BASE(0); avila_flash_resource.end = IXP4XX_EXP_BUS_BASE(0) + ixp4xx_exp_bus_size - 1; -@@ -159,7 +337,28 @@ static void __init avila_init(void) +@@ -161,7 +339,28 @@ static void __init avila_init(void) platform_device_register(&avila_pata);