2010/2/21 Florian Fainelli <[email protected]>: > Hi Bernhard, > > Le jeudi 18 février 2010 12:54:28, Bernhard Loos a écrit : >> Hello >> This patch adds an pci driver for the rdc southbridge, where the gpio >> and wdt config registers are located. >> The custom reboot function is needed, beacuse the wdt works by >> creating a nmi interrupt, and the normal reboot fixups don't work in >> irq context. > > So we still need the reboot fixup if I understand correctly?
No, only the code in reboot.c. Which I forgot to add to svn ... I attached a new patch including it. > >> The code in platfrom.c is rather messed up at the moment, I plan to >> clean this up later. > > Yes, we will need to clean that up. > >> There are also some kernel patches missing, one that removes the >> original wdt driver, and something that removes the rdc reboot fixup >> and removes the dependencie of rdc from the x86 reboot fixups in the >> Kconfig file, but the patch should work just fine without those. > > I have tested your patch but the watchdog driver did not trigger a reboot on > my AR525W. Do you have a patch to get watchdog working yet? With the reboot.c file, it should work. > -- > Best regards, Florian Fainelli > Email: [email protected] > Web: http://openwrt.org > IRC: [florian] on irc.freenode.net > ------------------------------- _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
