mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[kernel] update to 2.6.25.19, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13137 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -11,7 +11,7 @@ BOARD:=at91
|
||||
BOARDNAME:=Atmel AT91
|
||||
FEATURES:=squashfs usb
|
||||
|
||||
LINUX_VERSION:=2.6.25.17
|
||||
LINUX_VERSION:=2.6.25.19
|
||||
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
--- a/arch/arm/mach-at91/Kconfig
|
||||
+++ b/arch/arm/mach-at91/Kconfig
|
||||
@@ -151,6 +151,12 @@
|
||||
@@ -151,6 +151,12 @@ config MACH_TT9200
|
||||
help
|
||||
Select this if you are using Toptech's TT9200 board.
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# ----------------------------------------------------------
|
||||
--- a/arch/arm/mach-at91/Makefile
|
||||
+++ b/arch/arm/mach-at91/Makefile
|
||||
@@ -29,6 +29,7 @@
|
||||
@@ -29,6 +29,7 @@ obj-$(CONFIG_MACH_KB9200) += board-kb920
|
||||
obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o
|
||||
obj-$(CONFIG_MACH_KAFA) += board-kafa.o
|
||||
obj-$(CONFIG_MACH_CHUB) += board-chub.o
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/arch/arm/mach-at91/at91rm9200_devices.c
|
||||
+++ b/arch/arm/mach-at91/at91rm9200_devices.c
|
||||
@@ -717,6 +717,26 @@
|
||||
@@ -717,6 +717,26 @@ static void __init at91_add_device_watch
|
||||
static void __init at91_add_device_watchdog(void) {}
|
||||
#endif
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
* SSC -- Synchronous Serial Controller
|
||||
--- a/arch/arm/mach-at91/Makefile
|
||||
+++ b/arch/arm/mach-at91/Makefile
|
||||
@@ -60,7 +60,12 @@
|
||||
@@ -60,7 +60,12 @@ obj-$(CONFIG_MACH_AT91CAP9ADK) += board-
|
||||
obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o
|
||||
|
||||
# Drivers
|
||||
@@ -153,7 +153,7 @@
|
||||
+__initcall(leds_init);
|
||||
--- a/include/asm-arm/arch-at91/board.h
|
||||
+++ b/include/asm-arm/arch-at91/board.h
|
||||
@@ -162,6 +162,11 @@
|
||||
@@ -162,6 +162,11 @@ extern void __init at91_add_device_ac97(
|
||||
/* ISI */
|
||||
extern void __init at91_add_device_isi(void);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/arch/arm/mach-at91/board-vlink.c
|
||||
+++ b/arch/arm/mach-at91/board-vlink.c
|
||||
@@ -99,7 +99,7 @@
|
||||
@@ -99,7 +99,7 @@ static struct at91_udc_data __initdata v
|
||||
*/
|
||||
|
||||
static struct at91_mmc_data __initdata vlink_mmc_data = {
|
||||
@@ -9,7 +9,7 @@
|
||||
.slot_b = 0,
|
||||
.wire4 = 1,
|
||||
// .wp_pin = AT91_PIN_PA17,
|
||||
@@ -136,6 +136,7 @@
|
||||
@@ -136,6 +136,7 @@ static struct spi_board_info vlink_spi_d
|
||||
|
||||
static void __init vlink_board_init(void)
|
||||
{
|
||||
@@ -17,7 +17,7 @@
|
||||
/* Serial */
|
||||
at91_add_device_serial();
|
||||
/* Ethernet */
|
||||
@@ -157,36 +158,66 @@
|
||||
@@ -157,36 +158,66 @@ static void __init vlink_board_init(void
|
||||
// at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
|
||||
at91_add_device_mmc(0, &vlink_mmc_data);
|
||||
#endif
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
|
||||
static inline void __iomem *pin_to_controller(unsigned pin)
|
||||
@@ -71,9 +72,13 @@
|
||||
@@ -71,9 +72,13 @@ int __init_or_module at91_set_GPIO_perip
|
||||
{
|
||||
void __iomem *pio = pin_to_controller(pin);
|
||||
unsigned mask = pin_to_mask(pin);
|
||||
@@ -126,7 +126,7 @@
|
||||
__raw_writel(mask, pio + PIO_IDR);
|
||||
__raw_writel(mask, pio + (use_pullup ? PIO_PUER : PIO_PUDR));
|
||||
__raw_writel(mask, pio + PIO_PER);
|
||||
@@ -130,10 +135,13 @@
|
||||
@@ -130,10 +135,13 @@ int __init_or_module at91_set_gpio_input
|
||||
{
|
||||
void __iomem *pio = pin_to_controller(pin);
|
||||
unsigned mask = pin_to_mask(pin);
|
||||
@@ -140,7 +140,7 @@
|
||||
__raw_writel(mask, pio + PIO_IDR);
|
||||
__raw_writel(mask, pio + (use_pullup ? PIO_PUER : PIO_PUDR));
|
||||
__raw_writel(mask, pio + PIO_ODR);
|
||||
@@ -151,10 +159,13 @@
|
||||
@@ -151,10 +159,13 @@ int __init_or_module at91_set_gpio_outpu
|
||||
{
|
||||
void __iomem *pio = pin_to_controller(pin);
|
||||
unsigned mask = pin_to_mask(pin);
|
||||
@@ -154,7 +154,7 @@
|
||||
__raw_writel(mask, pio + PIO_IDR);
|
||||
__raw_writel(mask, pio + PIO_PUDR);
|
||||
__raw_writel(mask, pio + (value ? PIO_SODR : PIO_CODR));
|
||||
@@ -262,6 +273,18 @@
|
||||
@@ -262,6 +273,18 @@ int at91_get_gpio_value(unsigned pin)
|
||||
}
|
||||
EXPORT_SYMBOL(at91_get_gpio_value);
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
#ifdef CONFIG_PM
|
||||
--- a/drivers/char/Kconfig
|
||||
+++ b/drivers/char/Kconfig
|
||||
@@ -1072,5 +1072,12 @@
|
||||
@@ -1072,5 +1072,12 @@ config AT91_SPIDEV
|
||||
The SPI driver gives user mode access to this serial
|
||||
bus on the AT91RM9200 processor.
|
||||
|
||||
@@ -190,7 +190,7 @@
|
||||
|
||||
--- a/drivers/char/Makefile
|
||||
+++ b/drivers/char/Makefile
|
||||
@@ -100,6 +100,7 @@
|
||||
@@ -100,6 +100,7 @@ obj-$(CONFIG_GPIO_TB0219) += tb0219.o
|
||||
obj-$(CONFIG_TELCLOCK) += tlclk.o
|
||||
obj-$(CONFIG_AT91_SPI) += at91_spi.o
|
||||
obj-$(CONFIG_AT91_SPIDEV) += at91_spidev.o
|
||||
@@ -536,7 +536,7 @@
|
||||
+MODULE_DESCRIPTION("FDL Versalink GPIO Driver");
|
||||
--- a/include/asm-arm/arch-at91/gpio.h
|
||||
+++ b/include/asm-arm/arch-at91/gpio.h
|
||||
@@ -199,6 +199,7 @@
|
||||
@@ -199,6 +199,7 @@ extern int __init_or_module at91_set_mul
|
||||
/* callable at any time */
|
||||
extern int at91_set_gpio_value(unsigned pin, int value);
|
||||
extern int at91_get_gpio_value(unsigned pin);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/drivers/mtd/devices/at91_dataflash.c
|
||||
+++ b/drivers/mtd/devices/at91_dataflash.c
|
||||
@@ -175,7 +175,7 @@
|
||||
@@ -175,7 +175,7 @@ static struct mtd_partition static_parti
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
--- a/drivers/mtd/Kconfig
|
||||
+++ b/drivers/mtd/Kconfig
|
||||
@@ -168,6 +168,12 @@
|
||||
@@ -168,6 +168,12 @@ config MTD_OF_PARTS
|
||||
the partition map from the children of the flash node,
|
||||
as described in Documentation/powerpc/booting-without-of.txt.
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
config MTD_CHAR
|
||||
--- a/drivers/mtd/Makefile
|
||||
+++ b/drivers/mtd/Makefile
|
||||
@@ -12,6 +12,7 @@
|
||||
@@ -12,6 +12,7 @@ obj-$(CONFIG_MTD_REDBOOT_PARTS) += redbo
|
||||
obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
|
||||
obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
|
||||
obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/drivers/serial/atmel_serial.c
|
||||
+++ b/drivers/serial/atmel_serial.c
|
||||
@@ -214,6 +214,34 @@
|
||||
@@ -214,6 +214,34 @@ static void atmel_set_mctrl(struct uart_
|
||||
at91_set_gpio_value(AT91_PIN_PA21, 0);
|
||||
else
|
||||
at91_set_gpio_value(AT91_PIN_PA21, 1);
|
||||
@@ -35,7 +35,7 @@
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -251,8 +279,10 @@
|
||||
@@ -251,8 +279,10 @@ static u_int atmel_get_mctrl(struct uart
|
||||
/*
|
||||
* The control signals are active low.
|
||||
*/
|
||||
@@ -48,7 +48,7 @@
|
||||
if (!(status & ATMEL_US_CTS))
|
||||
ret |= TIOCM_CTS;
|
||||
if (!(status & ATMEL_US_DSR))
|
||||
@@ -260,6 +290,16 @@
|
||||
@@ -260,6 +290,16 @@ static u_int atmel_get_mctrl(struct uart
|
||||
if (!(status & ATMEL_US_RI))
|
||||
ret |= TIOCM_RI;
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -453,6 +493,34 @@
|
||||
@@ -453,6 +493,34 @@ static void atmel_tx_chars(struct uart_p
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -100,7 +100,7 @@
|
||||
* receive interrupt handler.
|
||||
*/
|
||||
static void
|
||||
@@ -815,6 +883,23 @@
|
||||
@@ -815,6 +883,23 @@ static int atmel_startup(struct uart_por
|
||||
return retval;
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
/*
|
||||
* Initialize DMA (if necessary)
|
||||
*/
|
||||
@@ -834,6 +919,10 @@
|
||||
@@ -834,6 +919,10 @@ static int atmel_startup(struct uart_por
|
||||
kfree(atmel_port->pdc_rx[0].buf);
|
||||
}
|
||||
free_irq(port->irq, port);
|
||||
@@ -135,7 +135,7 @@
|
||||
return -ENOMEM;
|
||||
}
|
||||
pdc->dma_addr = dma_map_single(port->dev,
|
||||
@@ -873,7 +962,11 @@
|
||||
@@ -873,7 +962,11 @@ static int atmel_startup(struct uart_por
|
||||
retval = atmel_open_hook(port);
|
||||
if (retval) {
|
||||
free_irq(port->irq, port);
|
||||
@@ -148,7 +148,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -947,6 +1040,10 @@
|
||||
@@ -947,6 +1040,10 @@ static void atmel_shutdown(struct uart_p
|
||||
* Free the interrupt
|
||||
*/
|
||||
free_irq(port->irq, port);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/arch/arm/mach-at91/at91rm9200_devices.c
|
||||
+++ b/arch/arm/mach-at91/at91rm9200_devices.c
|
||||
@@ -1001,7 +1001,15 @@
|
||||
@@ -1001,7 +1001,15 @@ static inline void configure_usart0_pins
|
||||
* We need to drive the pin manually. Default is off (RTS is active low).
|
||||
*/
|
||||
at91_set_gpio_output(AT91_PIN_PA21, 1);
|
||||
@@ -17,7 +17,7 @@
|
||||
}
|
||||
|
||||
static struct resource uart1_resources[] = {
|
||||
@@ -1139,6 +1147,14 @@
|
||||
@@ -1139,6 +1147,14 @@ static inline void configure_usart3_pins
|
||||
at91_set_B_periph(AT91_PIN_PB1, 0); /* CTS3 */
|
||||
if (pins & ATMEL_UART_RTS)
|
||||
at91_set_B_periph(AT91_PIN_PB0, 0); /* RTS3 */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/drivers/net/arm/at91_ether.c
|
||||
+++ b/drivers/net/arm/at91_ether.c
|
||||
@@ -146,6 +146,7 @@
|
||||
@@ -146,6 +146,7 @@ static void update_linkspeed(struct net_
|
||||
struct at91_private *lp = netdev_priv(dev);
|
||||
unsigned int bmsr, bmcr, lpa, mac_cfg;
|
||||
unsigned int speed, duplex;
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
if (!mii_link_ok(&lp->mii)) { /* no link */
|
||||
netif_carrier_off(dev);
|
||||
@@ -158,8 +159,15 @@
|
||||
@@ -158,8 +159,15 @@ static void update_linkspeed(struct net_
|
||||
read_phy(lp->phy_address, MII_BMSR, &bmsr);
|
||||
read_phy(lp->phy_address, MII_BMCR, &bmcr);
|
||||
if (bmcr & BMCR_ANENABLE) { /* AutoNegotiation is enabled */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/drivers/mtd/devices/at91_dataflash.c
|
||||
+++ b/drivers/mtd/devices/at91_dataflash.c
|
||||
@@ -163,12 +163,12 @@
|
||||
@@ -163,12 +163,12 @@ static struct mtd_partition static_parti
|
||||
.mask_flags = MTD_WRITEABLE, /* read-only */
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/drivers/usb/serial/usb-serial.c
|
||||
+++ b/drivers/usb/serial/usb-serial.c
|
||||
@@ -904,7 +904,7 @@
|
||||
@@ -904,7 +904,7 @@ int usb_serial_probe(struct usb_interfac
|
||||
dev_err(&interface->dev, "No free urbs available\n");
|
||||
goto probe_error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user