Date:2010-08-14 23:07:42 (8 years 3 months ago)
Author:juhosg
Commit:b917bcd23526e37a01f04fb8cb85d40f68e9f9ee
Message:ixp4xx: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22649 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: target/linux/ixp4xx/patches-2.6.33/050-disable_dmabounce.patch (1 diff)
target/linux/ixp4xx/patches-2.6.33/402-ixp4xx_gpiolib.patch (1 diff)
target/linux/ixp4xx/patches-2.6.33/604-arm-ixp4xx-sched_clock.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/020-gateworks_i2c_pld.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/050-disable_dmabounce.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.34/100-wg302v2_gateway7001_mac_plat_info.patch (2 diffs)
target/linux/ixp4xx/patches-2.6.34/170-ixdpg425_mac_plat_info.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/191-cambria_optional_uart.patch (7 diffs)
target/linux/ixp4xx/patches-2.6.34/201-npe_driver_print_license_location.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/203-npe_driver_mask_phy_features.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/205-npe_driver_separate_phy_functions.patch (7 diffs)
target/linux/ixp4xx/patches-2.6.34/206-npe_driver_add_update_link_function.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.34/207-npe_driver_multiphy_support.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch (3 diffs)
target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.34/311-gtwx5717_mac_plat_info.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/402-ixp4xx_gpiolib.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/601-arm-dma_free_coherent.patch (1 diff)
target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch (2 diffs)
target/linux/ixp4xx/patches-2.6.35/020-gateworks_i2c_pld.patch (2 diffs)
target/linux/ixp4xx/patches-2.6.35/100-wg302v2_gateway7001_mac_plat_info.patch (2 diffs)
target/linux/ixp4xx/patches-2.6.35/105-wg302v1_support.patch (1 diff)
target/linux/ixp4xx/patches-2.6.35/110-pronghorn_series_support.patch (1 diff)
target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch (1 diff)
target/linux/ixp4xx/patches-2.6.35/191-cambria_optional_uart.patch (9 diffs)
target/linux/ixp4xx/patches-2.6.35/201-npe_driver_print_license_location.patch (1 diff)
target/linux/ixp4xx/patches-2.6.35/203-npe_driver_mask_phy_features.patch (1 diff)
target/linux/ixp4xx/patches-2.6.35/205-npe_driver_separate_phy_functions.patch (7 diffs)
target/linux/ixp4xx/patches-2.6.35/206-npe_driver_add_update_link_function.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.35/302-avila_gpio_device.patch (1 diff)
target/linux/ixp4xx/patches-2.6.35/304-ixp4xx_eth_jumboframe.patch (4 diffs)
target/linux/ixp4xx/patches-2.6.35/311-gtwx5717_mac_plat_info.patch (1 diff)
target/linux/ixp4xx/patches-2.6.35/402-ixp4xx_gpiolib.patch (3 diffs)

Change Details

