mirror of https://github.com/hak5/openwrt-owl.git
parent
90bd74dd8b
commit
a00596924b
|
@ -1,6 +1,6 @@
|
||||||
--- a/drivers/mtd/devices/block2mtd.c
|
--- a/drivers/mtd/devices/block2mtd.c
|
||||||
+++ b/drivers/mtd/devices/block2mtd.c
|
+++ b/drivers/mtd/devices/block2mtd.c
|
||||||
@@ -264,10 +264,12 @@ static int _open_bdev(struct block2mtd_d
|
@@ -264,11 +264,13 @@ static int _open_bdev(struct block2mtd_d
|
||||||
bdev = open_bdev_exclusive(dev->devname, FMODE_READ|FMODE_WRITE, NULL);
|
bdev = open_bdev_exclusive(dev->devname, FMODE_READ|FMODE_WRITE, NULL);
|
||||||
#ifndef MODULE
|
#ifndef MODULE
|
||||||
if (IS_ERR(bdev)) {
|
if (IS_ERR(bdev)) {
|
||||||
|
@ -9,8 +9,9 @@
|
||||||
/* We might not have rootfs mounted at this point. Try
|
/* We might not have rootfs mounted at this point. Try
|
||||||
to resolve the device name by other means. */
|
to resolve the device name by other means. */
|
||||||
|
|
||||||
+ wait_for_device_probe();
|
|
||||||
- dev_t devt = name_to_dev_t(dev->devname);
|
- dev_t devt = name_to_dev_t(dev->devname);
|
||||||
|
+ wait_for_device_probe();
|
||||||
+ devt = name_to_dev_t(dev->devname);
|
+ devt = name_to_dev_t(dev->devname);
|
||||||
if (devt) {
|
if (devt) {
|
||||||
bdev = open_by_devnum(devt, FMODE_WRITE | FMODE_READ);
|
bdev = open_by_devnum(devt, FMODE_WRITE | FMODE_READ);
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/drivers/mtd/mtdconcat.c
|
--- a/drivers/mtd/mtdconcat.c
|
||||||
+++ b/drivers/mtd/mtdconcat.c
|
+++ b/drivers/mtd/mtdconcat.c
|
||||||
@@ -619,7 +619,8 @@ static void concat_sync(struct mtd_info
|
@@ -619,7 +619,8 @@ static void concat_sync(struct mtd_info
|
||||||
|
|
||||||
for (i = 0; i < concat->num_subdev; i++) {
|
for (i = 0; i < concat->num_subdev; i++) {
|
||||||
struct mtd_info *subdev = concat->subdev[i];
|
struct mtd_info *subdev = concat->subdev[i];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- linux-2.6.38.8/drivers/gpio/Kconfig.orig 2011-06-02 19:35:11.000000000 -0600
|
--- a/drivers/gpio/Kconfig
|
||||||
+++ linux-2.6.38.8/drivers/gpio/Kconfig 2011-06-29 20:05:20.000000000 -0600
|
+++ b/drivers/gpio/Kconfig
|
||||||
@@ -295,7 +295,7 @@ comment "PCI GPIO expanders:"
|
@@ -295,7 +295,7 @@ comment "PCI GPIO expanders:"
|
||||||
|
|
||||||
config GPIO_CS5535
|
config GPIO_CS5535
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- linux-2.6.38.8/drivers/misc/Kconfig.orig 2011-06-02 19:35:11.000000000 -0600
|
--- a/drivers/misc/Kconfig
|
||||||
+++ linux-2.6.38.8/drivers/misc/Kconfig 2011-07-02 21:05:01.000000000 -0600
|
+++ b/drivers/misc/Kconfig
|
||||||
@@ -224,8 +224,7 @@ config SGI_XP
|
@@ -224,8 +224,7 @@ config SGI_XP
|
||||||
|
|
||||||
config CS5535_MFGPT
|
config CS5535_MFGPT
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct cambria_board_info cambria_boards[] __initdata = {
|
static struct cambria_board_info cambria_boards[] __initdata = {
|
||||||
@@ -460,6 +507,14 @@ static struct i2c_board_info __initdata
|
@@ -460,6 +507,14 @@ static struct i2c_board_info __initdata
|
||||||
I2C_BOARD_INFO("24c08", 0x51),
|
I2C_BOARD_INFO("24c08", 0x51),
|
||||||
.platform_data = &cambria_eeprom_info
|
.platform_data = &cambria_eeprom_info
|
||||||
},
|
},
|
||||||
|
|
|
@ -165,7 +165,7 @@
|
||||||
case UPIO_AU:
|
case UPIO_AU:
|
||||||
case UPIO_DWAPB:
|
case UPIO_DWAPB:
|
||||||
case UPIO_DWAPB32:
|
case UPIO_DWAPB32:
|
||||||
@@ -2521,6 +2541,7 @@ static int serial8250_request_std_resour
|
@@ -2534,6 +2554,7 @@ static int serial8250_request_std_resour
|
||||||
case UPIO_MEM:
|
case UPIO_MEM:
|
||||||
case UPIO_DWAPB:
|
case UPIO_DWAPB:
|
||||||
case UPIO_DWAPB32:
|
case UPIO_DWAPB32:
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
if (!up->port.mapbase)
|
if (!up->port.mapbase)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -2559,6 +2580,7 @@ static void serial8250_release_std_resou
|
@@ -2572,6 +2593,7 @@ static void serial8250_release_std_resou
|
||||||
case UPIO_MEM:
|
case UPIO_MEM:
|
||||||
case UPIO_DWAPB:
|
case UPIO_DWAPB:
|
||||||
case UPIO_DWAPB32:
|
case UPIO_DWAPB32:
|
||||||
|
@ -181,7 +181,7 @@
|
||||||
if (!up->port.mapbase)
|
if (!up->port.mapbase)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -3074,6 +3096,7 @@ static int __devinit serial8250_probe(st
|
@@ -3083,6 +3105,7 @@ static int __devinit serial8250_probe(st
|
||||||
port.set_termios = p->set_termios;
|
port.set_termios = p->set_termios;
|
||||||
port.pm = p->pm;
|
port.pm = p->pm;
|
||||||
port.dev = &dev->dev;
|
port.dev = &dev->dev;
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
port.irqflags |= irqflag;
|
port.irqflags |= irqflag;
|
||||||
ret = serial8250_register_port(&port);
|
ret = serial8250_register_port(&port);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
@@ -3223,6 +3246,7 @@ int serial8250_register_port(struct uart
|
@@ -3232,6 +3255,7 @@ int serial8250_register_port(struct uart
|
||||||
uart->port.iotype = port->iotype;
|
uart->port.iotype = port->iotype;
|
||||||
uart->port.flags = port->flags | UPF_BOOT_AUTOCONF;
|
uart->port.flags = port->flags | UPF_BOOT_AUTOCONF;
|
||||||
uart->port.mapbase = port->mapbase;
|
uart->port.mapbase = port->mapbase;
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
--- a/arch/arm/Kconfig
|
--- a/arch/arm/Kconfig
|
||||||
+++ b/arch/arm/Kconfig
|
+++ b/arch/arm/Kconfig
|
||||||
@@ -448,7 +448,7 @@ config ARCH_IXP4XX
|
@@ -447,7 +447,7 @@ config ARCH_IXP4XX
|
||||||
bool "IXP4xx-based"
|
bool "IXP4xx-based"
|
||||||
depends on MMU
|
depends on MMU
|
||||||
select CPU_XSCALE
|
select CPU_XSCALE
|
||||||
|
|
Loading…
Reference in New Issue