#include <asm/bootinfo.h>
#include <asm/idle.h>
#include <asm/prom.h>
#include <asm/bootinfo.h>
#include <asm/idle.h>
#include <asm/prom.h>
-@@ -262,6 +263,33 @@ static struct fixed_phy_status bcm47xx_f
+@@ -262,6 +263,33 @@ static const struct fixed_phy_status bcm
.duplex = DUPLEX_FULL,
};
.duplex = DUPLEX_FULL,
};
@@ -283,6 +311,7 @@ static int __init bcm47xx_register_bus_c
bcm47xx_workarounds();
@@ -283,6 +311,7 @@ static int __init bcm47xx_register_bus_c
bcm47xx_workarounds();
- fixed_phy_add(PHY_POLL, 0, &bcm47xx_fixed_phy_status);
+ fixed_phy_add(&bcm47xx_fixed_phy_status);
+ bcm47xx_register_gpio_watchdog();
return 0;
}
+ bcm47xx_register_gpio_watchdog();
return 0;
}
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
-@@ -1803,6 +1803,15 @@ config WDT_MTX1
+@@ -1858,6 +1858,15 @@ config WDT_MTX1
Hardware driver for the MTX-1 boards. This is a watchdog timer that
will reboot the machine after a 100 seconds timer expired.
Hardware driver for the MTX-1 boards. This is a watchdog timer that
will reboot the machine after a 100 seconds timer expired.
depends on CPU_SB1
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
depends on CPU_SB1
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
-@@ -169,6 +169,7 @@ obj-$(CONFIG_RC32434_WDT) += rc32434_wdt
+@@ -173,6 +173,7 @@ obj-$(CONFIG_RC32434_WDT) += rc32434_wdt
obj-$(CONFIG_INDYDOG) += indydog.o
obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
obj-$(CONFIG_INDYDOG) += indydog.o
obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
+
+static struct platform_driver gpio_wdt_driver = {
+ .probe = gpio_wdt_probe,
+
+static struct platform_driver gpio_wdt_driver = {
+ .probe = gpio_wdt_probe,
-+ .remove_new = gpio_wdt_remove,
++ .remove = gpio_wdt_remove,
+ .driver.name = "gpio-wdt",
+};
+
+ .driver.name = "gpio-wdt",
+};
+
--- a/drivers/pcmcia/yenta_socket.c
+++ b/drivers/pcmcia/yenta_socket.c
--- a/drivers/pcmcia/yenta_socket.c
+++ b/drivers/pcmcia/yenta_socket.c
-@@ -925,6 +925,8 @@ static struct cardbus_type cardbus_type[
+@@ -926,6 +926,8 @@ static struct cardbus_type cardbus_type[
static unsigned int yenta_probe_irq(struct yenta_socket *socket, u32 isa_irq_mask)
{
static unsigned int yenta_probe_irq(struct yenta_socket *socket, u32 isa_irq_mask)
{
int i;
unsigned long val;
u32 mask;
int i;
unsigned long val;
u32 mask;
-@@ -953,6 +955,9 @@ static unsigned int yenta_probe_irq(stru
+@@ -954,6 +956,9 @@ static unsigned int yenta_probe_irq(stru
mask = probe_irq_mask(val) & 0xffff;
return mask;
mask = probe_irq_mask(val) & 0xffff;
return mask;
-@@ -1033,6 +1038,10 @@ static void yenta_get_socket_capabilitie
+@@ -1034,6 +1039,10 @@ static void yenta_get_socket_capabilitie
else
socket->socket.irq_mask = 0;
else
socket->socket.irq_mask = 0;
dev_info(&socket->dev->dev, "ISA IRQ mask 0x%04x, PCI irq %d\n",
socket->socket.irq_mask, socket->cb_irq);
}
dev_info(&socket->dev->dev, "ISA IRQ mask 0x%04x, PCI irq %d\n",
socket->socket.irq_mask, socket->cb_irq);
}
-@@ -1264,6 +1273,15 @@ static int yenta_probe(struct pci_dev *d
+@@ -1265,6 +1274,15 @@ static int yenta_probe(struct pci_dev *d
dev_info(&dev->dev, "Socket status: %08x\n",
cb_readl(socket, CB_SOCKET_STATE));
dev_info(&dev->dev, "Socket status: %08x\n",
cb_readl(socket, CB_SOCKET_STATE));