target/linux/ixp4xx/patches-2.6.33/050-disable_dmabounce.patch
11--- a/arch/arm/Kconfig
22+++ b/arch/arm/Kconfig
3@@ -417,7 +417,6 @@ config ARCH_IXP4XX
3@@ -418,7 +418,6 @@ config ARCH_IXP4XX
44     select GENERIC_GPIO
55     select GENERIC_TIME
66     select GENERIC_CLOCKEVENTS
target/linux/ixp4xx/patches-2.6.33/402-ixp4xx_gpiolib.patch
5050
5151--- a/arch/arm/Kconfig
5252+++ b/arch/arm/Kconfig
53@@ -417,6 +417,7 @@ config ARCH_IXP4XX
53@@ -418,6 +418,7 @@ config ARCH_IXP4XX
5454     select GENERIC_GPIO
5555     select GENERIC_TIME
5656     select GENERIC_CLOCKEVENTS
target/linux/ixp4xx/patches-2.6.33/604-arm-ixp4xx-sched_clock.patch
11--- a/arch/arm/mach-ixp4xx/common.c
22+++ b/arch/arm/mach-ixp4xx/common.c
3@@ -427,6 +427,17 @@ static void __init ixp4xx_clocksource_in
3@@ -466,6 +466,17 @@ static void __init ixp4xx_clocksource_in
44 }
55
66 /*
target/linux/ixp4xx/patches-2.6.34/020-gateworks_i2c_pld.patch
374374+MODULE_AUTHOR("Chris Lang");
375375--- a/drivers/gpio/Kconfig
376376+++ b/drivers/gpio/Kconfig
377@@ -196,6 +196,14 @@ config GPIO_LANGWELL
378     help
379       Say Y here to support Intel Moorestown platform GPIO.
377@@ -275,6 +275,14 @@ config GPIO_TIMBERDALE
378     ---help---
379     Add support for the GPIO IP in the timberdale FPGA.
380380
381381+config GPIO_GW_I2C_PLD
382382+ tristate "Gateworks I2C PLD GPIO Expander"
target/linux/ixp4xx/patches-2.6.34/050-disable_dmabounce.patch
1+++ b/arch/arm/Kconfig 2010-05-18 17:44:39.000000000 +0200
2@@ -433,7 +433,6 @@ config ARCH_IXP4XX
1--- a/arch/arm/Kconfig
2@@ -434,7 +434,6 @@ config ARCH_IXP4XX
33     select GENERIC_GPIO
44     select GENERIC_TIME
55     select GENERIC_CLOCKEVENTS
...... 
88     help
99       Support for Intel's IXP4XX (XScale) family of processors.
1010
11+++ b/arch/arm/mach-ixp4xx/Kconfig 2010-05-18 17:44:39.000000000 +0200
11--- a/arch/arm/mach-ixp4xx/Kconfig
1212@@ -199,6 +199,43 @@ config IXP4XX_INDIRECT_PCI
1313       need to use the indirect method instead. If you don't know
1414       what you need, leave this option unselected.
...... 
5454 config IXP4XX_QMGR
5555     tristate "IXP4xx Queue Manager support"
5656     help
57+++ b/arch/arm/mach-ixp4xx/common-pci.c 2010-05-18 17:44:39.000000000 +0200
57--- a/arch/arm/mach-ixp4xx/common-pci.c
5858@@ -321,27 +321,33 @@ static int abort_handler(unsigned long a
5959  */
6060 static int ixp4xx_pci_platform_notify(struct device *dev)
...... 
103103
104104 void __init ixp4xx_pci_preinit(void)
105105 {
106+++ b/arch/arm/mach-ixp4xx/include/mach/memory.h 2010-05-18 17:44:39.000000000 +0200
106--- a/arch/arm/mach-ixp4xx/include/mach/memory.h
107107@@ -16,10 +16,12 @@
108108
109109 #if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
target/linux/ixp4xx/patches-2.6.34/100-wg302v2_gateway7001_mac_plat_info.patch
11--- a/arch/arm/mach-ixp4xx/gateway7001-setup.c
22+++ b/arch/arm/mach-ixp4xx/gateway7001-setup.c
3@@ -76,9 +76,35 @@ static struct platform_device gateway700
3@@ -75,9 +75,35 @@ static struct platform_device gateway700
44     .resource = &gateway7001_uart_resource,
55 };
66
...... 
3939 static void __init gateway7001_init(void)
4040--- a/arch/arm/mach-ixp4xx/wg302v2-setup.c
4141+++ b/arch/arm/mach-ixp4xx/wg302v2-setup.c
42@@ -77,9 +77,26 @@ static struct platform_device wg302v2_ua
42@@ -76,9 +76,26 @@ static struct platform_device wg302v2_ua
4343     .resource = &wg302v2_uart_resource,
4444 };
4545
target/linux/ixp4xx/patches-2.6.34/170-ixdpg425_mac_plat_info.patch
11--- a/arch/arm/mach-ixp4xx/coyote-setup.c
22+++ b/arch/arm/mach-ixp4xx/coyote-setup.c
3@@ -82,9 +82,37 @@ static struct platform_device coyote_uar
3@@ -81,9 +81,37 @@ static struct platform_device coyote_uar
44     .resource = &coyote_uart_resource,
55 };
66
target/linux/ixp4xx/patches-2.6.34/191-cambria_optional_uart.patch
124124     unsigned int custom_divisor;
125125--- a/drivers/serial/8250.c
126126+++ b/drivers/serial/8250.c
127@@ -409,6 +409,20 @@ static void mem_serial_out(struct uart_p
127@@ -410,6 +410,20 @@ static void mem_serial_out(struct uart_p
128128     writeb(value, p->membase + offset);
129129 }
130130
...... 
145145 static void mem32_serial_out(struct uart_port *p, int offset, int value)
146146 {
147147     offset = map_8250_out_reg(p, offset) << p->regshift;
148@@ -502,6 +516,11 @@ static void set_io_from_upio(struct uart
148@@ -503,6 +517,11 @@ static void set_io_from_upio(struct uart
149149         p->serial_out = mem32_serial_out;
150150         break;
151151
...... 
157157 #ifdef CONFIG_SERIAL_8250_AU1X00
158158     case UPIO_AU:
159159         p->serial_in = au_serial_in;
160@@ -534,6 +553,7 @@ serial_out_sync(struct uart_8250_port *u
160@@ -535,6 +554,7 @@ serial_out_sync(struct uart_8250_port *u
161161     switch (p->iotype) {
162162     case UPIO_MEM:
163163     case UPIO_MEM32:
...... 
165165 #ifdef CONFIG_SERIAL_8250_AU1X00
166166     case UPIO_AU:
167167 #endif
168@@ -2450,6 +2470,7 @@ static int serial8250_request_std_resour
168@@ -2460,6 +2480,7 @@ static int serial8250_request_std_resour
169169     case UPIO_MEM32:
170170     case UPIO_MEM:
171171     case UPIO_DWAPB:
...... 
173173         if (!up->port.mapbase)
174174             break;
175175
176@@ -2487,6 +2508,7 @@ static void serial8250_release_std_resou
176@@ -2497,6 +2518,7 @@ static void serial8250_release_std_resou
177177     case UPIO_MEM32:
178178     case UPIO_MEM:
179179     case UPIO_DWAPB:
...... 
181181         if (!up->port.mapbase)
182182             break;
183183
184@@ -2964,6 +2986,7 @@ static int __devinit serial8250_probe(st
184@@ -2995,6 +3017,7 @@ static int __devinit serial8250_probe(st
185185         port.serial_in = p->serial_in;
186186         port.serial_out = p->serial_out;
187187         port.dev = &dev->dev;
...... 
189189         port.irqflags |= irqflag;
190190         ret = serial8250_register_port(&port);
191191         if (ret < 0) {
192@@ -3113,6 +3136,7 @@ int serial8250_register_port(struct uart
192@@ -3144,6 +3167,7 @@ int serial8250_register_port(struct uart
193193         uart->port.iotype = port->iotype;
194194         uart->port.flags = port->flags | UPF_BOOT_AUTOCONF;
195195         uart->port.mapbase = port->mapbase;
target/linux/ixp4xx/patches-2.6.34/201-npe_driver_print_license_location.patch
11--- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
22+++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
3@@ -583,6 +583,8 @@ int npe_load_firmware(struct npe *npe, c
3@@ -582,6 +582,8 @@ int npe_load_firmware(struct npe *npe, c
44     npe_reset(npe);
55 #endif
66
target/linux/ixp4xx/patches-2.6.34/203-npe_driver_mask_phy_features.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -1217,6 +1217,10 @@ static int __devinit eth_init_one(struct
3@@ -1221,6 +1221,10 @@ static int __devinit eth_init_one(struct
44     if ((err = IS_ERR(port->phydev)))
55         goto err_free_mem;
66
target/linux/ixp4xx/patches-2.6.34/205-npe_driver_separate_phy_functions.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -396,6 +396,50 @@ static void ixp4xx_adjust_link(struct ne
3@@ -397,6 +397,50 @@ static void ixp4xx_adjust_link(struct ne
44            dev->name, port->speed, port->duplex ? "full" : "half");
55 }
66
...... 
5151
5252 static inline void debug_pkt(struct net_device *dev, const char *func,
5353                  u8 *data, int len)
54@@ -1005,8 +1049,7 @@ static int eth_open(struct net_device *d
54@@ -1009,8 +1053,7 @@ static int eth_open(struct net_device *d
5555         return err;
5656     }
5757
...... 
6161
6262     for (i = 0; i < ETH_ALEN; i++)
6363         __raw_writel(dev->dev_addr[i], &port->regs->hw_addr[i]);
64@@ -1127,7 +1170,7 @@ static int eth_close(struct net_device *
64@@ -1131,7 +1174,7 @@ static int eth_close(struct net_device *
6565         printk(KERN_CRIT "%s: unable to disable loopback\n",
6666                dev->name);
6767
...... 
7070
7171     if (!ports_open)
7272         qmgr_disable_irq(TXDONE_QUEUE);
73@@ -1153,7 +1196,6 @@ static int __devinit eth_init_one(struct
73@@ -1157,7 +1200,6 @@ static int __devinit eth_init_one(struct
7474     struct net_device *dev;
7575     struct eth_plat_info *plat = pdev->dev.platform_data;
7676     u32 regs_phys;
...... 
7878     int err;
7979
8080     if (!(dev = alloc_etherdev(sizeof(struct port))))
81@@ -1211,18 +1253,10 @@ static int __devinit eth_init_one(struct
81@@ -1215,18 +1257,10 @@ static int __devinit eth_init_one(struct
8282     __raw_writel(DEFAULT_CORE_CNTRL, &port->regs->core_control);
8383     udelay(50);
8484
...... 
9999     if ((err = register_netdev(dev)))
100100         goto err_phy_dis;
101101
102@@ -1232,7 +1266,7 @@ static int __devinit eth_init_one(struct
102@@ -1236,7 +1270,7 @@ static int __devinit eth_init_one(struct
103103     return 0;
104104
105105 err_phy_dis:
...... 
108108 err_free_mem:
109109     npe_port_tab[NPE_ID(port->id)] = NULL;
110110     platform_set_drvdata(pdev, NULL);
111@@ -1250,7 +1284,7 @@ static int __devexit eth_remove_one(stru
111@@ -1254,7 +1288,7 @@ static int __devexit eth_remove_one(stru
112112     struct port *port = netdev_priv(dev);
113113
114114     unregister_netdev(dev);
target/linux/ixp4xx/patches-2.6.34/206-npe_driver_add_update_link_function.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -168,7 +168,7 @@ struct port {
3@@ -169,7 +169,7 @@ struct port {
44     struct desc *desc_tab; /* coherent */
55     u32 desc_tab_phys;
66     int id; /* logical port ID */
...... 
99     u8 firmware[4];
1010 };
1111
12@@ -365,37 +365,52 @@ static void ixp4xx_mdio_remove(void)
12@@ -366,37 +366,52 @@ static void ixp4xx_mdio_remove(void)
1313     mdiobus_free(mdio_bus);
1414 }
1515
...... 
7777 static int ixp4xx_phy_connect(struct net_device *dev)
7878 {
7979     struct port *port = netdev_priv(dev);
80@@ -430,7 +445,6 @@ static void ixp4xx_phy_start(struct net_
80@@ -431,7 +446,6 @@ static void ixp4xx_phy_start(struct net_
8181 {
8282     struct port *port = netdev_priv(dev);
8383
...... 
8585     phy_start(port->phydev);
8686 }
8787
88@@ -1260,6 +1274,10 @@ static int __devinit eth_init_one(struct
88@@ -1264,6 +1278,10 @@ static int __devinit eth_init_one(struct
8989     if ((err = register_netdev(dev)))
9090         goto err_phy_dis;
9191
target/linux/ixp4xx/patches-2.6.34/207-npe_driver_multiphy_support.patch
3737 /* Information about built-in HSS (synchronous serial) interfaces */
3838--- a/drivers/net/arm/ixp4xx_eth.c
3939+++ b/drivers/net/arm/ixp4xx_eth.c
40@@ -417,6 +417,37 @@ static int ixp4xx_phy_connect(struct net
40@@ -418,6 +418,37 @@ static int ixp4xx_phy_connect(struct net
4141     struct eth_plat_info *plat = port->plat;
4242     char phy_id[MII_BUS_ID_SIZE + 3];
4343
...... 
7575     snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT, "0", plat->phy);
7676     port->phydev = phy_connect(dev, phy_id, &ixp4xx_adjust_link, 0,
7777                    PHY_INTERFACE_MODE_MII);
78@@ -438,21 +469,32 @@ static void ixp4xx_phy_disconnect(struct
78@@ -439,21 +470,32 @@ static void ixp4xx_phy_disconnect(struct
7979 {
8080     struct port *port = netdev_priv(dev);
8181
...... 
111111 }
112112
113113 static inline void debug_pkt(struct net_device *dev, const char *func,
114@@ -826,6 +868,10 @@ static int eth_ioctl(struct net_device *
114@@ -830,6 +872,10 @@ static int eth_ioctl(struct net_device *
115115
116116     if (!netif_running(dev))
117117         return -EINVAL;
...... 
122122     return phy_mii_ioctl(port->phydev, if_mii(req), cmd);
123123 }
124124
125@@ -845,18 +891,30 @@ static void ixp4xx_get_drvinfo(struct ne
125@@ -849,18 +895,30 @@ static void ixp4xx_get_drvinfo(struct ne
126126 static int ixp4xx_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
127127 {
128128     struct port *port = netdev_priv(dev);
target/linux/ixp4xx/patches-2.6.34/295-latch_led_driver.patch
11--- a/drivers/leds/Kconfig
22+++ b/drivers/leds/Kconfig
3@@ -157,6 +157,13 @@ config LEDS_LP3944
3@@ -166,6 +166,13 @@ config LEDS_LP3944
44       To compile this driver as a module, choose M here: the
55       module will be called leds-lp3944.
66
...... 
1313+
1414 config LEDS_CLEVO_MAIL
1515     tristate "Mail LED on Clevo notebook"
16     depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI
16     depends on X86 && SERIO_I8042 && DMI
1717--- /dev/null
1818+++ b/drivers/leds/leds-latch.c
1919@@ -0,0 +1,150 @@
...... 
169169+MODULE_LICENSE("GPL");
170170--- a/drivers/leds/Makefile
171171+++ b/drivers/leds/Makefile
172@@ -20,6 +20,7 @@ obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-c
172@@ -21,6 +21,7 @@ obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-c
173173 obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
174174 obj-$(CONFIG_LEDS_PCA9532) += leds-pca9532.o
175175 obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
target/linux/ixp4xx/patches-2.6.34/302-avila_gpio_device.patch
11--- a/arch/arm/mach-ixp4xx/avila-setup.c
22+++ b/arch/arm/mach-ixp4xx/avila-setup.c
3@@ -38,6 +38,13 @@
3@@ -36,6 +36,13 @@
44 #define AVILA_SDA_PIN 7
55 #define AVILA_SCL_PIN 6
66
target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -52,7 +52,7 @@
3@@ -53,7 +53,7 @@
44
55 #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS))
66 #define REGS_SIZE 0x1000
...... 
99 #define RX_BUFF_SIZE ALIGN((NET_IP_ALIGN) + MAX_MRU, 4)
1010
1111 #define NAPI_WEIGHT 16
12@@ -1061,6 +1061,32 @@ static void destroy_queues(struct port *
12@@ -1065,6 +1065,32 @@ static void destroy_queues(struct port *
1313     }
1414 }
1515
...... 
4242 static int eth_open(struct net_device *dev)
4343 {
4444     struct port *port = netdev_priv(dev);
45@@ -1112,6 +1138,8 @@ static int eth_open(struct net_device *d
45@@ -1116,6 +1142,8 @@ static int eth_open(struct net_device *d
4646     if (npe_send_recv_message(port->npe, &msg, "ETH_SET_FIREWALL_MODE"))
4747         return -EIO;
4848
...... 
5151     if ((err = request_queues(port)) != 0)
5252         return err;
5353
54@@ -1251,7 +1279,26 @@ static int eth_close(struct net_device *
54@@ -1255,7 +1283,26 @@ static int eth_close(struct net_device *
5555     return 0;
5656 }
5757
target/linux/ixp4xx/patches-2.6.34/311-gtwx5717_mac_plat_info.patch
11--- a/arch/arm/mach-ixp4xx/gtwx5715-setup.c
22+++ b/arch/arm/mach-ixp4xx/gtwx5715-setup.c
3@@ -179,10 +179,37 @@ static struct platform_device gtwx5715_s
3@@ -178,10 +178,37 @@ static struct platform_device gtwx5715_s
44     },
55 };
66
target/linux/ixp4xx/patches-2.6.34/402-ixp4xx_gpiolib.patch
5050
5151--- a/arch/arm/Kconfig
5252+++ b/arch/arm/Kconfig
53@@ -417,6 +417,7 @@ config ARCH_IXP4XX
53@@ -434,6 +434,7 @@ config ARCH_IXP4XX
5454     select GENERIC_GPIO
5555     select GENERIC_TIME
5656     select GENERIC_CLOCKEVENTS
target/linux/ixp4xx/patches-2.6.34/601-arm-dma_free_coherent.patch
11--- a/arch/arm/mm/dma-mapping.c
22+++ b/arch/arm/mm/dma-mapping.c
3@@ -384,7 +384,8 @@ EXPORT_SYMBOL(dma_mmap_writecombine);
3@@ -381,7 +381,8 @@ EXPORT_SYMBOL(dma_mmap_writecombine);
44  */
55 void dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t handle)
66 {
target/linux/ixp4xx/patches-2.6.34/603-arm-kluin-array-indexing.patch
11--- a/arch/arm/kernel/setup.c
22+++ b/arch/arm/kernel/setup.c
3@@ -322,12 +322,13 @@ static void __init setup_processor(void)
3@@ -323,12 +323,13 @@ static void __init setup_processor(void)
44 void cpu_init(void)
55 {
66     unsigned int cpu = smp_processor_id();
...... 
1515
1616     /*
1717      * Define the placement constraint for the inline asm directive below.
18@@ -386,13 +387,14 @@ static struct machine_desc * __init setu
18@@ -387,13 +388,14 @@ static struct machine_desc * __init setu
1919
2020 static int __init arm_add_memory(unsigned long start, unsigned long size)
2121 {
target/linux/ixp4xx/patches-2.6.35/020-gateworks_i2c_pld.patch
374374+MODULE_AUTHOR("Chris Lang");
375375--- a/drivers/gpio/Kconfig
376376+++ b/drivers/gpio/Kconfig
377@@ -221,6 +221,14 @@ config GPIO_TIMBERDALE
378     ---help---
379     Add support for the GPIO IP in the timberdale FPGA.
377@@ -298,6 +298,14 @@ config GPIO_RDC321X
378       Support for the RDC R321x SoC GPIOs over southbridge
379       PCI configuration space.
380380
381381+config GPIO_GW_I2C_PLD
382382+ tristate "Gateworks I2C PLD GPIO Expander"
...... 
391391 config GPIO_MAX7301
392392--- a/drivers/gpio/Makefile
393393+++ b/drivers/gpio/Makefile
394@@ -31,3 +31,4 @@ obj-$(CONFIG_GPIO_WM8994) += wm8994-gpio
394@@ -35,3 +35,4 @@ obj-$(CONFIG_GPIO_WM8994) += wm8994-gpio
395395 obj-$(CONFIG_GPIO_SCH) += sch_gpio.o
396396 obj-$(CONFIG_GPIO_RDC321X) += rdc321x-gpio.o
397397 obj-$(CONFIG_GPIO_JANZ_TTL) += janz-ttl.o
target/linux/ixp4xx/patches-2.6.35/100-wg302v2_gateway7001_mac_plat_info.patch
11--- a/arch/arm/mach-ixp4xx/gateway7001-setup.c
22+++ b/arch/arm/mach-ixp4xx/gateway7001-setup.c
3@@ -76,9 +76,35 @@ static struct platform_device gateway700
3@@ -75,9 +75,35 @@ static struct platform_device gateway700
44     .resource = &gateway7001_uart_resource,
55 };
66
...... 
3939 static void __init gateway7001_init(void)
4040--- a/arch/arm/mach-ixp4xx/wg302v2-setup.c
4141+++ b/arch/arm/mach-ixp4xx/wg302v2-setup.c
42@@ -77,9 +77,26 @@ static struct platform_device wg302v2_ua
42@@ -76,9 +76,26 @@ static struct platform_device wg302v2_ua
4343     .resource = &wg302v2_uart_resource,
4444 };
4545
target/linux/ixp4xx/patches-2.6.35/105-wg302v1_support.patch
11--- a/arch/arm/configs/ixp4xx_defconfig
22+++ b/arch/arm/configs/ixp4xx_defconfig
3@@ -155,6 +155,7 @@ CONFIG_MACH_AVILA=y
3@@ -13,6 +13,7 @@ CONFIG_MACH_AVILA=y
44 CONFIG_MACH_LOFT=y
55 CONFIG_ARCH_ADI_COYOTE=y
66 CONFIG_MACH_GATEWAY7001=y
target/linux/ixp4xx/patches-2.6.35/110-pronghorn_series_support.patch
11--- a/arch/arm/configs/ixp4xx_defconfig
22+++ b/arch/arm/configs/ixp4xx_defconfig
3@@ -157,6 +157,8 @@ CONFIG_ARCH_ADI_COYOTE=y
3@@ -15,6 +15,8 @@ CONFIG_ARCH_ADI_COYOTE=y
44 CONFIG_MACH_GATEWAY7001=y
55 CONFIG_MACH_WG302V1=y
66 CONFIG_MACH_WG302V2=y
target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch
11--- a/arch/arm/mach-ixp4xx/coyote-setup.c
22+++ b/arch/arm/mach-ixp4xx/coyote-setup.c
3@@ -82,9 +82,37 @@ static struct platform_device coyote_uar
3@@ -81,9 +81,37 @@ static struct platform_device coyote_uar
44     .resource = &coyote_uart_resource,
55 };
66
target/linux/ixp4xx/patches-2.6.35/191-cambria_optional_uart.patch
106106     unsigned int type; /* If UPF_FIXED_TYPE */
107107--- a/include/linux/serial_core.h
108108+++ b/include/linux/serial_core.h
109@@ -288,6 +288,7 @@ struct uart_port {
109@@ -293,6 +293,7 @@ struct uart_port {
110110 #define UPIO_TSI (5) /* Tsi108/109 type IO */
111111 #define UPIO_DWAPB (6) /* DesignWare APB UART */
112112 #define UPIO_RM9000 (7) /* RM9000 type IO */
...... 
114114
115115     unsigned int read_status_mask; /* driver specific */
116116     unsigned int ignore_status_mask; /* driver specific */
117@@ -330,6 +331,7 @@ struct uart_port {
117@@ -335,6 +336,7 @@ struct uart_port {
118118
119119     unsigned int mctrl; /* current modem ctrl settings */
120120     unsigned int timeout; /* character-based timeout */
...... 
124124     unsigned int custom_divisor;
125125--- a/drivers/serial/8250.c
126126+++ b/drivers/serial/8250.c
127@@ -409,6 +409,20 @@ static void mem_serial_out(struct uart_p
127@@ -410,6 +410,20 @@ static void mem_serial_out(struct uart_p
128128     writeb(value, p->membase + offset);
129129 }
130130
...... 
145145 static void mem32_serial_out(struct uart_port *p, int offset, int value)
146146 {
147147     offset = map_8250_out_reg(p, offset) << p->regshift;
148@@ -502,6 +516,11 @@ static void set_io_from_upio(struct uart
148@@ -503,6 +517,11 @@ static void set_io_from_upio(struct uart
149149         p->serial_out = mem32_serial_out;
150150         break;
151151
...... 
157157 #ifdef CONFIG_SERIAL_8250_AU1X00
158158     case UPIO_AU:
159159         p->serial_in = au_serial_in;
160@@ -534,6 +553,7 @@ serial_out_sync(struct uart_8250_port *u
160@@ -535,6 +554,7 @@ serial_out_sync(struct uart_8250_port *u
161161     switch (p->iotype) {
162162     case UPIO_MEM:
163163     case UPIO_MEM32:
...... 
165165 #ifdef CONFIG_SERIAL_8250_AU1X00
166166     case UPIO_AU:
167167 #endif
168@@ -2450,6 +2470,7 @@ static int serial8250_request_std_resour
168@@ -2460,6 +2480,7 @@ static int serial8250_request_std_resour
169169     case UPIO_MEM32:
170170     case UPIO_MEM:
171171     case UPIO_DWAPB:
...... 
173173         if (!up->port.mapbase)
174174             break;
175175
176@@ -2487,6 +2508,7 @@ static void serial8250_release_std_resou
176@@ -2497,6 +2518,7 @@ static void serial8250_release_std_resou
177177     case UPIO_MEM32:
178178     case UPIO_MEM:
179179     case UPIO_DWAPB:
...... 
181181         if (!up->port.mapbase)
182182             break;
183183
184@@ -2964,6 +2986,7 @@ static int __devinit serial8250_probe(st
184@@ -2995,6 +3017,7 @@ static int __devinit serial8250_probe(st
185185         port.serial_in = p->serial_in;
186186         port.serial_out = p->serial_out;
187187         port.dev = &dev->dev;
...... 
189189         port.irqflags |= irqflag;
190190         ret = serial8250_register_port(&port);
191191         if (ret < 0) {
192@@ -3113,6 +3136,7 @@ int serial8250_register_port(struct uart
192@@ -3144,6 +3167,7 @@ int serial8250_register_port(struct uart
193193         uart->port.iotype = port->iotype;
194194         uart->port.flags = port->flags | UPF_BOOT_AUTOCONF;
195195         uart->port.mapbase = port->mapbase;
target/linux/ixp4xx/patches-2.6.35/201-npe_driver_print_license_location.patch
11--- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c
22+++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c
3@@ -583,6 +583,8 @@ int npe_load_firmware(struct npe *npe, c
3@@ -582,6 +582,8 @@ int npe_load_firmware(struct npe *npe, c
44     npe_reset(npe);
55 #endif
66
target/linux/ixp4xx/patches-2.6.35/203-npe_driver_mask_phy_features.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -1217,6 +1217,10 @@ static int __devinit eth_init_one(struct
3@@ -1220,6 +1220,10 @@ static int __devinit eth_init_one(struct
44     if ((err = IS_ERR(port->phydev)))
55         goto err_free_mem;
66
target/linux/ixp4xx/patches-2.6.35/205-npe_driver_separate_phy_functions.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -396,6 +396,50 @@ static void ixp4xx_adjust_link(struct ne
3@@ -397,6 +397,50 @@ static void ixp4xx_adjust_link(struct ne
44            dev->name, port->speed, port->duplex ? "full" : "half");
55 }
66
...... 
5151
5252 static inline void debug_pkt(struct net_device *dev, const char *func,
5353                  u8 *data, int len)
54@@ -1005,8 +1049,7 @@ static int eth_open(struct net_device *d
54@@ -1008,8 +1052,7 @@ static int eth_open(struct net_device *d
5555         return err;
5656     }
5757
...... 
6161
6262     for (i = 0; i < ETH_ALEN; i++)
6363         __raw_writel(dev->dev_addr[i], &port->regs->hw_addr[i]);
64@@ -1127,7 +1170,7 @@ static int eth_close(struct net_device *
64@@ -1130,7 +1173,7 @@ static int eth_close(struct net_device *
6565         printk(KERN_CRIT "%s: unable to disable loopback\n",
6666                dev->name);
6767
...... 
7070
7171     if (!ports_open)
7272         qmgr_disable_irq(TXDONE_QUEUE);
73@@ -1153,7 +1196,6 @@ static int __devinit eth_init_one(struct
73@@ -1156,7 +1199,6 @@ static int __devinit eth_init_one(struct
7474     struct net_device *dev;
7575     struct eth_plat_info *plat = pdev->dev.platform_data;
7676     u32 regs_phys;
...... 
7878     int err;
7979
8080     if (!(dev = alloc_etherdev(sizeof(struct port))))
81@@ -1211,18 +1253,10 @@ static int __devinit eth_init_one(struct
81@@ -1214,18 +1256,10 @@ static int __devinit eth_init_one(struct
8282     __raw_writel(DEFAULT_CORE_CNTRL, &port->regs->core_control);
8383     udelay(50);
8484
...... 
9999     if ((err = register_netdev(dev)))
100100         goto err_phy_dis;
101101
102@@ -1232,7 +1266,7 @@ static int __devinit eth_init_one(struct
102@@ -1235,7 +1269,7 @@ static int __devinit eth_init_one(struct
103103     return 0;
104104
105105 err_phy_dis:
...... 
108108 err_free_mem:
109109     npe_port_tab[NPE_ID(port->id)] = NULL;
110110     platform_set_drvdata(pdev, NULL);
111@@ -1250,7 +1284,7 @@ static int __devexit eth_remove_one(stru
111@@ -1253,7 +1287,7 @@ static int __devexit eth_remove_one(stru
112112     struct port *port = netdev_priv(dev);
113113
114114     unregister_netdev(dev);
target/linux/ixp4xx/patches-2.6.35/206-npe_driver_add_update_link_function.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -168,7 +168,7 @@ struct port {
3@@ -169,7 +169,7 @@ struct port {
44     struct desc *desc_tab; /* coherent */
55     u32 desc_tab_phys;
66     int id; /* logical port ID */
...... 
99     u8 firmware[4];
1010 };
1111
12@@ -365,37 +365,52 @@ static void ixp4xx_mdio_remove(void)
12@@ -366,37 +366,52 @@ static void ixp4xx_mdio_remove(void)
1313     mdiobus_free(mdio_bus);
1414 }
1515
...... 
7777 static int ixp4xx_phy_connect(struct net_device *dev)
7878 {
7979     struct port *port = netdev_priv(dev);
80@@ -430,7 +445,6 @@ static void ixp4xx_phy_start(struct net_
80@@ -431,7 +446,6 @@ static void ixp4xx_phy_start(struct net_
8181 {
8282     struct port *port = netdev_priv(dev);
8383
...... 
8585     phy_start(port->phydev);
8686 }
8787
88@@ -1260,6 +1274,10 @@ static int __devinit eth_init_one(struct
88@@ -1263,6 +1277,10 @@ static int __devinit eth_init_one(struct
8989     if ((err = register_netdev(dev)))
9090         goto err_phy_dis;
9191
target/linux/ixp4xx/patches-2.6.35/207-npe_driver_multiphy_support.patch
3737 /* Information about built-in HSS (synchronous serial) interfaces */
3838--- a/drivers/net/arm/ixp4xx_eth.c
3939+++ b/drivers/net/arm/ixp4xx_eth.c
40@@ -417,6 +417,37 @@ static int ixp4xx_phy_connect(struct net
40@@ -418,6 +418,37 @@ static int ixp4xx_phy_connect(struct net
4141     struct eth_plat_info *plat = port->plat;
4242     char phy_id[MII_BUS_ID_SIZE + 3];
4343
...... 
7575     snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT, "0", plat->phy);
7676     port->phydev = phy_connect(dev, phy_id, &ixp4xx_adjust_link, 0,
7777                    PHY_INTERFACE_MODE_MII);
78@@ -438,21 +469,32 @@ static void ixp4xx_phy_disconnect(struct
78@@ -439,21 +470,32 @@ static void ixp4xx_phy_disconnect(struct
7979 {
8080     struct port *port = netdev_priv(dev);
8181
...... 
111111 }
112112
113113 static inline void debug_pkt(struct net_device *dev, const char *func,
114@@ -826,6 +868,10 @@ static int eth_ioctl(struct net_device *
114@@ -829,6 +871,10 @@ static int eth_ioctl(struct net_device *
115115
116116     if (!netif_running(dev))
117117         return -EINVAL;
...... 
122122     return phy_mii_ioctl(port->phydev, if_mii(req), cmd);
123123 }
124124
125@@ -845,18 +891,30 @@ static void ixp4xx_get_drvinfo(struct ne
125@@ -848,18 +894,30 @@ static void ixp4xx_get_drvinfo(struct ne
126126 static int ixp4xx_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
127127 {
128128     struct port *port = netdev_priv(dev);
target/linux/ixp4xx/patches-2.6.35/295-latch_led_driver.patch
11--- a/drivers/leds/Kconfig
22+++ b/drivers/leds/Kconfig
3@@ -157,6 +157,13 @@ config LEDS_LP3944
3@@ -176,6 +176,13 @@ config LEDS_LP3944
44       To compile this driver as a module, choose M here: the
55       module will be called leds-lp3944.
66
...... 
1313+
1414 config LEDS_CLEVO_MAIL
1515     tristate "Mail LED on Clevo notebook"
16     depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI
16     depends on X86 && SERIO_I8042 && DMI
1717--- /dev/null
1818+++ b/drivers/leds/leds-latch.c
1919@@ -0,0 +1,150 @@
...... 
167167+
168168+MODULE_AUTHOR("Chris Lang <clang@gateworks.com>");
169169+MODULE_DESCRIPTION("Latch LED driver");
170+MODULE_LICENSE("GPL");
171170--- a/drivers/leds/Makefile
172171+++ b/drivers/leds/Makefile
173@@ -20,6 +20,7 @@ obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-c
172@@ -22,6 +22,7 @@ obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-c
174173 obj-$(CONFIG_LEDS_SUNFIRE) += leds-sunfire.o
175174 obj-$(CONFIG_LEDS_PCA9532) += leds-pca9532.o
176175 obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
...... 
180179 obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
181180--- a/include/linux/leds.h
182181+++ b/include/linux/leds.h
183@@ -161,5 +161,19 @@ struct gpio_led_platform_data {
182@@ -165,5 +165,19 @@ struct gpio_led_platform_data {
184183                     unsigned long *delay_off);
185184 };
186185
target/linux/ixp4xx/patches-2.6.35/302-avila_gpio_device.patch
11--- a/arch/arm/mach-ixp4xx/avila-setup.c
22+++ b/arch/arm/mach-ixp4xx/avila-setup.c
3@@ -38,6 +38,13 @@
3@@ -36,6 +36,13 @@
44 #define AVILA_SDA_PIN 7
55 #define AVILA_SCL_PIN 6
66
target/linux/ixp4xx/patches-2.6.35/304-ixp4xx_eth_jumboframe.patch
11--- a/drivers/net/arm/ixp4xx_eth.c
22+++ b/drivers/net/arm/ixp4xx_eth.c
3@@ -52,7 +52,7 @@
3@@ -53,7 +53,7 @@
44
55 #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS))
66 #define REGS_SIZE 0x1000
...... 
99 #define RX_BUFF_SIZE ALIGN((NET_IP_ALIGN) + MAX_MRU, 4)
1010
1111 #define NAPI_WEIGHT 16
12@@ -1061,6 +1061,32 @@ static void destroy_queues(struct port *
12@@ -1064,6 +1064,32 @@ static void destroy_queues(struct port *
1313     }
1414 }
1515
...... 
4242 static int eth_open(struct net_device *dev)
4343 {
4444     struct port *port = netdev_priv(dev);
45@@ -1112,6 +1138,8 @@ static int eth_open(struct net_device *d
45@@ -1115,6 +1141,8 @@ static int eth_open(struct net_device *d
4646     if (npe_send_recv_message(port->npe, &msg, "ETH_SET_FIREWALL_MODE"))
4747         return -EIO;
4848
...... 
5151     if ((err = request_queues(port)) != 0)
5252         return err;
5353
54@@ -1251,7 +1279,26 @@ static int eth_close(struct net_device *
54@@ -1254,7 +1282,26 @@ static int eth_close(struct net_device *
5555     return 0;
5656 }
5757
target/linux/ixp4xx/patches-2.6.35/311-gtwx5717_mac_plat_info.patch
11--- a/arch/arm/mach-ixp4xx/gtwx5715-setup.c
22+++ b/arch/arm/mach-ixp4xx/gtwx5715-setup.c
3@@ -179,10 +179,37 @@ static struct platform_device gtwx5715_s
3@@ -178,10 +178,37 @@ static struct platform_device gtwx5715_s
44     },
55 };
66
target/linux/ixp4xx/patches-2.6.35/402-ixp4xx_gpiolib.patch
11--- a/arch/arm/mach-ixp4xx/common.c
22+++ b/arch/arm/mach-ixp4xx/common.c
3@@ -36,6 +36,7 @@
3@@ -35,6 +35,7 @@
44 #include <asm/pgtable.h>
55 #include <asm/page.h>
66 #include <asm/irq.h>
...... 
88
99 #include <asm/mach/map.h>
1010 #include <asm/mach/irq.h>
11@@ -375,12 +376,39 @@ static struct platform_device *ixp46x_de
11@@ -374,12 +375,39 @@ static struct platform_device *ixp46x_de
1212 unsigned long ixp4xx_exp_bus_size;
1313 EXPORT_SYMBOL(ixp4xx_exp_bus_size);
1414
...... 
5050
5151--- a/arch/arm/Kconfig
5252+++ b/arch/arm/Kconfig
53@@ -417,6 +417,7 @@ config ARCH_IXP4XX
53@@ -435,6 +435,7 @@ config ARCH_IXP4XX
54     select CPU_XSCALE
5455     select GENERIC_GPIO
55     select GENERIC_TIME
5656     select GENERIC_CLOCKEVENTS
5757+ select ARCH_REQUIRE_GPIOLIB
5858     help

Archive Download the corresponding diff file



interactive