mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 18:58:58 +02:00
ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24210 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4ddeed6a4f
commit
09a8407a2d
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/devices/m25p80.c
|
--- a/drivers/mtd/devices/m25p80.c
|
||||||
+++ b/drivers/mtd/devices/m25p80.c
|
+++ b/drivers/mtd/devices/m25p80.c
|
||||||
@@ -872,6 +872,16 @@ static int __devinit m25p_probe(struct s
|
@@ -873,6 +873,16 @@ static int __devinit m25p_probe(struct s
|
||||||
part_probes, &parts, 0);
|
part_probes, &parts, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/devices/m25p80.c
|
--- a/drivers/mtd/devices/m25p80.c
|
||||||
+++ b/drivers/mtd/devices/m25p80.c
|
+++ b/drivers/mtd/devices/m25p80.c
|
||||||
@@ -882,6 +882,15 @@ static int __devinit m25p_probe(struct s
|
@@ -883,6 +883,15 @@ static int __devinit m25p_probe(struct s
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/devices/m25p80.c
|
--- a/drivers/mtd/devices/m25p80.c
|
||||||
+++ b/drivers/mtd/devices/m25p80.c
|
+++ b/drivers/mtd/devices/m25p80.c
|
||||||
@@ -891,6 +891,16 @@ static int __devinit m25p_probe(struct s
|
@@ -892,6 +892,16 @@ static int __devinit m25p_probe(struct s
|
||||||
part_probes, &parts, 0);
|
part_probes, &parts, 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/ag71xx/ag71xx_main.c
|
--- a/drivers/net/ag71xx/ag71xx_main.c
|
||||||
+++ b/drivers/net/ag71xx/ag71xx_main.c
|
+++ b/drivers/net/ag71xx/ag71xx_main.c
|
||||||
@@ -685,6 +685,7 @@ static netdev_tx_t ag71xx_hard_start_xmi
|
@@ -686,6 +686,7 @@ err_drop:
|
||||||
|
|
||||||
static int ag71xx_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
|
static int ag71xx_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
|
||||||
{
|
{
|
||||||
@ -8,7 +8,7 @@
|
|||||||
struct ag71xx *ag = netdev_priv(dev);
|
struct ag71xx *ag = netdev_priv(dev);
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@@ -716,7 +717,7 @@ static int ag71xx_do_ioctl(struct net_de
|
@@ -717,7 +718,7 @@ static int ag71xx_do_ioctl(struct net_de
|
||||||
if (ag->phy_dev == NULL)
|
if (ag->phy_dev == NULL)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/Kconfig
|
--- a/drivers/net/Kconfig
|
||||||
+++ b/drivers/net/Kconfig
|
+++ b/drivers/net/Kconfig
|
||||||
@@ -2045,6 +2045,8 @@ config ACENIC_OMIT_TIGON_I
|
@@ -2168,6 +2168,8 @@ config ACENIC_OMIT_TIGON_I
|
||||||
|
|
||||||
The safe and default value for this is N.
|
The safe and default value for this is N.
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
|
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
|
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
@@ -1190,8 +1190,8 @@ static int __xipram do_write_oneword(str
|
@@ -1218,8 +1218,8 @@ static int __xipram do_write_oneword(str
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
/* Latency issues. Drop the lock, wait a while and retry */
|
/* Latency issues. Drop the lock, wait a while and retry */
|
||||||
UDELAY(map, chip, adr, 1);
|
UDELAY(map, chip, adr, 1);
|
||||||
@@ -1207,6 +1207,8 @@ static int __xipram do_write_oneword(str
|
@@ -1235,6 +1235,8 @@ static int __xipram do_write_oneword(str
|
||||||
|
|
||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
}
|
}
|
||||||
@ -20,7 +20,7 @@
|
|||||||
xip_enable(map, chip, adr);
|
xip_enable(map, chip, adr);
|
||||||
op_done:
|
op_done:
|
||||||
chip->state = FL_READY;
|
chip->state = FL_READY;
|
||||||
@@ -1553,7 +1555,6 @@ static int cfi_amdstd_write_buffers(stru
|
@@ -1581,7 +1583,6 @@ static int cfi_amdstd_write_buffers(stru
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
/*
|
/*
|
||||||
* Handle devices with one erase region, that only implement
|
* Handle devices with one erase region, that only implement
|
||||||
* the chip erase command.
|
* the chip erase command.
|
||||||
@@ -1617,8 +1618,8 @@ static int __xipram do_erase_chip(struct
|
@@ -1645,8 +1646,8 @@ static int __xipram do_erase_chip(struct
|
||||||
chip->erase_suspended = 0;
|
chip->erase_suspended = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
if (time_after(jiffies, timeo)) {
|
if (time_after(jiffies, timeo)) {
|
||||||
printk(KERN_WARNING "MTD %s(): software timeout\n",
|
printk(KERN_WARNING "MTD %s(): software timeout\n",
|
||||||
@@ -1638,6 +1639,7 @@ static int __xipram do_erase_chip(struct
|
@@ -1666,6 +1667,7 @@ static int __xipram do_erase_chip(struct
|
||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
chip->state = FL_READY;
|
chip->state = FL_READY;
|
||||||
xip_enable(map, chip, adr);
|
xip_enable(map, chip, adr);
|
||||||
put_chip(map, chip, adr);
|
put_chip(map, chip, adr);
|
||||||
@@ -1705,9 +1707,9 @@ static int __xipram do_erase_oneblock(st
|
@@ -1733,9 +1735,9 @@ static int __xipram do_erase_oneblock(st
|
||||||
chip->erase_suspended = 0;
|
chip->erase_suspended = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (time_after(jiffies, timeo)) {
|
if (time_after(jiffies, timeo)) {
|
||||||
@@ -1729,6 +1731,7 @@ static int __xipram do_erase_oneblock(st
|
@@ -1757,6 +1759,7 @@ static int __xipram do_erase_oneblock(st
|
||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
/* Atmel chips don't use the same PRI format as AMD chips */
|
/* Atmel chips don't use the same PRI format as AMD chips */
|
||||||
static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
|
static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
|
||||||
@@ -1364,6 +1368,7 @@ static int cfi_amdstd_write_words(struct
|
@@ -1392,6 +1396,7 @@ static int cfi_amdstd_write_words(struct
|
||||||
/*
|
/*
|
||||||
* FIXME: interleaved mode not tested, and probably not supported!
|
* FIXME: interleaved mode not tested, and probably not supported!
|
||||||
*/
|
*/
|
||||||
@ -43,7 +43,7 @@
|
|||||||
static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
|
static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
|
||||||
unsigned long adr, const u_char *buf,
|
unsigned long adr, const u_char *buf,
|
||||||
int len)
|
int len)
|
||||||
@@ -1475,7 +1480,6 @@ static int __xipram do_write_buffer(stru
|
@@ -1503,7 +1508,6 @@ static int __xipram do_write_buffer(stru
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,7 +51,7 @@
|
|||||||
static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len,
|
static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len,
|
||||||
size_t *retlen, const u_char *buf)
|
size_t *retlen, const u_char *buf)
|
||||||
{
|
{
|
||||||
@@ -1554,6 +1558,7 @@ static int cfi_amdstd_write_buffers(stru
|
@@ -1582,6 +1586,7 @@ static int cfi_amdstd_write_buffers(stru
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/nand/rb4xx_nand.c
|
--- a/drivers/mtd/nand/rb4xx_nand.c
|
||||||
+++ b/drivers/mtd/nand/rb4xx_nand.c
|
+++ b/drivers/mtd/nand/rb4xx_nand.c
|
||||||
@@ -218,7 +218,7 @@ static int __init rb4xx_nand_probe(struc
|
@@ -220,7 +220,7 @@ static int __init rb4xx_nand_probe(struc
|
||||||
|
|
||||||
platform_set_drvdata(pdev, info);
|
platform_set_drvdata(pdev, info);
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/net/Kconfig
|
--- a/drivers/net/Kconfig
|
||||||
+++ b/drivers/net/Kconfig
|
+++ b/drivers/net/Kconfig
|
||||||
@@ -2068,6 +2068,8 @@ config ACENIC_OMIT_TIGON_I
|
@@ -2191,6 +2191,8 @@ config ACENIC_OMIT_TIGON_I
|
||||||
|
|
||||||
The safe and default value for this is N.
|
The safe and default value for this is N.
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
|
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
|
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
@@ -1223,8 +1223,8 @@ static int __xipram do_write_oneword(str
|
@@ -1231,8 +1231,8 @@ static int __xipram do_write_oneword(str
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
/* Latency issues. Drop the lock, wait a while and retry */
|
/* Latency issues. Drop the lock, wait a while and retry */
|
||||||
UDELAY(map, chip, adr, 1);
|
UDELAY(map, chip, adr, 1);
|
||||||
@@ -1240,6 +1240,8 @@ static int __xipram do_write_oneword(str
|
@@ -1248,6 +1248,8 @@ static int __xipram do_write_oneword(str
|
||||||
|
|
||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
}
|
}
|
||||||
@ -20,7 +20,7 @@
|
|||||||
xip_enable(map, chip, adr);
|
xip_enable(map, chip, adr);
|
||||||
op_done:
|
op_done:
|
||||||
chip->state = FL_READY;
|
chip->state = FL_READY;
|
||||||
@@ -1571,7 +1573,6 @@ static int cfi_amdstd_write_buffers(stru
|
@@ -1579,7 +1581,6 @@ static int cfi_amdstd_write_buffers(stru
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,7 +28,7 @@
|
|||||||
/*
|
/*
|
||||||
* Handle devices with one erase region, that only implement
|
* Handle devices with one erase region, that only implement
|
||||||
* the chip erase command.
|
* the chip erase command.
|
||||||
@@ -1635,8 +1636,8 @@ static int __xipram do_erase_chip(struct
|
@@ -1643,8 +1644,8 @@ static int __xipram do_erase_chip(struct
|
||||||
chip->erase_suspended = 0;
|
chip->erase_suspended = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
if (time_after(jiffies, timeo)) {
|
if (time_after(jiffies, timeo)) {
|
||||||
printk(KERN_WARNING "MTD %s(): software timeout\n",
|
printk(KERN_WARNING "MTD %s(): software timeout\n",
|
||||||
@@ -1656,6 +1657,7 @@ static int __xipram do_erase_chip(struct
|
@@ -1664,6 +1665,7 @@ static int __xipram do_erase_chip(struct
|
||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
chip->state = FL_READY;
|
chip->state = FL_READY;
|
||||||
xip_enable(map, chip, adr);
|
xip_enable(map, chip, adr);
|
||||||
put_chip(map, chip, adr);
|
put_chip(map, chip, adr);
|
||||||
@@ -1723,9 +1725,9 @@ static int __xipram do_erase_oneblock(st
|
@@ -1731,9 +1733,9 @@ static int __xipram do_erase_oneblock(st
|
||||||
chip->erase_suspended = 0;
|
chip->erase_suspended = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (time_after(jiffies, timeo)) {
|
if (time_after(jiffies, timeo)) {
|
||||||
@@ -1747,6 +1749,7 @@ static int __xipram do_erase_oneblock(st
|
@@ -1755,6 +1757,7 @@ static int __xipram do_erase_oneblock(st
|
||||||
ret = -EIO;
|
ret = -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,10 +12,10 @@
|
|||||||
/* makes sure the async qh will become idle */
|
/* makes sure the async qh will become idle */
|
||||||
--- a/drivers/usb/host/ehci.h
|
--- a/drivers/usb/host/ehci.h
|
||||||
+++ b/drivers/usb/host/ehci.h
|
+++ b/drivers/usb/host/ehci.h
|
||||||
@@ -131,6 +131,7 @@ struct ehci_hcd { /* one per controlle
|
@@ -133,6 +133,7 @@ struct ehci_hcd { /* one per controlle
|
||||||
unsigned need_io_watchdog:1;
|
|
||||||
unsigned broken_periodic:1;
|
unsigned broken_periodic:1;
|
||||||
unsigned fs_i_thresh:1; /* Intel iso scheduling */
|
unsigned fs_i_thresh:1; /* Intel iso scheduling */
|
||||||
|
unsigned use_dummy_qh:1; /* AMD Frame List table quirk*/
|
||||||
+ unsigned has_synopsys_hc_bug:1; /* Synopsys HC */
|
+ unsigned has_synopsys_hc_bug:1; /* Synopsys HC */
|
||||||
|
|
||||||
/* required for usb32 quirk */
|
/* required for usb32 quirk */
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
/* Atmel chips don't use the same PRI format as AMD chips */
|
/* Atmel chips don't use the same PRI format as AMD chips */
|
||||||
static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
|
static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param)
|
||||||
@@ -1383,6 +1387,7 @@ static int cfi_amdstd_write_words(struct
|
@@ -1391,6 +1395,7 @@ static int cfi_amdstd_write_words(struct
|
||||||
/*
|
/*
|
||||||
* FIXME: interleaved mode not tested, and probably not supported!
|
* FIXME: interleaved mode not tested, and probably not supported!
|
||||||
*/
|
*/
|
||||||
@ -43,7 +43,7 @@
|
|||||||
static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
|
static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
|
||||||
unsigned long adr, const u_char *buf,
|
unsigned long adr, const u_char *buf,
|
||||||
int len)
|
int len)
|
||||||
@@ -1493,7 +1498,6 @@ static int __xipram do_write_buffer(stru
|
@@ -1501,7 +1506,6 @@ static int __xipram do_write_buffer(stru
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,7 +51,7 @@
|
|||||||
static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len,
|
static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len,
|
||||||
size_t *retlen, const u_char *buf)
|
size_t *retlen, const u_char *buf)
|
||||||
{
|
{
|
||||||
@@ -1572,6 +1576,7 @@ static int cfi_amdstd_write_buffers(stru
|
@@ -1580,6 +1584,7 @@ static int cfi_amdstd_write_buffers(stru
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/Makefile
|
--- a/drivers/Makefile
|
||||||
+++ b/drivers/Makefile
|
+++ b/drivers/Makefile
|
||||||
@@ -45,8 +45,8 @@ obj-y += macintosh/
|
@@ -46,8 +46,8 @@ obj-y += macintosh/
|
||||||
obj-$(CONFIG_IDE) += ide/
|
obj-$(CONFIG_IDE) += ide/
|
||||||
obj-$(CONFIG_SCSI) += scsi/
|
obj-$(CONFIG_SCSI) += scsi/
|
||||||
obj-$(CONFIG_ATA) += ata/
|
obj-$(CONFIG_ATA) += ata/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/leds/Kconfig
|
--- a/drivers/leds/Kconfig
|
||||||
+++ b/drivers/leds/Kconfig
|
+++ b/drivers/leds/Kconfig
|
||||||
@@ -329,6 +329,13 @@ config LEDS_TRIGGERS
|
@@ -347,6 +347,13 @@ config LEDS_TRIGGERS
|
||||||
|
|
||||||
if LEDS_TRIGGERS
|
if LEDS_TRIGGERS
|
||||||
|
|
||||||
@ -16,7 +16,7 @@
|
|||||||
config LEDS_TRIGGER_TIMER
|
config LEDS_TRIGGER_TIMER
|
||||||
--- a/drivers/leds/Makefile
|
--- a/drivers/leds/Makefile
|
||||||
+++ b/drivers/leds/Makefile
|
+++ b/drivers/leds/Makefile
|
||||||
@@ -31,6 +31,7 @@ obj-$(CONFIG_LEDS_DA903X) += leds-da903
|
@@ -33,6 +33,7 @@ obj-$(CONFIG_LEDS_DA903X) += leds-da903
|
||||||
obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
|
obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
|
||||||
obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
|
obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
|
||||||
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
|
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/leds/Kconfig
|
--- a/drivers/leds/Kconfig
|
||||||
+++ b/drivers/leds/Kconfig
|
+++ b/drivers/leds/Kconfig
|
||||||
@@ -336,6 +336,10 @@ config LEDS_WNDR3700_USB
|
@@ -354,6 +354,10 @@ config LEDS_WNDR3700_USB
|
||||||
This option enables support for the USB LED found on the
|
This option enables support for the USB LED found on the
|
||||||
NETGEAR WNDR3700 board.
|
NETGEAR WNDR3700 board.
|
||||||
|
|
||||||
@ -13,7 +13,7 @@
|
|||||||
config LEDS_TRIGGER_TIMER
|
config LEDS_TRIGGER_TIMER
|
||||||
--- a/drivers/leds/Makefile
|
--- a/drivers/leds/Makefile
|
||||||
+++ b/drivers/leds/Makefile
|
+++ b/drivers/leds/Makefile
|
||||||
@@ -38,6 +38,7 @@ obj-$(CONFIG_LEDS_LT3593) += leds-lt359
|
@@ -40,6 +40,7 @@ obj-$(CONFIG_LEDS_LT3593) += leds-lt359
|
||||||
obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
|
obj-$(CONFIG_LEDS_ADP5520) += leds-adp5520.o
|
||||||
obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o
|
obj-$(CONFIG_LEDS_DELL_NETBOOKS) += dell-led.o
|
||||||
obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
|
obj-$(CONFIG_LEDS_MC13783) += leds-mc13783.o
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/drivers/mtd/nand/rb4xx_nand.c
|
--- a/drivers/mtd/nand/rb4xx_nand.c
|
||||||
+++ b/drivers/mtd/nand/rb4xx_nand.c
|
+++ b/drivers/mtd/nand/rb4xx_nand.c
|
||||||
@@ -218,7 +218,7 @@ static int __init rb4xx_nand_probe(struc
|
@@ -220,7 +220,7 @@ static int __init rb4xx_nand_probe(struc
|
||||||
|
|
||||||
platform_set_drvdata(pdev, info);
|
platform_set_drvdata(pdev, info);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user